Home
last modified time | relevance | path

Searched full:duplex (Results 1 – 25 of 210) sorted by relevance

123456789

/openbmc/u-boot/drivers/net/phy/
H A Dlxt.c14 #define MIIM_LXT971_SR2_10HDX 0x0000 /* 10 Mbit half duplex selected */
15 #define MIIM_LXT971_SR2_10FDX 0x0200 /* 10 Mbit full duplex selected */
16 #define MIIM_LXT971_SR2_100HDX 0x4000 /* 100 Mbit half duplex selected */
17 #define MIIM_LXT971_SR2_100FDX 0x4200 /* 100 Mbit full duplex selected */
32 phydev->duplex = DUPLEX_HALF; in lxt971_parse_status()
36 phydev->duplex = DUPLEX_FULL; in lxt971_parse_status()
40 phydev->duplex = DUPLEX_HALF; in lxt971_parse_status()
44 phydev->duplex = DUPLEX_FULL; in lxt971_parse_status()
H A Dxilinx_phy.c51 phydev->duplex = DUPLEX_FULL; in xilinxphy_startup()
53 phydev->duplex = DUPLEX_HALF; in xilinxphy_startup()
75 phydev->duplex = DUPLEX_FULL; in xilinxphy_startup()
77 phydev->duplex = DUPLEX_HALF; in xilinxphy_startup()
88 * For 1000BASE-X Phy Mode the speed/duplex will always be in xilinxphy_startup()
92 phydev->duplex = DUPLEX_FULL; in xilinxphy_startup()
H A Dfixed.c38 priv->duplex = fdtdec_get_bool(gd->fdt_blob, ofnode, "full-duplex"); in fixedphy_probe()
54 phydev->duplex = priv->duplex; in fixedphy_startup()
H A Dnatsemi.c87 phydev->duplex = DUPLEX_FULL; in dp83865_parse_status()
89 phydev->duplex = DUPLEX_HALF; in dp83865_parse_status()
130 phydev->duplex = DUPLEX_FULL; in dp83848_parse_status()
132 phydev->duplex = DUPLEX_HALF; in dp83848_parse_status()
H A Dbroadcom.c102 phydev->duplex = DUPLEX_HALF; in bcm54xx_parse_status()
106 phydev->duplex = DUPLEX_FULL; in bcm54xx_parse_status()
110 phydev->duplex = DUPLEX_HALF; in bcm54xx_parse_status()
114 phydev->duplex = DUPLEX_FULL; in bcm54xx_parse_status()
118 phydev->duplex = DUPLEX_HALF; in bcm54xx_parse_status()
122 phydev->duplex = DUPLEX_FULL; in bcm54xx_parse_status()
127 phydev->duplex = DUPLEX_HALF; in bcm54xx_parse_status()
288 * Determine SerDes link speed and duplex from Expansion reg 0x42 "Operating
326 phydev->duplex = (val & 0x1000) == 0x1000; in bcm5482_parse_serdes_sr()
H A Ddavicom.c54 phydev->duplex = DUPLEX_FULL; in dm9161_parse_status()
56 phydev->duplex = DUPLEX_HALF; in dm9161_parse_status()
H A Dphy.c118 * genphy_setup_forced - configures/forces speed/duplex from @phydev
121 * Description: Configures MII_BMCR to force speed/duplex
137 if (phydev->duplex == DUPLEX_FULL) in genphy_setup_forced()
281 * Generic function which updates the speed and duplex. If
319 phydev->duplex = DUPLEX_HALF; in genphy_parse_link()
326 phydev->duplex = DUPLEX_FULL; in genphy_parse_link()
339 phydev->duplex = DUPLEX_FULL; in genphy_parse_link()
342 phydev->duplex = DUPLEX_FULL; in genphy_parse_link()
361 phydev->duplex = DUPLEX_FULL; in genphy_parse_link()
368 phydev->duplex = DUPLEX_HALF; in genphy_parse_link()
[all …]
H A Det1011c.c49 phydev->duplex = DUPLEX_FULL; in et1011c_parse_status()
51 phydev->duplex = DUPLEX_HALF; in et1011c_parse_status()
H A Dsmsc.c28 phydev->duplex = DUPLEX_FULL; in smsc_parse_status()
30 phydev->duplex = DUPLEX_HALF; in smsc_parse_status()
/openbmc/u-boot/include/linux/
H A Dmii.h41 #define BMCR_FULLDPLX 0x0100 /* Full duplex */
62 #define BMSR_10HALF 0x0800 /* Can do 10mbps, half-duplex */
63 #define BMSR_10FULL 0x1000 /* Can do 10mbps, full-duplex */
64 #define BMSR_100HALF 0x2000 /* Can do 100mbps, half-duplex */
65 #define BMSR_100FULL 0x4000 /* Can do 100mbps, full-duplex */
71 #define ADVERTISE_10HALF 0x0020 /* Try for 10mbps half-duplex */
72 #define ADVERTISE_1000XFULL 0x0020 /* Try for 1000BASE-X full-duplex */
73 #define ADVERTISE_10FULL 0x0040 /* Try for 10mbps full-duplex */
74 #define ADVERTISE_1000XHALF 0x0040 /* Try for 1000BASE-X half-duplex */
75 #define ADVERTISE_100HALF 0x0080 /* Try for 100mbps half-duplex */
[all …]
/openbmc/qemu/include/hw/net/
H A Dmii.h54 #define MII_BMCR_FD (1 << 8) /* Set duplex mode */
59 #define MII_BMSR_100TX_FD (1 << 14) /* Can do 100mbps, full-duplex */
60 #define MII_BMSR_100TX_HD (1 << 13) /* Can do 100mbps, half-duplex */
61 #define MII_BMSR_10T_FD (1 << 12) /* Can do 10mbps, full-duplex */
62 #define MII_BMSR_10T_HD (1 << 11) /* Can do 10mbps, half-duplex */
63 #define MII_BMSR_100T2_FD (1 << 10) /* Can do 100mbps T2, full-duplex */
64 #define MII_BMSR_100T2_HD (1 << 9) /* Can do 100mbps T2, half-duplex */
101 #define MII_CTRL1000_FULL (1 << 9) /* 1000BASE-T full duplex */
102 #define MII_CTRL1000_HALF (1 << 8) /* 1000BASE-T half duplex */
106 #define MII_STAT1000_FULL (1 << 11) /* 1000BASE-T full duplex */
[all …]
/openbmc/qemu/hw/net/rocker/
H A Drocker_fp.c24 enum duplex { enum
37 uint8_t duplex; member
62 value->duplex = port->duplex; in fp_port_get_info()
90 uint8_t *duplex, uint8_t *autoneg) in fp_port_get_settings() argument
93 *duplex = port->duplex; in fp_port_get_settings()
100 uint8_t duplex, uint8_t autoneg) in fp_port_set_settings() argument
105 port->duplex = duplex; in fp_port_set_settings()
265 port->duplex = DUPLEX_FULL; in fp_port_reset()
H A Drocker_fp.h37 uint8_t *duplex, uint8_t *autoneg);
39 uint8_t duplex, uint8_t autoneg);
/openbmc/u-boot/doc/device-tree-bindings/net/
H A Dfixed-link.txt14 * 'full-duplex' (boolean, optional), to indicate that full duplex is
15 used. When absent, half duplex is assumed.
27 full-duplex;
/openbmc/u-boot/drivers/qe/
H A Duec_phy.c55 * speed and duplex should be for the port.
66 * #define CONFIG_SYS_FIXED_PHY_PORT(name,speed,duplex) \
67 * {name, speed, duplex},
85 unsigned int duplex; /* specified duplex FULL or HALF */ member
351 duplex match, skip auto neg as it already matches */ in genmii_config_aneg()
353 if (mii_info->duplex == DUPLEX_FULL && in genmii_config_aneg()
424 mii_info->duplex = DUPLEX_FULL; in genmii_read_status()
426 mii_info->duplex = DUPLEX_HALF; in genmii_read_status()
431 mii_info->duplex = DUPLEX_FULL; in genmii_read_status()
433 mii_info->duplex = DUPLEX_HALF; in genmii_read_status()
[all …]
H A Duec_phy.h124 /* Duplex, half or full. */
165 /* forced speed & duplex (no autoneg)
166 * partner speed & duplex & pause (autoneg)
169 int duplex; member
219 /* Determines the negotiated speed and duplex */
/openbmc/u-boot/cmd/
H A Dmii.c44 { 8, 8, 0x01, "duplex" }, /* special */
51 { 14, 14, 0x01, "100BASE-X full duplex able" },
52 { 13, 13, 0x01, "100BASE-X half duplex able" },
53 { 12, 12, 0x01, "10 Mbps full duplex able" },
54 { 11, 11, 0x01, "10 Mbps half duplex able" },
55 { 10, 10, 0x01, "100BASE-T2 full duplex able" },
56 { 9, 9, 0x01, "100BASE-T2 half duplex able" },
86 { 8, 8, 0x01, "100BASE-TX full duplex able" },
88 { 6, 6, 0x01, "10BASE-T full duplex able" },
101 { 8, 8, 0x01, "100BASE-X full duplex able" },
[all …]
/openbmc/qemu/qapi/
H A Drocker.json47 # An enumeration of port duplex states.
49 # @half: half duplex
51 # @full: full duplex
83 # @duplex: port link duplex
91 'speed': 'uint32', 'duplex': 'RockerPortDuplex',
106 # <- { "return": [ {"duplex": "full", "enabled": true, "name": "sw1.1", string
108 # {"duplex": "full", "enabled": true, "name": "sw1.2",
/openbmc/u-boot/arch/arm/dts/
H A Dkirkwood-atl-sbx81lifkw.dts55 full-duplex;
64 full-duplex;
123 duplex = <1>;
H A Dkirkwood-atl-sbx81lifxcat.dts55 full-duplex;
64 full-duplex;
143 duplex = <1>;
/openbmc/u-boot/drivers/net/
H A Dat91_emac.c221 int media, speed, duplex; in at91emac_phy_init() local
262 duplex = (media & ADVERTISE_FULL) ? 1 : 0; in at91emac_phy_init()
263 debug_cond(VERBOSEP, "%s: link up, %sMbps %s-duplex\n", in at91emac_phy_init()
266 duplex ? "full" : "half"); in at91emac_phy_init()
281 /*set Emac for 100BaseTX and Full Duplex */ in at91emac_UpdateLinkSpeed()
289 /*set MII for 10BaseT and Full Duplex */ in at91emac_UpdateLinkSpeed()
298 /*set MII for 100BaseTX and Half Duplex */ in at91emac_UpdateLinkSpeed()
307 /*set MII for 10BaseT and Half Duplex */ in at91emac_UpdateLinkSpeed()
H A Dbcm6368-eth.c221 int val, j, up, adv, lpa, speed, duplex, media; in bcm6368_eth_adjust_link() local
264 /* figure out media and duplex from advertise and LPA values */ in bcm6368_eth_adjust_link()
266 duplex = (media & ADVERTISE_FULL) ? 1 : 0; in bcm6368_eth_adjust_link()
283 duplex = (lpa & LPA_1000FULL); in bcm6368_eth_adjust_link()
287 pr_alert("link UP on %s, %dMbps, %s-duplex\n", in bcm6368_eth_adjust_link()
288 port->name, speed, duplex ? "full" : "half"); in bcm6368_eth_adjust_link()
297 if (duplex) in bcm6368_eth_adjust_link()
611 if (ofnode_read_bool(node, "full-duplex")) in bcm6368_eth_probe()
/openbmc/u-boot/arch/mips/dts/
H A Dsfr,nb4-ser.dts64 full-duplex;
76 full-duplex;
/openbmc/u-boot/include/
H A Dphy.h122 /* forced speed & duplex (no autoneg)
123 * partner speed & duplex & pause (autoneg)
126 int duplex; member
148 int duplex; member
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_net.h61 /* Device set linkspeed and duplex */
91 * 0x00 - half duplex
92 * 0x01 - full duplex
95 __u8 duplex; member

123456789