duplex 242 arch/arm/mach-mv78xx0/common.c eth_data->duplex = DUPLEX_FULL; duplex 264 arch/arm/mach-mv78xx0/common.c eth_data->duplex = DUPLEX_FULL; duplex 92 arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c .duplex = DUPLEX_FULL, duplex 93 arch/arm/mach-orion5x/rd88f5181l-ge-setup.c .duplex = DUPLEX_FULL, duplex 31 arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c .duplex = DUPLEX_FULL, duplex 97 arch/arm/mach-orion5x/wnr854t-setup.c .duplex = DUPLEX_FULL, duplex 182 arch/arm/mach-orion5x/wrt350n-v2-setup.c .duplex = DUPLEX_FULL, duplex 122 arch/m68k/coldfire/m5272.c .duplex = 0, duplex 242 arch/mips/ar7/platform.c .duplex = 1, duplex 254 arch/mips/bcm47xx/setup.c .duplex = DUPLEX_FULL, duplex 245 arch/mips/cavium-octeon/executive/cvmx-helper-board.c result.s.full_duplex = inband_status.s.duplex; duplex 106 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c gmx_cfg.s.duplex = 1; duplex 365 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c new_gmx_cfg.s.duplex = 1; duplex 368 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c new_gmx_cfg.s.duplex = 1; duplex 370 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c new_gmx_cfg.s.duplex = link_info.s.full_duplex; duplex 247 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c gmxx_prtx_cfg.s.duplex = link_info.s.full_duplex; duplex 159 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c result.s.full_duplex = inband.s.duplex; duplex 304 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t duplex:1; duplex 310 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t duplex:1; duplex 329 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t duplex:1; duplex 335 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t duplex:1; duplex 831 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t duplex:1; duplex 837 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t duplex:1; duplex 508 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t duplex:1; duplex 514 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t duplex:1; duplex 530 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t duplex:1; duplex 536 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t duplex:1; duplex 550 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t duplex:1; duplex 556 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t duplex:1; duplex 1588 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t duplex:1; duplex 1594 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h uint64_t duplex:1; duplex 186 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 205 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 359 drivers/net/bonding/bond_3ad.c switch (slave->duplex) { duplex 2448 drivers/net/bonding/bond_3ad.c u8 duplex = 0; duplex 2456 drivers/net/bonding/bond_3ad.c duplex = __get_duplex(port); duplex 2457 drivers/net/bonding/bond_3ad.c port->actor_admin_port_key |= (speed << 1) | duplex; duplex 2463 drivers/net/bonding/bond_3ad.c if (duplex) duplex 2474 drivers/net/bonding/bond_3ad.c } else if (duplex && ospeed != speed) { duplex 378 drivers/net/bonding/bond_main.c slave->duplex = DUPLEX_UNKNOWN; duplex 385 drivers/net/bonding/bond_main.c switch (ecmd.base.duplex) { duplex 394 drivers/net/bonding/bond_main.c slave->duplex = ecmd.base.duplex; duplex 748 drivers/net/bonding/bond_main.c if (prim->speed == curr->speed && prim->duplex <= curr->duplex) duplex 2232 drivers/net/bonding/bond_main.c slave->duplex ? "full" : "half"); duplex 4257 drivers/net/bonding/bond_main.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 4269 drivers/net/bonding/bond_main.c if (cmd->base.duplex == DUPLEX_UNKNOWN && duplex 4270 drivers/net/bonding/bond_main.c slave->duplex != DUPLEX_UNKNOWN) duplex 4271 drivers/net/bonding/bond_main.c cmd->base.duplex = slave->duplex; duplex 181 drivers/net/bonding/bond_procfs.c if (slave->duplex == DUPLEX_UNKNOWN) duplex 184 drivers/net/bonding/bond_procfs.c seq_printf(seq, "Duplex: %s\n", slave->duplex ? "full" : "half"); duplex 1017 drivers/net/dsa/b53/b53_common.c int speed, int duplex, int pause) duplex 1032 drivers/net/dsa/b53/b53_common.c if (duplex == DUPLEX_FULL) duplex 1084 drivers/net/dsa/b53/b53_common.c b53_force_port_config(dev, port, phydev->speed, phydev->duplex, pause); duplex 1236 drivers/net/dsa/b53/b53_common.c state->duplex, state->pause); duplex 129 drivers/net/dsa/b53/b53_serdes.c state->duplex = dig & DUPLEX_STATUS ? DUPLEX_FULL : DUPLEX_HALF; duplex 602 drivers/net/dsa/bcm_sf2.c if (state->duplex == DUPLEX_FULL) duplex 673 drivers/net/dsa/bcm_sf2.c status->duplex = DUPLEX_FULL; duplex 337 drivers/net/dsa/dsa_loop.c .duplex = DUPLEX_FULL, duplex 1060 drivers/net/dsa/lan9303-core.c if (phydev->duplex == DUPLEX_FULL) duplex 975 drivers/net/dsa/microchip/ksz8795.c p->phydev.duplex = 1; duplex 1267 drivers/net/dsa/microchip/ksz9477.c p->phydev.duplex = 1; duplex 1380 drivers/net/dsa/mt7530.c if (state->duplex == DUPLEX_FULL) { duplex 1487 drivers/net/dsa/mt7530.c state->duplex = !!(pmsr & PMSR_DPX); duplex 398 drivers/net/dsa/mv88e6xxx/chip.c int speed, int duplex, int pause, duplex 420 drivers/net/dsa/mv88e6xxx/chip.c state.duplex == duplex && duplex 446 drivers/net/dsa/mv88e6xxx/chip.c err = chip->info->ops->port_set_duplex(chip, port, duplex); duplex 603 drivers/net/dsa/mv88e6xxx/chip.c int speed, duplex, link, pause, err; duplex 611 drivers/net/dsa/mv88e6xxx/chip.c duplex = state->duplex; duplex 615 drivers/net/dsa/mv88e6xxx/chip.c duplex = state->duplex; duplex 618 drivers/net/dsa/mv88e6xxx/chip.c duplex = DUPLEX_UNFORCED; duplex 624 drivers/net/dsa/mv88e6xxx/chip.c err = mv88e6xxx_port_setup_mac(chip, port, link, speed, duplex, pause, duplex 639 drivers/net/dsa/mv88e6xxx/chip.h int speed, int duplex, int pause, duplex 603 drivers/net/dsa/mv88e6xxx/port.c state->duplex = DUPLEX_HALF; duplex 607 drivers/net/dsa/mv88e6xxx/port.c state->duplex = DUPLEX_HALF; duplex 611 drivers/net/dsa/mv88e6xxx/port.c state->duplex = DUPLEX_FULL; duplex 615 drivers/net/dsa/mv88e6xxx/port.c state->duplex = DUPLEX_FULL; duplex 619 drivers/net/dsa/mv88e6xxx/port.c state->duplex = DUPLEX_UNKNOWN; duplex 626 drivers/net/dsa/mv88e6xxx/port.c state->duplex = DUPLEX_HALF; duplex 630 drivers/net/dsa/mv88e6xxx/port.c state->duplex = DUPLEX_HALF; duplex 634 drivers/net/dsa/mv88e6xxx/port.c state->duplex = DUPLEX_FULL; duplex 638 drivers/net/dsa/mv88e6xxx/port.c state->duplex = DUPLEX_FULL; duplex 642 drivers/net/dsa/mv88e6xxx/port.c state->duplex = DUPLEX_UNKNOWN; duplex 721 drivers/net/dsa/mv88e6xxx/port.c state->duplex = reg & MV88E6XXX_PORT_STS_DUPLEX ? duplex 754 drivers/net/dsa/mv88e6xxx/port.c state->duplex = duplex 431 drivers/net/dsa/mv88e6xxx/serdes.c int duplex = DUPLEX_UNKNOWN; duplex 448 drivers/net/dsa/mv88e6xxx/serdes.c duplex = status & MV88E6390_SGMII_PHY_STATUS_DUPLEX_FULL ? duplex 484 drivers/net/dsa/mv88e6xxx/serdes.c err = mv88e6xxx_port_setup_mac(chip, port, link, speed, duplex, duplex 772 drivers/net/dsa/qca8k.c if (phy->duplex == DUPLEX_FULL) duplex 852 drivers/net/dsa/vitesse-vsc73xx-core.c if (phydev->duplex == DUPLEX_FULL) { duplex 865 drivers/net/dsa/vitesse-vsc73xx-core.c if (phydev->duplex == DUPLEX_FULL) { duplex 1065 drivers/net/ethernet/3com/3c509.c cmd->base.duplex = DUPLEX_HALF; duplex 1078 drivers/net/ethernet/3com/3c509.c cmd->base.duplex = DUPLEX_FULL; duplex 1096 drivers/net/ethernet/3com/3c509.c if ((cmd->base.duplex != DUPLEX_HALF) && duplex 1097 drivers/net/ethernet/3com/3c509.c (cmd->base.duplex != DUPLEX_FULL)) duplex 1133 drivers/net/ethernet/3com/3c509.c if (cmd->base.duplex == DUPLEX_FULL) duplex 271 drivers/net/ethernet/3com/typhoon.c u8 duplex; duplex 943 drivers/net/ethernet/3com/typhoon.c tp->duplex = (s->linkStatus & TYPHOON_LINK_FULL_DUPLEX) ? duplex 1044 drivers/net/ethernet/3com/typhoon.c cmd->base.duplex = tp->duplex; duplex 1073 drivers/net/ethernet/3com/typhoon.c if (cmd->base.duplex == DUPLEX_HALF) { duplex 1080 drivers/net/ethernet/3com/typhoon.c } else if (cmd->base.duplex == DUPLEX_FULL) { duplex 1100 drivers/net/ethernet/3com/typhoon.c tp->duplex = 0xff; /* invalid */ duplex 1103 drivers/net/ethernet/3com/typhoon.c tp->duplex = cmd->base.duplex; duplex 86 drivers/net/ethernet/8390/ax88796.c int duplex; duplex 336 drivers/net/ethernet/8390/ax88796.c (ax->duplex != phy_dev->duplex))) { duplex 339 drivers/net/ethernet/8390/ax88796.c ax->duplex = phy_dev->duplex; duplex 346 drivers/net/ethernet/8390/ax88796.c ax->duplex = -1; duplex 570 drivers/net/ethernet/8390/etherh.c cmd->base.duplex = DUPLEX_HALF; duplex 1212 drivers/net/ethernet/aeroflex/greth.c if ((greth->speed != phydev->speed) || (greth->duplex != phydev->duplex)) { duplex 1216 drivers/net/ethernet/aeroflex/greth.c if (phydev->duplex) duplex 1226 drivers/net/ethernet/aeroflex/greth.c greth->duplex = phydev->duplex; duplex 1234 drivers/net/ethernet/aeroflex/greth.c greth->duplex = -1; duplex 1247 drivers/net/ethernet/aeroflex/greth.c DUPLEX_FULL == phydev->duplex ? "Full" : "Half"); duplex 1285 drivers/net/ethernet/aeroflex/greth.c greth->duplex = -1; duplex 130 drivers/net/ethernet/aeroflex/greth.h unsigned int duplex; duplex 908 drivers/net/ethernet/agere/et131x.c if (phydev->duplex == DUPLEX_FULL) duplex 912 drivers/net/ethernet/agere/et131x.c if (phydev->duplex == DUPLEX_HALF) duplex 1317 drivers/net/ethernet/agere/et131x.c if (phydev->duplex == DUPLEX_HALF) { duplex 554 drivers/net/ethernet/alacritech/slic.h unsigned int duplex; duplex 230 drivers/net/ethernet/alacritech/slicoss.c if (sdev->duplex == DUPLEX_FULL) duplex 246 drivers/net/ethernet/alacritech/slicoss.c if (sdev->duplex == DUPLEX_FULL) duplex 268 drivers/net/ethernet/alacritech/slicoss.c if (sdev->duplex == DUPLEX_FULL) duplex 275 drivers/net/ethernet/alacritech/slicoss.c unsigned int duplex) duplex 279 drivers/net/ethernet/alacritech/slicoss.c if (sdev->speed == speed && sdev->duplex == duplex) duplex 283 drivers/net/ethernet/alacritech/slicoss.c sdev->duplex = duplex; duplex 301 drivers/net/ethernet/alacritech/slicoss.c unsigned int duplex) duplex 304 drivers/net/ethernet/alacritech/slicoss.c slic_configure_link_locked(sdev, speed, duplex); duplex 630 drivers/net/ethernet/alacritech/slicoss.c unsigned int duplex; duplex 644 drivers/net/ethernet/alacritech/slicoss.c duplex = (link & SLIC_GIG_FULLDUPLEX) ? DUPLEX_FULL : duplex 647 drivers/net/ethernet/alacritech/slicoss.c duplex = DUPLEX_UNKNOWN; duplex 650 drivers/net/ethernet/alacritech/slicoss.c slic_configure_link(sdev, speed, duplex); duplex 1314 drivers/net/ethernet/alacritech/slicoss.c sdev->duplex = DUPLEX_UNKNOWN; duplex 88 drivers/net/ethernet/allwinner/sun4i-emac.c unsigned int duplex; duplex 114 drivers/net/ethernet/allwinner/sun4i-emac.c if (db->duplex) duplex 135 drivers/net/ethernet/allwinner/sun4i-emac.c if (db->duplex != phydev->duplex) { duplex 137 drivers/net/ethernet/allwinner/sun4i-emac.c db->duplex = phydev->duplex; duplex 147 drivers/net/ethernet/allwinner/sun4i-emac.c db->duplex = -1; duplex 179 drivers/net/ethernet/allwinner/sun4i-emac.c db->duplex = -1; duplex 2608 drivers/net/ethernet/alteon/acenic.c cmd->base.duplex = DUPLEX_FULL; duplex 2610 drivers/net/ethernet/alteon/acenic.c cmd->base.duplex = DUPLEX_HALF; duplex 2674 drivers/net/ethernet/alteon/acenic.c if (cmd->base.duplex == DUPLEX_FULL) duplex 637 drivers/net/ethernet/altera/altera_tse_main.c if (phydev->duplex != priv->oldduplex) { duplex 639 drivers/net/ethernet/altera/altera_tse_main.c if (!(phydev->duplex)) duplex 645 drivers/net/ethernet/altera/altera_tse_main.c dev->name, phydev->duplex); duplex 647 drivers/net/ethernet/altera/altera_tse_main.c priv->oldduplex = phydev->duplex; duplex 298 drivers/net/ethernet/amazon/ena/ena_ethtool.c link_ksettings->base.duplex = DUPLEX_FULL; duplex 803 drivers/net/ethernet/amd/amd8111e.c lp->link_config.duplex = DUPLEX_FULL; duplex 805 drivers/net/ethernet/amd/amd8111e.c lp->link_config.duplex = DUPLEX_HALF; duplex 815 drivers/net/ethernet/amd/amd8111e.c (lp->link_config.duplex == DUPLEX_FULL) ? duplex 822 drivers/net/ethernet/amd/amd8111e.c lp->link_config.duplex = DUPLEX_INVALID; duplex 1664 drivers/net/ethernet/amd/amd8111e.c if(lp->link_config.duplex == DUPLEX_FULL){ duplex 680 drivers/net/ethernet/amd/amd8111e.h u8 duplex; duplex 426 drivers/net/ethernet/amd/au1000_eth.c if (phydev->link && (aup->old_duplex != phydev->duplex)) { duplex 433 drivers/net/ethernet/amd/au1000_eth.c if (DUPLEX_FULL == phydev->duplex) { duplex 445 drivers/net/ethernet/amd/au1000_eth.c aup->old_duplex = phydev->duplex; duplex 469 drivers/net/ethernet/amd/au1000_eth.c DUPLEX_FULL == phydev->duplex ? "Full" : "Half"); duplex 731 drivers/net/ethernet/amd/au1000_eth.c if (dev->phydev->link && (DUPLEX_FULL == dev->phydev->duplex)) duplex 846 drivers/net/ethernet/amd/au1000_eth.c if (!dev->phydev || (DUPLEX_FULL == dev->phydev->duplex)) { duplex 749 drivers/net/ethernet/amd/pcnet32.c cmd->base.duplex = lp->fdx ? DUPLEX_FULL : DUPLEX_HALF; duplex 790 drivers/net/ethernet/amd/pcnet32.c lp->fdx = cmd->base.duplex == DUPLEX_FULL; duplex 792 drivers/net/ethernet/amd/pcnet32.c if (cmd->base.duplex == DUPLEX_FULL) duplex 2223 drivers/net/ethernet/amd/pcnet32.c ecmd.duplex = DUPLEX_FULL; duplex 2226 drivers/net/ethernet/amd/pcnet32.c ecmd.duplex = DUPLEX_HALF; duplex 2885 drivers/net/ethernet/amd/pcnet32.c (ecmd.duplex == DUPLEX_FULL) duplex 319 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c cmd->base.duplex = pdata->phy.duplex; duplex 360 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c if (cmd->base.duplex != DUPLEX_FULL) { duplex 362 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c cmd->base.duplex); duplex 386 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c pdata->phy.duplex = cmd->base.duplex; duplex 1098 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c pdata->phy.duplex == DUPLEX_FULL ? "Full" : "Half", duplex 1175 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c if (pdata->phy.duplex != DUPLEX_FULL) duplex 1324 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c pdata->phy.duplex = DUPLEX_FULL; duplex 1581 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c pdata->phy.duplex = DUPLEX_UNKNOWN; duplex 1585 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c pdata->phy.duplex = DUPLEX_FULL; duplex 732 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c pdata->phy.duplex = DUPLEX_UNKNOWN; duplex 753 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c pdata->phy.duplex = DUPLEX_UNKNOWN; duplex 775 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c pdata->phy.duplex = DUPLEX_FULL; duplex 802 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c pdata->phy.duplex = DUPLEX_UNKNOWN; duplex 1844 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c phy_data->phydev->duplex = pdata->phy.duplex; duplex 621 drivers/net/ethernet/amd/xgbe/xgbe.h int duplex; duplex 145 drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 158 drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 766 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c if (!phydev->duplex || !pdata->pause_autoneg) duplex 786 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cmd->base.duplex = DUPLEX_FULL; duplex 160 drivers/net/ethernet/arc/emac.h unsigned int duplex; duplex 64 drivers/net/ethernet/arc/emac_main.c if (priv->duplex != phy_dev->duplex) { duplex 67 drivers/net/ethernet/arc/emac_main.c if (phy_dev->duplex == DUPLEX_FULL) duplex 73 drivers/net/ethernet/arc/emac_main.c priv->duplex = phy_dev->duplex; duplex 431 drivers/net/ethernet/arc/emac_main.c phy_dev->duplex = 0; duplex 865 drivers/net/ethernet/atheros/ag71xx.c cfg2 |= (phydev->duplex) ? MAC_CFG2_FDX : 0; duplex 167 drivers/net/ethernet/atheros/alx/ethtool.c cmd->base.duplex = hw->duplex; duplex 196 drivers/net/ethernet/atheros/alx/ethtool.c cmd->base.duplex); duplex 617 drivers/net/ethernet/atheros/alx/hw.c if (hw->duplex == DUPLEX_FULL) duplex 881 drivers/net/ethernet/atheros/alx/hw.c hw->duplex = DUPLEX_UNKNOWN; duplex 907 drivers/net/ethernet/atheros/alx/hw.c hw->duplex = (giga & ALX_GIGA_PSSR_DPLX) ? DUPLEX_FULL : DUPLEX_HALF; duplex 484 drivers/net/ethernet/atheros/alx/hw.h u8 duplex; duplex 569 drivers/net/ethernet/atheros/alx/hw.h static inline u32 alx_speed_to_ethadv(int speed, u8 duplex) duplex 571 drivers/net/ethernet/atheros/alx/hw.h if (speed == SPEED_1000 && duplex == DUPLEX_FULL) duplex 573 drivers/net/ethernet/atheros/alx/hw.h if (speed == SPEED_100 && duplex == DUPLEX_FULL) duplex 575 drivers/net/ethernet/atheros/alx/hw.h if (speed == SPEED_100 && duplex== DUPLEX_HALF) duplex 577 drivers/net/ethernet/atheros/alx/hw.h if (speed == SPEED_10 && duplex == DUPLEX_FULL) duplex 579 drivers/net/ethernet/atheros/alx/hw.h if (speed == SPEED_10 && duplex == DUPLEX_HALF) duplex 1077 drivers/net/ethernet/atheros/alx/main.c hw->duplex = DUPLEX_UNKNOWN; duplex 1127 drivers/net/ethernet/atheros/alx/main.c hw->duplex = DUPLEX_UNKNOWN; duplex 1260 drivers/net/ethernet/atheros/alx/main.c switch (alx_speed_to_ethadv(hw->link_speed, hw->duplex)) { duplex 41 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 43 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c cmd->base.duplex = DUPLEX_HALF; duplex 46 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 74 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c if (cmd->base.duplex != DUPLEX_FULL) { duplex 83 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c if (cmd->base.duplex == DUPLEX_FULL) duplex 88 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c if (cmd->base.duplex == DUPLEX_FULL) duplex 646 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c int atl1c_get_speed_and_duplex(struct atl1c_hw *hw, u16 *speed, u16 *duplex) duplex 674 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c *duplex = FULL_DUPLEX; duplex 676 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c *duplex = HALF_DUPLEX; duplex 692 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c u16 duplex = FULL_DUPLEX; duplex 724 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c &duplex) != 0) duplex 733 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c duplex = HALF_DUPLEX; duplex 736 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c adapter->link_duplex = duplex; duplex 29 drivers/net/ethernet/atheros/atl1c/atl1c_hw.h int atl1c_get_speed_and_duplex(struct atl1c_hw *hw, u16 *speed, u16 *duplex); duplex 239 drivers/net/ethernet/atheros/atl1c/atl1c_main.c u16 speed, duplex, phy_data; duplex 262 drivers/net/ethernet/atheros/atl1c/atl1c_main.c err = atl1c_get_speed_and_duplex(hw, &speed, &duplex); duplex 268 drivers/net/ethernet/atheros/atl1c/atl1c_main.c adapter->link_duplex != duplex) { duplex 270 drivers/net/ethernet/atheros/atl1c/atl1c_main.c adapter->link_duplex = duplex; duplex 42 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 44 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c cmd->base.duplex = DUPLEX_HALF; duplex 47 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 583 drivers/net/ethernet/atheros/atl1e/atl1e_hw.c int atl1e_get_speed_and_duplex(struct atl1e_hw *hw, u16 *speed, u16 *duplex) duplex 611 drivers/net/ethernet/atheros/atl1e/atl1e_hw.c *duplex = FULL_DUPLEX; duplex 613 drivers/net/ethernet/atheros/atl1e/atl1e_hw.c *duplex = HALF_DUPLEX; duplex 23 drivers/net/ethernet/atheros/atl1e/atl1e_hw.h s32 atl1e_get_speed_and_duplex(struct atl1e_hw *hw, u16 *speed, u16 *duplex); duplex 24 drivers/net/ethernet/atheros/atl1e/atl1e_hw.h u32 atl1e_auto_get_fc(struct atl1e_adapter *adapter, u16 duplex); duplex 156 drivers/net/ethernet/atheros/atl1e/atl1e_main.c u16 speed, duplex, phy_data; duplex 175 drivers/net/ethernet/atheros/atl1e/atl1e_main.c err = atl1e_get_speed_and_duplex(hw, &speed, &duplex); duplex 181 drivers/net/ethernet/atheros/atl1e/atl1e_main.c adapter->link_duplex != duplex) { duplex 183 drivers/net/ethernet/atheros/atl1e/atl1e_main.c adapter->link_duplex = duplex; duplex 867 drivers/net/ethernet/atheros/atlx/atl1.c static s32 atl1_get_speed_and_duplex(struct atl1_hw *hw, u16 *speed, u16 *duplex) duplex 898 drivers/net/ethernet/atheros/atlx/atl1.c *duplex = FULL_DUPLEX; duplex 900 drivers/net/ethernet/atheros/atlx/atl1.c *duplex = HALF_DUPLEX; duplex 1285 drivers/net/ethernet/atheros/atlx/atl1.c u16 speed, duplex, phy_data; duplex 1304 drivers/net/ethernet/atheros/atlx/atl1.c ret_val = atl1_get_speed_and_duplex(hw, &speed, &duplex); duplex 1310 drivers/net/ethernet/atheros/atlx/atl1.c if (speed != SPEED_1000 || duplex != FULL_DUPLEX) duplex 1314 drivers/net/ethernet/atheros/atlx/atl1.c if (speed != SPEED_100 || duplex != FULL_DUPLEX) duplex 1318 drivers/net/ethernet/atheros/atlx/atl1.c if (speed != SPEED_100 || duplex != HALF_DUPLEX) duplex 1322 drivers/net/ethernet/atheros/atlx/atl1.c if (speed != SPEED_10 || duplex != FULL_DUPLEX) duplex 1326 drivers/net/ethernet/atheros/atlx/atl1.c if (speed != SPEED_10 || duplex != HALF_DUPLEX) duplex 1334 drivers/net/ethernet/atheros/atlx/atl1.c adapter->link_duplex != duplex) { duplex 1336 drivers/net/ethernet/atheros/atlx/atl1.c adapter->link_duplex = duplex; duplex 2763 drivers/net/ethernet/atheros/atlx/atl1.c u16 duplex; duplex 2778 drivers/net/ethernet/atheros/atlx/atl1.c val = atl1_get_speed_and_duplex(hw, &speed, &duplex); duplex 2798 drivers/net/ethernet/atheros/atlx/atl1.c if (duplex == FULL_DUPLEX) duplex 3229 drivers/net/ethernet/atheros/atlx/atl1.c cmd->base.duplex = DUPLEX_FULL; duplex 3231 drivers/net/ethernet/atheros/atlx/atl1.c cmd->base.duplex = DUPLEX_HALF; duplex 3234 drivers/net/ethernet/atheros/atlx/atl1.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 3271 drivers/net/ethernet/atheros/atlx/atl1.c if (cmd->base.duplex != DUPLEX_FULL) { duplex 3280 drivers/net/ethernet/atheros/atlx/atl1.c if (cmd->base.duplex == DUPLEX_FULL) duplex 3285 drivers/net/ethernet/atheros/atlx/atl1.c if (cmd->base.duplex == DUPLEX_FULL) duplex 1155 drivers/net/ethernet/atheros/atlx/atl2.c u16 speed, duplex, phy_data; duplex 1176 drivers/net/ethernet/atheros/atlx/atl2.c ret_val = atl2_get_speed_and_duplex(hw, &speed, &duplex); duplex 1181 drivers/net/ethernet/atheros/atlx/atl2.c if (speed != SPEED_100 || duplex != FULL_DUPLEX) duplex 1185 drivers/net/ethernet/atheros/atlx/atl2.c if (speed != SPEED_100 || duplex != HALF_DUPLEX) duplex 1189 drivers/net/ethernet/atheros/atlx/atl2.c if (speed != SPEED_10 || duplex != FULL_DUPLEX) duplex 1193 drivers/net/ethernet/atheros/atlx/atl2.c if (speed != SPEED_10 || duplex != HALF_DUPLEX) duplex 1200 drivers/net/ethernet/atheros/atlx/atl2.c adapter->link_duplex != duplex) { duplex 1202 drivers/net/ethernet/atheros/atlx/atl2.c adapter->link_duplex = duplex; duplex 1498 drivers/net/ethernet/atheros/atlx/atl2.c u16 speed, duplex; duplex 1527 drivers/net/ethernet/atheros/atlx/atl2.c ret_val = atl2_get_speed_and_duplex(hw, &speed, &duplex); duplex 1746 drivers/net/ethernet/atheros/atlx/atl2.c cmd->base.duplex = DUPLEX_FULL; duplex 1748 drivers/net/ethernet/atheros/atlx/atl2.c cmd->base.duplex = DUPLEX_HALF; duplex 1751 drivers/net/ethernet/atheros/atlx/atl2.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 2454 drivers/net/ethernet/atheros/atlx/atl2.c u16 *duplex) duplex 2479 drivers/net/ethernet/atheros/atlx/atl2.c *duplex = FULL_DUPLEX; duplex 2481 drivers/net/ethernet/atheros/atlx/atl2.c *duplex = HALF_DUPLEX; duplex 71 drivers/net/ethernet/atheros/atlx/atl2.h u16 *duplex); duplex 598 drivers/net/ethernet/aurora/nb8800.c if (!priv->duplex) duplex 667 drivers/net/ethernet/aurora/nb8800.c if (phydev->duplex != priv->duplex) { duplex 668 drivers/net/ethernet/aurora/nb8800.c priv->duplex = phydev->duplex; duplex 294 drivers/net/ethernet/aurora/nb8800.h int duplex; duplex 1864 drivers/net/ethernet/broadcom/b44.c cmd->base.duplex = (bp->flags & B44_FLAG_FULL_DUPLEX) ? duplex 1880 drivers/net/ethernet/broadcom/b44.c cmd->base.duplex = 0xff; duplex 1920 drivers/net/ethernet/broadcom/b44.c (cmd->base.duplex != DUPLEX_HALF && duplex 1921 drivers/net/ethernet/broadcom/b44.c cmd->base.duplex != DUPLEX_FULL)) { duplex 1955 drivers/net/ethernet/broadcom/b44.c if (cmd->base.duplex == DUPLEX_FULL) duplex 2230 drivers/net/ethernet/broadcom/b44.c if ((phydev->duplex == DUPLEX_HALF) && duplex 2234 drivers/net/ethernet/broadcom/b44.c } else if ((phydev->duplex == DUPLEX_FULL) && duplex 787 drivers/net/ethernet/broadcom/bcm63xx_enet.c if (phydev->link && phydev->duplex != priv->old_duplex) { duplex 789 drivers/net/ethernet/broadcom/bcm63xx_enet.c (phydev->duplex == DUPLEX_FULL) ? 1 : 0); duplex 791 drivers/net/ethernet/broadcom/bcm63xx_enet.c priv->old_duplex = phydev->duplex; duplex 822 drivers/net/ethernet/broadcom/bcm63xx_enet.c DUPLEX_FULL == phydev->duplex ? "full" : "half", duplex 1440 drivers/net/ethernet/broadcom/bcm63xx_enet.c cmd->base.duplex = (priv->force_duplex_full) ? duplex 1477 drivers/net/ethernet/broadcom/bcm63xx_enet.c (cmd->base.duplex == DUPLEX_FULL) ? 1 : 0; duplex 1988 drivers/net/ethernet/broadcom/bcm63xx_enet.c int val, j, up, advertise, lpa, speed, duplex, media; duplex 2033 drivers/net/ethernet/broadcom/bcm63xx_enet.c duplex = (media & ADVERTISE_FULL) ? 1 : 0; duplex 2050 drivers/net/ethernet/broadcom/bcm63xx_enet.c duplex = (lpa & LPA_1000FULL); duplex 2056 drivers/net/ethernet/broadcom/bcm63xx_enet.c port->name, speed, duplex ? "full" : "half"); duplex 2065 drivers/net/ethernet/broadcom/bcm63xx_enet.c if (duplex) duplex 1381 drivers/net/ethernet/broadcom/bcmsysport.c if (priv->old_duplex != phydev->duplex) { duplex 1383 drivers/net/ethernet/broadcom/bcmsysport.c priv->old_duplex = phydev->duplex; duplex 1407 drivers/net/ethernet/broadcom/bcmsysport.c if (phydev->duplex == DUPLEX_HALF) duplex 1426 drivers/net/ethernet/broadcom/bgmac.c if (phy_dev->duplex != bgmac->mac_duplex) { duplex 1427 drivers/net/ethernet/broadcom/bgmac.c bgmac->mac_duplex = phy_dev->duplex; duplex 1444 drivers/net/ethernet/broadcom/bgmac.c .duplex = DUPLEX_FULL, duplex 951 drivers/net/ethernet/broadcom/bnx2.c if (bp->duplex == DUPLEX_HALF) duplex 957 drivers/net/ethernet/broadcom/bnx2.c if (bp->duplex == DUPLEX_HALF) duplex 963 drivers/net/ethernet/broadcom/bnx2.c if (bp->duplex == DUPLEX_HALF) duplex 969 drivers/net/ethernet/broadcom/bnx2.c if (bp->duplex == DUPLEX_HALF) duplex 1013 drivers/net/ethernet/broadcom/bnx2.c bp->duplex == DUPLEX_FULL ? "full" : "half"); duplex 1045 drivers/net/ethernet/broadcom/bnx2.c if (bp->duplex == DUPLEX_FULL) { duplex 1051 drivers/net/ethernet/broadcom/bnx2.c if (bp->duplex != DUPLEX_FULL) { duplex 1125 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = bp->req_duplex; duplex 1145 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_FULL; duplex 1147 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_HALF; duplex 1173 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_FULL; duplex 1175 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_HALF; duplex 1190 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_FULL; duplex 1193 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_HALF; duplex 1207 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_FULL; duplex 1210 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_HALF; duplex 1234 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_FULL; duplex 1238 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_HALF; duplex 1247 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_FULL; duplex 1251 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_HALF; duplex 1255 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_FULL; duplex 1259 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_HALF; duplex 1275 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_FULL; duplex 1278 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_HALF; duplex 1328 drivers/net/ethernet/broadcom/bnx2.c (bp->duplex == DUPLEX_HALF)) { duplex 1363 drivers/net/ethernet/broadcom/bnx2.c if (bp->duplex == DUPLEX_HALF) duplex 2000 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_FULL; duplex 2003 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_HALF; duplex 2009 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_HALF; duplex 2016 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_HALF; duplex 2022 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = DUPLEX_HALF; duplex 2035 drivers/net/ethernet/broadcom/bnx2.c if (bp->duplex == DUPLEX_FULL) duplex 2159 drivers/net/ethernet/broadcom/bnx2.c bp->duplex = bp->req_duplex; duplex 6939 drivers/net/ethernet/broadcom/bnx2.c cmd->base.duplex = bp->duplex; duplex 6949 drivers/net/ethernet/broadcom/bnx2.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 7012 drivers/net/ethernet/broadcom/bnx2.c (cmd->base.duplex != DUPLEX_FULL)) duplex 7023 drivers/net/ethernet/broadcom/bnx2.c req_duplex = cmd->base.duplex; duplex 6950 drivers/net/ethernet/broadcom/bnx2.h u8 duplex; duplex 1219 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (bp->link_vars.duplex == DUPLEX_FULL) duplex 1303 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c const char *duplex; duplex 1310 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c duplex = "full"; duplex 1312 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c duplex = "half"; duplex 1333 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c cur_data.line_speed, duplex, flow); duplex 235 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 237 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c cmd->base.duplex = DUPLEX_HALF; duplex 241 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 255 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c cmd->base.duplex, cmd->base.port, cmd->base.phy_address, duplex 285 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c cmd->base.duplex = bp->link_vars.duplex; duplex 292 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 362 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c cmd->base.duplex, cmd->base.port, cmd->base.phy_address, duplex 375 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c u8 duplex = cmd->base.duplex; duplex 391 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c cmd->base.duplex, cmd->base.port, cmd->base.phy_address, duplex 397 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (duplex == DUPLEX_UNKNOWN) duplex 398 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c duplex = DUPLEX_FULL; duplex 504 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_duplex[cfg_idx] = duplex; duplex 549 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (duplex == DUPLEX_FULL) { duplex 573 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (duplex == DUPLEX_FULL) { duplex 597 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (duplex != DUPLEX_FULL) { duplex 620 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (duplex != DUPLEX_FULL) { duplex 638 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (duplex != DUPLEX_FULL) { duplex 668 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bp->link_params.req_duplex[cfg_idx] = duplex; duplex 1592 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (vars->duplex == DUPLEX_HALF) duplex 4706 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 4710 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_HALF; duplex 4717 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_HALF; duplex 4725 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_HALF; duplex 4732 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_HALF; duplex 4788 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 4864 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->line_speed, vars->duplex, vars->flow_ctrl); duplex 5605 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 5620 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 gp_status, duplex = DUPLEX_HALF, link_up = 0, speed_mask; duplex 5629 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c duplex = DUPLEX_FULL; duplex 5636 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c duplex); duplex 5642 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = duplex; duplex 5684 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex, vars->flow_ctrl, vars->link_status); duplex 5694 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u16 gp_status1, gp_speed, link_up, duplex = DUPLEX_FULL; duplex 5755 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = duplex; duplex 5802 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c duplex); duplex 5810 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex, vars->flow_ctrl, vars->link_status); duplex 5889 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (vars->duplex == DUPLEX_HALF) duplex 6814 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c phy_vars[phy_index].duplex = DUPLEX_FULL; duplex 6943 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = phy_vars[active_external_phy].duplex; duplex 7642 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 8871 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 9598 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 9599 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c DP(NETIF_MSG_LINK, "duplex = 0x%x\n", vars->duplex); duplex 10508 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 10542 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 10544 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_HALF; duplex 10549 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c (vars->duplex == DUPLEX_FULL)); duplex 11335 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 11338 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_HALF; duplex 11341 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 11346 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_HALF; duplex 11349 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 11352 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_HALF; duplex 11359 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c (vars->duplex == DUPLEX_FULL)); duplex 11534 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 12676 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 12696 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 12718 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 12741 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 12757 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 12969 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c vars->duplex = DUPLEX_FULL; duplex 355 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h u16 duplex; duplex 2706 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->link_vars.duplex = DUPLEX_FULL; duplex 8368 drivers/net/ethernet/broadcom/bnxt/bnxt.c const char *duplex; duplex 8374 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (bp->link_info.duplex == BNXT_LINK_DUPLEX_FULL) duplex 8375 drivers/net/ethernet/broadcom/bnxt/bnxt.c duplex = "full"; duplex 8377 drivers/net/ethernet/broadcom/bnxt/bnxt.c duplex = "half"; duplex 8388 drivers/net/ethernet/broadcom/bnxt/bnxt.c speed, duplex, flow_ctrl); duplex 8471 drivers/net/ethernet/broadcom/bnxt/bnxt.c link_info->duplex = resp->duplex_cfg; duplex 8473 drivers/net/ethernet/broadcom/bnxt/bnxt.c link_info->duplex = resp->duplex_state; duplex 1122 drivers/net/ethernet/broadcom/bnxt/bnxt.h u8 duplex; duplex 1469 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c base->duplex = DUPLEX_UNKNOWN; duplex 1470 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c else if (link_info->duplex & BNXT_LINK_DUPLEX_FULL) duplex 1471 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c base->duplex = DUPLEX_FULL; duplex 1473 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c base->duplex = DUPLEX_HALF; duplex 1478 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c base->duplex = DUPLEX_HALF; duplex 1480 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c base->duplex = DUPLEX_FULL; duplex 1620 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (base->duplex == DUPLEX_HALF) { duplex 50 drivers/net/ethernet/broadcom/genet/bcmmii.c if (priv->old_duplex != phydev->duplex) { duplex 52 drivers/net/ethernet/broadcom/genet/bcmmii.c priv->old_duplex = phydev->duplex; duplex 74 drivers/net/ethernet/broadcom/genet/bcmmii.c if (phydev->duplex != DUPLEX_FULL) duplex 558 drivers/net/ethernet/broadcom/genet/bcmmii.c .duplex = pd->phy_duplex, duplex 293 drivers/net/ethernet/broadcom/sb1250-mac.c static int sbmac_set_duplex(struct sbmac_softc *s, enum sbmac_duplex duplex, duplex 1873 drivers/net/ethernet/broadcom/sb1250-mac.c static int sbmac_set_duplex(struct sbmac_softc *s, enum sbmac_duplex duplex, duplex 1882 drivers/net/ethernet/broadcom/sb1250-mac.c s->sbm_duplex = duplex; duplex 1901 drivers/net/ethernet/broadcom/sb1250-mac.c switch (duplex) { duplex 2368 drivers/net/ethernet/broadcom/sb1250-mac.c duplex_chg = (sc->sbm_duplex != phy_dev->duplex); duplex 2386 drivers/net/ethernet/broadcom/sb1250-mac.c if (phy_dev->duplex == DUPLEX_FULL) { duplex 2396 drivers/net/ethernet/broadcom/sb1250-mac.c phy_dev->duplex == DUPLEX_FULL ? 'F' : 'H'); duplex 2401 drivers/net/ethernet/broadcom/sb1250-mac.c sc->sbm_duplex = phy_dev->duplex; duplex 2036 drivers/net/ethernet/broadcom/tg3.c if (phydev->duplex == DUPLEX_HALF) duplex 2067 drivers/net/ethernet/broadcom/tg3.c if (phydev->speed == SPEED_1000 && phydev->duplex == DUPLEX_HALF) duplex 2080 drivers/net/ethernet/broadcom/tg3.c phydev->duplex != tp->link_config.active_duplex || duplex 2086 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_duplex = phydev->duplex; duplex 2152 drivers/net/ethernet/broadcom/tg3.c phydev->duplex = tp->link_config.duplex; duplex 4064 drivers/net/ethernet/broadcom/tg3.c tp->link_config.duplex = phydev->duplex; duplex 4285 drivers/net/ethernet/broadcom/tg3.c static void tg3_aux_stat_to_speed_duplex(struct tg3 *tp, u32 val, u32 *speed, u8 *duplex) duplex 4290 drivers/net/ethernet/broadcom/tg3.c *duplex = DUPLEX_HALF; duplex 4295 drivers/net/ethernet/broadcom/tg3.c *duplex = DUPLEX_FULL; duplex 4300 drivers/net/ethernet/broadcom/tg3.c *duplex = DUPLEX_HALF; duplex 4305 drivers/net/ethernet/broadcom/tg3.c *duplex = DUPLEX_FULL; duplex 4310 drivers/net/ethernet/broadcom/tg3.c *duplex = DUPLEX_HALF; duplex 4315 drivers/net/ethernet/broadcom/tg3.c *duplex = DUPLEX_FULL; duplex 4322 drivers/net/ethernet/broadcom/tg3.c *duplex = (val & MII_TG3_AUX_STAT_FULL) ? DUPLEX_FULL : duplex 4327 drivers/net/ethernet/broadcom/tg3.c *duplex = DUPLEX_UNKNOWN; duplex 4464 drivers/net/ethernet/broadcom/tg3.c tp->link_config.active_duplex = tp->link_config.duplex; duplex 4489 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.duplex == DUPLEX_FULL) duplex 4553 drivers/net/ethernet/broadcom/tg3.c tp->link_config.duplex = DUPLEX_FULL; duplex 4555 drivers/net/ethernet/broadcom/tg3.c tp->link_config.duplex = DUPLEX_HALF; duplex 4957 drivers/net/ethernet/broadcom/tg3.c tp->link_config.duplex == current_duplex) { duplex 5923 drivers/net/ethernet/broadcom/tg3.c if (tp->link_config.duplex == DUPLEX_FULL) duplex 12200 drivers/net/ethernet/broadcom/tg3.c cmd->base.duplex = tp->link_config.active_duplex; duplex 12213 drivers/net/ethernet/broadcom/tg3.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 12241 drivers/net/ethernet/broadcom/tg3.c cmd->base.duplex != DUPLEX_FULL && duplex 12242 drivers/net/ethernet/broadcom/tg3.c cmd->base.duplex != DUPLEX_HALF) duplex 12282 drivers/net/ethernet/broadcom/tg3.c if (cmd->base.duplex != DUPLEX_FULL) duplex 12298 drivers/net/ethernet/broadcom/tg3.c tp->link_config.duplex = DUPLEX_UNKNOWN; duplex 12302 drivers/net/ethernet/broadcom/tg3.c tp->link_config.duplex = cmd->base.duplex; duplex 15469 drivers/net/ethernet/broadcom/tg3.c tp->link_config.duplex = DUPLEX_UNKNOWN; duplex 2877 drivers/net/ethernet/broadcom/tg3.h u8 duplex; duplex 250 drivers/net/ethernet/brocade/bna/bnad_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 253 drivers/net/ethernet/brocade/bna/bnad_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 273 drivers/net/ethernet/brocade/bna/bnad_ethtool.c (cmd->base.duplex == DUPLEX_FULL)) duplex 1191 drivers/net/ethernet/cadence/macb.h int duplex; duplex 454 drivers/net/ethernet/cadence/macb_main.c (bp->duplex != phydev->duplex)) { duplex 462 drivers/net/ethernet/cadence/macb_main.c if (phydev->duplex) duplex 473 drivers/net/ethernet/cadence/macb_main.c bp->duplex = phydev->duplex; duplex 481 drivers/net/ethernet/cadence/macb_main.c bp->duplex = -1; duplex 500 drivers/net/ethernet/cadence/macb_main.c phydev->duplex == DUPLEX_FULL ? duplex 579 drivers/net/ethernet/cadence/macb_main.c bp->duplex = -1; duplex 2259 drivers/net/ethernet/cadence/macb_main.c bp->duplex = DUPLEX_HALF; duplex 1526 drivers/net/ethernet/calxeda/xgmac.c cmd->base.duplex = DUPLEX_FULL; duplex 384 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c ecmd->base.duplex = linfo->link.s.duplex; duplex 387 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c ecmd->base.duplex = DUPLEX_UNKNOWN; duplex 415 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if ((ecmd->base.duplex != DUPLEX_UNKNOWN && duplex 416 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c ecmd->base.duplex != linfo->link.s.duplex) || duplex 1377 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (linfo->link.s.duplex == 0) { duplex 530 drivers/net/ethernet/cavium/liquidio/lio_main.c (linfo->link.s.duplex) ? "Full" : "Half"); duplex 274 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c (linfo->link.s.duplex) ? "Full" : "Half"); duplex 696 drivers/net/ethernet/cavium/liquidio/liquidio_common.h u64 duplex:8; duplex 716 drivers/net/ethernet/cavium/liquidio/liquidio_common.h u64 duplex:8; duplex 843 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c prtx_cfg.s.duplex = 1; duplex 845 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c prtx_cfg.s.duplex = phydev->duplex; duplex 873 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c prtx_cfg.s.burst = phydev->duplex; duplex 922 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c (p->last_duplex != phydev->duplex || duplex 933 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c p->last_duplex = phydev->duplex; duplex 940 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c phydev->speed, phydev->duplex == DUPLEX_FULL ? "Full" : "Half"); duplex 316 drivers/net/ethernet/cavium/thunder/nic.h u8 duplex; duplex 513 drivers/net/ethernet/cavium/thunder/nic.h u8 duplex; duplex 944 drivers/net/ethernet/cavium/thunder/nic_main.c mbx.link_status.duplex = link.duplex; duplex 129 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 171 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c cmd->base.duplex = nic->duplex; duplex 230 drivers/net/ethernet/cavium/thunder/nicvf_main.c nic->duplex = 0; duplex 251 drivers/net/ethernet/cavium/thunder/nicvf_main.c nic->duplex = mbx.link_status.duplex; duplex 258 drivers/net/ethernet/cavium/thunder/nicvf_main.c nic->duplex == DUPLEX_FULL ? duplex 218 drivers/net/ethernet/cavium/thunder/thunder_bgx.c link->duplex = lmac->last_duplex; duplex 606 drivers/net/ethernet/cavium/thunder/thunder_bgx.c (lmac->last_duplex != phydev->duplex || duplex 614 drivers/net/ethernet/cavium/thunder/thunder_bgx.c lmac->last_duplex = phydev->duplex; duplex 212 drivers/net/ethernet/chelsio/cxgb/common.h unsigned char duplex; /* actual link duplex */ duplex 354 drivers/net/ethernet/chelsio/cxgb/common.h int speed, int duplex, int pause); duplex 83 drivers/net/ethernet/chelsio/cxgb/cphy.h int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex); duplex 85 drivers/net/ethernet/chelsio/cxgb/cphy.h int *duplex, int *fc); duplex 139 drivers/net/ethernet/chelsio/cxgb/cxgb2.c s, p->link_config.duplex == DUPLEX_FULL duplex 145 drivers/net/ethernet/chelsio/cxgb/cxgb2.c int speed, int duplex, int pause) duplex 579 drivers/net/ethernet/chelsio/cxgb/cxgb2.c cmd->base.duplex = p->link_config.duplex; duplex 582 drivers/net/ethernet/chelsio/cxgb/cxgb2.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 597 drivers/net/ethernet/chelsio/cxgb/cxgb2.c static int speed_duplex_to_caps(int speed, int duplex) duplex 603 drivers/net/ethernet/chelsio/cxgb/cxgb2.c if (duplex == DUPLEX_FULL) duplex 609 drivers/net/ethernet/chelsio/cxgb/cxgb2.c if (duplex == DUPLEX_FULL) duplex 615 drivers/net/ethernet/chelsio/cxgb/cxgb2.c if (duplex == DUPLEX_FULL) duplex 621 drivers/net/ethernet/chelsio/cxgb/cxgb2.c if (duplex == DUPLEX_FULL) duplex 648 drivers/net/ethernet/chelsio/cxgb/cxgb2.c int cap = speed_duplex_to_caps(speed, cmd->base.duplex); duplex 653 drivers/net/ethernet/chelsio/cxgb/cxgb2.c lc->requested_duplex = cmd->base.duplex; duplex 113 drivers/net/ethernet/chelsio/cxgb/gmac.h int (*set_speed_duplex_fc)(struct cmac *, int speed, int duplex, int fc); duplex 114 drivers/net/ethernet/chelsio/cxgb/gmac.h int (*get_speed_duplex_fc)(struct cmac *, int *speed, int *duplex, duplex 125 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c static int mv88e1xxx_set_speed_duplex(struct cphy *phy, int speed, int duplex) duplex 137 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c if (duplex >= 0) { duplex 139 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c if (duplex == DUPLEX_FULL) duplex 242 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c int *speed, int *duplex, int *fc) duplex 267 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c if (duplex) duplex 268 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c *duplex = dplx; duplex 172 drivers/net/ethernet/chelsio/cxgb/mv88x201x.c int *speed, int *duplex, int *fc) duplex 186 drivers/net/ethernet/chelsio/cxgb/mv88x201x.c if (duplex) duplex 187 drivers/net/ethernet/chelsio/cxgb/mv88x201x.c *duplex = DUPLEX_FULL; duplex 111 drivers/net/ethernet/chelsio/cxgb/my3126.c int *link_ok, int *speed, int *duplex, int *fc) duplex 144 drivers/net/ethernet/chelsio/cxgb/my3126.c *duplex = DUPLEX_FULL; duplex 398 drivers/net/ethernet/chelsio/cxgb/pm3393.c int *duplex, int *fc) duplex 402 drivers/net/ethernet/chelsio/cxgb/pm3393.c if (duplex) duplex 403 drivers/net/ethernet/chelsio/cxgb/pm3393.c *duplex = DUPLEX_FULL; duplex 409 drivers/net/ethernet/chelsio/cxgb/pm3393.c static int pm3393_set_speed_duplex_fc(struct cmac *cmac, int speed, int duplex, duplex 414 drivers/net/ethernet/chelsio/cxgb/pm3393.c if (duplex >= 0 && duplex != DUPLEX_FULL) duplex 152 drivers/net/ethernet/chelsio/cxgb/subr.c int link_ok, speed, duplex, fc; duplex 156 drivers/net/ethernet/chelsio/cxgb/subr.c phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); duplex 159 drivers/net/ethernet/chelsio/cxgb/subr.c lc->duplex = duplex < 0 ? DUPLEX_INVALID : duplex; duplex 167 drivers/net/ethernet/chelsio/cxgb/subr.c mac->ops->set_speed_duplex_fc(mac, speed, duplex, fc); duplex 170 drivers/net/ethernet/chelsio/cxgb/subr.c t1_link_negotiated(adapter, port_id, link_ok, speed, duplex, fc); duplex 643 drivers/net/ethernet/chelsio/cxgb/subr.c lc->duplex = lc->requested_duplex; duplex 646 drivers/net/ethernet/chelsio/cxgb/subr.c lc->duplex, fc); duplex 649 drivers/net/ethernet/chelsio/cxgb/subr.c phy->ops->set_speed_duplex(phy, lc->speed, lc->duplex); duplex 1035 drivers/net/ethernet/chelsio/cxgb/subr.c lc->requested_duplex = lc->duplex = DUPLEX_INVALID; duplex 459 drivers/net/ethernet/chelsio/cxgb/vsc7326.c static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, duplex 468 drivers/net/ethernet/chelsio/cxgb/vsc7326.c if (duplex > 0 && duplex != DUPLEX_FULL) duplex 501 drivers/net/ethernet/chelsio/cxgb/vsc7326.c if (duplex == DUPLEX_HALF) duplex 310 drivers/net/ethernet/chelsio/cxgb3/adapter.h int speed, int duplex, int fc); duplex 177 drivers/net/ethernet/chelsio/cxgb3/ael1002.c int *duplex, int *fc) duplex 196 drivers/net/ethernet/chelsio/cxgb3/ael1002.c if (duplex) duplex 197 drivers/net/ethernet/chelsio/cxgb3/ael1002.c *duplex = DUPLEX_FULL; duplex 835 drivers/net/ethernet/chelsio/cxgb3/ael1002.c int *duplex, int *fc) duplex 854 drivers/net/ethernet/chelsio/cxgb3/ael1002.c if (duplex) duplex 855 drivers/net/ethernet/chelsio/cxgb3/ael1002.c *duplex = DUPLEX_FULL; duplex 896 drivers/net/ethernet/chelsio/cxgb3/ael1002.c int *speed, int *duplex, int *fc) duplex 914 drivers/net/ethernet/chelsio/cxgb3/ael1002.c if (duplex) duplex 915 drivers/net/ethernet/chelsio/cxgb3/ael1002.c *duplex = DUPLEX_FULL; duplex 201 drivers/net/ethernet/chelsio/cxgb3/aq100x.c static int aq100x_set_speed_duplex(struct cphy *phy, int speed, int duplex) duplex 208 drivers/net/ethernet/chelsio/cxgb3/aq100x.c int *speed, int *duplex, int *fc) duplex 244 drivers/net/ethernet/chelsio/cxgb3/aq100x.c if (duplex) duplex 245 drivers/net/ethernet/chelsio/cxgb3/aq100x.c *duplex = v & 1 ? DUPLEX_FULL : DUPLEX_HALF; duplex 432 drivers/net/ethernet/chelsio/cxgb3/common.h unsigned char duplex; /* actual link duplex */ duplex 530 drivers/net/ethernet/chelsio/cxgb3/common.h int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex); duplex 532 drivers/net/ethernet/chelsio/cxgb3/common.h int *duplex, int *fc); duplex 659 drivers/net/ethernet/chelsio/cxgb3/common.h int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex); duplex 716 drivers/net/ethernet/chelsio/cxgb3/common.h int t3_mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, int fc); duplex 177 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c s, p->link_config.duplex == DUPLEX_FULL duplex 252 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c int speed, int duplex, int pause) duplex 1817 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c cmd->base.duplex = p->link_config.duplex; duplex 1820 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 1832 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c static int speed_duplex_to_caps(int speed, int duplex) duplex 1838 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c if (duplex == DUPLEX_FULL) duplex 1844 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c if (duplex == DUPLEX_FULL) duplex 1850 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c if (duplex == DUPLEX_FULL) duplex 1856 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c if (duplex == DUPLEX_FULL) duplex 1884 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c int cap = speed_duplex_to_caps(speed, cmd->base.duplex); duplex 1893 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c int cap = speed_duplex_to_caps(speed, cmd->base.duplex); duplex 1898 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c lc->requested_duplex = cmd->base.duplex; duplex 449 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex) duplex 465 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c if (duplex >= 0) { duplex 467 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c if (duplex == DUPLEX_FULL) duplex 1242 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c int link_ok, speed, duplex, fc; duplex 1248 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); duplex 1273 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c duplex == lc->duplex && fc == lc->fc) duplex 1285 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c lc->duplex = duplex < 0 ? DUPLEX_INVALID : duplex; duplex 1289 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c t3_mac_set_speed_duplex_fc(mac, speed, duplex, fc); duplex 1294 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c speed, duplex, fc); duplex 1303 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c int link_ok, speed, duplex, fc, link_fault; duplex 1322 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c duplex = lc->duplex; duplex 1325 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); duplex 1330 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c lc->duplex = DUPLEX_INVALID; duplex 1345 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c lc->duplex = duplex < 0 ? DUPLEX_INVALID : duplex; duplex 1379 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c lc->duplex = lc->requested_duplex; duplex 1381 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c t3_mac_set_speed_duplex_fc(mac, lc->speed, lc->duplex, duplex 1384 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c phy->ops->set_speed_duplex(phy, lc->speed, lc->duplex); duplex 3496 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c lc->requested_duplex = lc->duplex = DUPLEX_INVALID; duplex 131 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c int *speed, int *duplex, int *fc) duplex 199 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c if (duplex) duplex 200 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c *duplex = dplx; duplex 207 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c int *speed, int *duplex, int *fc) duplex 267 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c if (duplex) duplex 268 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c *duplex = dplx; duplex 305 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c int vsc8211_set_speed_duplex(struct cphy *phy, int speed, int duplex) duplex 309 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c err = t3_set_phy_speed_duplex(phy, speed, duplex); duplex 428 drivers/net/ethernet/chelsio/cxgb3/xgmac.c int t3_mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, int fc) duplex 434 drivers/net/ethernet/chelsio/cxgb3/xgmac.c if (duplex >= 0 && duplex != DUPLEX_FULL) duplex 634 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c base->duplex = DUPLEX_FULL; duplex 658 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (base->duplex != DUPLEX_FULL) duplex 1476 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c base->duplex = DUPLEX_FULL; duplex 1479 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c base->duplex = DUPLEX_UNKNOWN; duplex 1700 drivers/net/ethernet/cirrus/cs89x0.c static int duplex = -1; duplex 1710 drivers/net/ethernet/cirrus/cs89x0.c module_param(duplex, int, 0); duplex 1723 drivers/net/ethernet/cirrus/cs89x0.c MODULE_PARM_DESC(duplex, "(ignored)"); duplex 1798 drivers/net/ethernet/cirrus/cs89x0.c if (duplex == -1) duplex 123 drivers/net/ethernet/cisco/enic/enic_ethtool.c base->duplex = DUPLEX_FULL; duplex 126 drivers/net/ethernet/cisco/enic/enic_ethtool.c base->duplex = DUPLEX_UNKNOWN; duplex 302 drivers/net/ethernet/cortina/gemini.c status.bits.duplex = phydev->duplex; duplex 331 drivers/net/ethernet/cortina/gemini.c if (phydev->duplex == DUPLEX_FULL) { duplex 856 drivers/net/ethernet/cortina/gemini.h unsigned int duplex:1; duplex 1510 drivers/net/ethernet/dec/tulip/de2104x.c cmd->base.duplex = DUPLEX_FULL; duplex 1512 drivers/net/ethernet/dec/tulip/de2104x.c cmd->base.duplex = DUPLEX_HALF; duplex 1527 drivers/net/ethernet/dec/tulip/de2104x.c u8 duplex = cmd->base.duplex; duplex 1537 drivers/net/ethernet/dec/tulip/de2104x.c if (duplex != DUPLEX_HALF && duplex != DUPLEX_FULL) duplex 1565 drivers/net/ethernet/dec/tulip/de2104x.c else if (duplex == DUPLEX_FULL) duplex 947 drivers/net/ethernet/dec/tulip/uli526x.c cmd->base.duplex = DUPLEX_HALF; duplex 955 drivers/net/ethernet/dec/tulip/uli526x.c cmd->base.duplex = DUPLEX_FULL; duplex 960 drivers/net/ethernet/dec/tulip/uli526x.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 672 drivers/net/ethernet/dec/tulip/winbond-840.c int duplex, fasteth, result, mii_reg; duplex 709 drivers/net/ethernet/dec/tulip/winbond-840.c duplex = mii_reg & BMCR_FULLDPLX; duplex 716 drivers/net/ethernet/dec/tulip/winbond-840.c duplex = (negotiated & LPA_100FULL) || ((negotiated & 0x02C0) == LPA_10FULL); duplex 719 drivers/net/ethernet/dec/tulip/winbond-840.c duplex |= np->mii_if.force_media; duplex 722 drivers/net/ethernet/dec/tulip/winbond-840.c if (duplex) duplex 729 drivers/net/ethernet/dec/tulip/winbond-840.c fasteth ? 100 : 10, duplex ? "full" : "half", duplex 1276 drivers/net/ethernet/dlink/dl2k.c cmd->base.duplex = np->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; duplex 1279 drivers/net/ethernet/dlink/dl2k.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 1301 drivers/net/ethernet/dlink/dl2k.c u8 duplex = cmd->base.duplex; duplex 1316 drivers/net/ethernet/dlink/dl2k.c duplex = DUPLEX_FULL; duplex 1322 drivers/net/ethernet/dlink/dl2k.c np->full_duplex = (duplex == DUPLEX_FULL); duplex 1326 drivers/net/ethernet/dlink/dl2k.c np->full_duplex = (duplex == DUPLEX_FULL); duplex 932 drivers/net/ethernet/dlink/sundance.c int duplex; duplex 943 drivers/net/ethernet/dlink/sundance.c duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040; duplex 944 drivers/net/ethernet/dlink/sundance.c if (np->mii_if.full_duplex != duplex) { duplex 945 drivers/net/ethernet/dlink/sundance.c np->mii_if.full_duplex = duplex; duplex 949 drivers/net/ethernet/dlink/sundance.c duplex ? "full" : "half", np->phys[0], negotiated); duplex 950 drivers/net/ethernet/dlink/sundance.c iowrite16(ioread16(ioaddr + MACCtrl0) | (duplex ? 0x20 : 0), ioaddr + MACCtrl0); duplex 185 drivers/net/ethernet/dnet.c if (bp->duplex != phydev->duplex) { duplex 186 drivers/net/ethernet/dnet.c if (phydev->duplex) duplex 193 drivers/net/ethernet/dnet.c bp->duplex = phydev->duplex; duplex 227 drivers/net/ethernet/dnet.c bp->duplex = -1; duplex 245 drivers/net/ethernet/dnet.c DUPLEX_FULL == phydev->duplex ? "Full" : "Half"); duplex 292 drivers/net/ethernet/dnet.c bp->duplex = -1; duplex 218 drivers/net/ethernet/dnet.h unsigned int duplex; duplex 670 drivers/net/ethernet/emulex/benet/be_ethtool.c cmd->base.duplex = netif_carrier_ok(netdev) ? duplex 677 drivers/net/ethernet/ethoc.c if (priv->old_duplex != phydev->duplex) { duplex 679 drivers/net/ethernet/ethoc.c priv->old_duplex = phydev->duplex; duplex 686 drivers/net/ethernet/ethoc.c if (phydev->duplex == DUPLEX_FULL) duplex 1018 drivers/net/ethernet/faraday/ftgmac100.c phydev->duplex == priv->cur_duplex && duplex 1030 drivers/net/ethernet/faraday/ftgmac100.c priv->cur_duplex = phydev->duplex; duplex 90 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c link_settings->base.duplex = DUPLEX_FULL; duplex 1786 drivers/net/ethernet/freescale/fec_main.c if (fep->full_duplex != phy_dev->duplex) { duplex 1787 drivers/net/ethernet/freescale/fec_main.c fep->full_duplex = phy_dev->duplex; duplex 56 drivers/net/ethernet/freescale/fec_mpc52xx.c int duplex; duplex 171 drivers/net/ethernet/freescale/fec_mpc52xx.c if (phydev->duplex != priv->duplex) { duplex 177 drivers/net/ethernet/freescale/fec_mpc52xx.c priv->duplex = phydev->duplex; duplex 184 drivers/net/ethernet/freescale/fec_mpc52xx.c if (phydev->duplex == DUPLEX_FULL) duplex 207 drivers/net/ethernet/freescale/fec_mpc52xx.c priv->duplex = -1; duplex 670 drivers/net/ethernet/freescale/fec_mpc52xx.c if (priv->duplex == DUPLEX_FULL) duplex 935 drivers/net/ethernet/freescale/fec_mpc52xx.c priv->duplex = DUPLEX_HALF; duplex 942 drivers/net/ethernet/freescale/fec_mpc52xx.c priv->duplex = prop[1] ? DUPLEX_FULL : DUPLEX_HALF; duplex 536 drivers/net/ethernet/freescale/fman/fman_memac.c if (!fixed_link->duplex) duplex 379 drivers/net/ethernet/freescale/fman/mac.c if (!phy_dev->duplex) duplex 830 drivers/net/ethernet/freescale/fman/mac.c priv->fixed_link->duplex = phy->duplex; duplex 662 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c if (phydev->duplex != fep->oldduplex) { duplex 664 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c fep->oldduplex = phydev->duplex; duplex 395 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c if (dev->phydev->duplex) duplex 316 drivers/net/ethernet/freescale/fs_enet/mac-fec.c if (dev->phydev->duplex) { duplex 345 drivers/net/ethernet/freescale/fs_enet/mac-scc.c if (dev->phydev->duplex) duplex 1479 drivers/net/ethernet/freescale/gianfar.c if (!phydev->duplex) duplex 1525 drivers/net/ethernet/freescale/gianfar.c if (phydev->duplex != priv->oldduplex) { duplex 1526 drivers/net/ethernet/freescale/gianfar.c if (!(phydev->duplex)) duplex 1531 drivers/net/ethernet/freescale/gianfar.c priv->oldduplex = phydev->duplex; duplex 1613 drivers/net/ethernet/freescale/gianfar.c (phydev->link && (phydev->duplex != priv->oldduplex || duplex 1595 drivers/net/ethernet/freescale/ucc_geth.c if (phydev->duplex != ugeth->oldduplex) { duplex 1597 drivers/net/ethernet/freescale/ucc_geth.c if (!(phydev->duplex)) duplex 1601 drivers/net/ethernet/freescale/ucc_geth.c ugeth->oldduplex = phydev->duplex; duplex 219 drivers/net/ethernet/hisilicon/hip04_eth.c unsigned int duplex; duplex 256 drivers/net/ethernet/hisilicon/hip04_eth.c static void hip04_config_port(struct net_device *ndev, u32 speed, u32 duplex) duplex 262 drivers/net/ethernet/hisilicon/hip04_eth.c priv->duplex = duplex; duplex 286 drivers/net/ethernet/hisilicon/hip04_eth.c val = duplex ? GE_DUPLEX_FULL : GE_DUPLEX_HALF; duplex 717 drivers/net/ethernet/hisilicon/hip04_eth.c if ((priv->speed != phy->speed) || (priv->duplex != phy->duplex)) { duplex 718 drivers/net/ethernet/hisilicon/hip04_eth.c hip04_config_port(ndev, phy->speed, phy->duplex); duplex 197 drivers/net/ethernet/hisilicon/hisi_femac.c if (phy->duplex == DUPLEX_FULL) duplex 262 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c unsigned int duplex; duplex 284 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c static void hix5hd2_config_port(struct net_device *dev, u32 speed, u32 duplex) duplex 290 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c priv->duplex = duplex; duplex 313 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c if (duplex) duplex 327 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c writel_relaxed(duplex, priv->base + MAC_DUPLEX_HALF_CTRL); duplex 458 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c if ((priv->speed != phy->speed) || (priv->duplex != phy->duplex)) { duplex 459 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c hix5hd2_config_port(dev, phy->speed, phy->duplex); duplex 479 drivers/net/ethernet/hisilicon/hns/hnae.h u8 *auto_neg, u16 *speed, u8 *duplex); duplex 481 drivers/net/ethernet/hisilicon/hns/hnae.h void (*adjust_link)(struct hnae_handle *handle, int speed, int duplex); duplex 483 drivers/net/ethernet/hisilicon/hns/hnae.h int speed, int duplex); duplex 427 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c u8 *auto_neg, u16 *speed, u8 *duplex) duplex 431 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c return hns_mac_get_port_info(mac_cb, auto_neg, speed, duplex); duplex 435 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c int duplex) duplex 439 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c return hns_mac_need_adjust_link(mac_cb, speed, duplex); duplex 443 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c int duplex) duplex 449 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_mac_adjust_link(mac_cb, speed, duplex); duplex 460 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_mac_adjust_link(mac_cb, speed, duplex); duplex 263 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c int duplex) duplex 269 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c (mac_cb->half_duplex == duplex); duplex 506 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c enum hns_gmac_duplex_mdoe duplex; duplex 525 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c hns_gmac_get_duplex_type(mac_drv, &duplex); duplex 526 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c mac_info->duplex = duplex; duplex 92 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c u8 *auto_neg, u16 *speed, u8 *duplex) duplex 107 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c if (duplex) duplex 108 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c *duplex = info.duplex; duplex 120 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c bool hns_mac_need_adjust_link(struct hns_mac_cb *mac_cb, int speed, int duplex) duplex 128 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c (enum mac_speed)speed, duplex); duplex 133 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c void hns_mac_adjust_link(struct hns_mac_cb *mac_cb, int speed, int duplex) duplex 141 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c mac_cb->half_duplex = !duplex; duplex 145 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c (enum mac_speed)speed, duplex); duplex 198 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h u8 duplex; /* Duplex, half or full */ duplex 357 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h int duplex); duplex 430 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h bool hns_mac_need_adjust_link(struct hns_mac_cb *mac_cb, int speed, int duplex); duplex 439 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h void hns_mac_adjust_link(struct hns_mac_cb *mac_cb, int speed, int duplex); duplex 447 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h u8 *auto_neg, u16 *speed, u8 *duplex); duplex 454 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c mac_info->duplex = 1; duplex 1102 drivers/net/ethernet/hisilicon/hns/hns_enet.c ndev->phydev->duplex)) { duplex 1110 drivers/net/ethernet/hisilicon/hns/hns_enet.c ndev->phydev->duplex); duplex 1565 drivers/net/ethernet/hisilicon/hns/hns_enet.c int speed, duplex; duplex 1581 drivers/net/ethernet/hisilicon/hns/hns_enet.c duplex = 1; duplex 1583 drivers/net/ethernet/hisilicon/hns/hns_enet.c ops->adjust_link(h, speed, duplex); duplex 121 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c u8 duplex; duplex 132 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c ret = h->dev->ops->get_info(h, NULL, &speed, &duplex); duplex 146 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c cmd->base.duplex = duplex; duplex 154 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 221 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c cmd->base.duplex != DUPLEX_FULL) duplex 227 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c if (speed == SPEED_1000 && cmd->base.duplex == DUPLEX_HALF) duplex 233 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c speed != SPEED_1000) || (cmd->base.duplex != DUPLEX_HALF && duplex 234 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c cmd->base.duplex != DUPLEX_FULL)) duplex 243 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c h->dev->ops->adjust_link(h, (int)speed, cmd->base.duplex); duplex 341 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c int speed, duplex; duplex 361 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c duplex = 1; duplex 363 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c h->dev->ops->adjust_link(h, speed, duplex); duplex 385 drivers/net/ethernet/hisilicon/hns3/hnae3.h u8 *auto_neg, u32 *speed, u8 *duplex); duplex 388 drivers/net/ethernet/hisilicon/hns3/hnae3.h u8 duplex); duplex 396 drivers/net/ethernet/hisilicon/hns3/hnae3.h void (*adjust_link)(struct hnae3_handle *handle, int speed, int duplex); duplex 641 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c &cmd->base.duplex); duplex 706 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 721 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c u8 duplex; duplex 731 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c ops->get_ksettings_an_result(handle, &autoneg, &speed, &duplex); duplex 733 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c cmd->base.duplex == duplex) duplex 740 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c if (cmd->base.duplex != DUPLEX_FULL && duplex 766 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c if (cmd->base.speed == SPEED_1000 && cmd->base.duplex == DUPLEX_HALF) duplex 772 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c cmd->base.autoneg, cmd->base.speed, cmd->base.duplex); duplex 802 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c cmd->base.duplex); duplex 2345 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static u8 hclge_check_speed_dup(u8 duplex, int speed) duplex 2348 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c duplex = HCLGE_MAC_FULL; duplex 2350 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return duplex; duplex 2354 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u8 duplex) duplex 2364 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (duplex) duplex 2418 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int hclge_cfg_mac_speed_dup(struct hclge_dev *hdev, int speed, u8 duplex) duplex 2423 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c duplex = hclge_check_speed_dup(duplex, speed); duplex 2425 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mac->duplex == duplex) duplex 2428 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c ret = hclge_cfg_mac_speed_dup_hw(hdev, speed, duplex); duplex 2433 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->hw.mac.duplex = duplex; duplex 2439 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u8 duplex) duplex 2444 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return hclge_cfg_mac_speed_dup(hdev, speed, duplex); duplex 2588 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->hw.mac.duplex = HCLGE_MAC_FULL; duplex 2590 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->hw.mac.duplex); duplex 8655 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (phydev->duplex == HCLGE_MAC_HALF) { duplex 8745 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u8 *auto_neg, u32 *speed, u8 *duplex) duplex 8752 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (duplex) duplex 8753 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *duplex = hdev->hw.mac.duplex; duplex 257 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h u8 duplex; duplex 956 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h int hclge_cfg_mac_speed_dup(struct hclge_dev *hdev, int speed, u8 duplex); duplex 435 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c u16 duplex; duplex 439 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c duplex = hdev->hw.mac.duplex; duplex 442 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c memcpy(&msg_data[6], &duplex, sizeof(u16)); duplex 180 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c int duplex, speed; duplex 188 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c duplex = netdev->phydev->duplex; duplex 190 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c ret = hclge_cfg_mac_speed_dup(hdev, speed, duplex); duplex 2941 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c u8 *duplex) duplex 2947 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c if (duplex) duplex 2948 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c *duplex = hdev->hw.mac.duplex; duplex 2954 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c u8 duplex) duplex 2957 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c hdev->hw.mac.duplex = duplex; duplex 160 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h u8 duplex; duplex 318 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h u8 duplex); duplex 256 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c u8 duplex; duplex 282 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c duplex = (u8)msg_q[4]; duplex 286 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c hclgevf_update_speed_duplex(hdev, speed, duplex); duplex 89 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c link_ksettings->base.duplex = DUPLEX_UNKNOWN; duplex 111 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c link_ksettings->base.duplex = (port_cap.duplex == HINIC_DUPLEX_FULL) ? duplex 177 drivers/net/ethernet/huawei/hinic/hinic_port.h u8 duplex; duplex 51 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c cmd->base.duplex = port->full_duplex == 1 ? duplex 55 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 98 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c if (cmd->base.duplex == DUPLEX_FULL) duplex 105 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c if (cmd->base.duplex == DUPLEX_FULL) duplex 112 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c if (cmd->base.duplex == DUPLEX_FULL) duplex 119 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c if (cmd->base.duplex == DUPLEX_FULL) duplex 593 drivers/net/ethernet/ibm/emac/core.c link, dev->phy.duplex, dev->phy.pause, dev->phy.asym_pause); duplex 604 drivers/net/ethernet/ibm/emac/core.c else if (dev->phy.duplex == DUPLEX_FULL) duplex 654 drivers/net/ethernet/ibm/emac/core.c dev->phy.duplex == DUPLEX_FULL) { duplex 1219 drivers/net/ethernet/ibm/emac/core.c dev->phy.duplex == DUPLEX_FULL ? "FDX" : "HDX", duplex 1306 drivers/net/ethernet/ibm/emac/core.c int duplex = r & EMAC_MR1_FDE ? DUPLEX_FULL : DUPLEX_HALF; duplex 1328 drivers/net/ethernet/ibm/emac/core.c return speed != dev->phy.speed || duplex != dev->phy.duplex || duplex 2052 drivers/net/ethernet/ibm/emac/core.c cmd->base.duplex = dev->phy.duplex; duplex 2075 drivers/net/ethernet/ibm/emac/core.c cmd->base.autoneg, cmd->base.speed, cmd->base.duplex, advertising); duplex 2085 drivers/net/ethernet/ibm/emac/core.c if (cmd->base.duplex != DUPLEX_HALF && cmd->base.duplex != DUPLEX_FULL) duplex 2091 drivers/net/ethernet/ibm/emac/core.c if (cmd->base.duplex == DUPLEX_HALF && duplex 2094 drivers/net/ethernet/ibm/emac/core.c if (cmd->base.duplex == DUPLEX_FULL && duplex 2099 drivers/net/ethernet/ibm/emac/core.c if (cmd->base.duplex == DUPLEX_HALF && duplex 2102 drivers/net/ethernet/ibm/emac/core.c if (cmd->base.duplex == DUPLEX_FULL && duplex 2107 drivers/net/ethernet/ibm/emac/core.c if (cmd->base.duplex == DUPLEX_HALF && duplex 2110 drivers/net/ethernet/ibm/emac/core.c if (cmd->base.duplex == DUPLEX_FULL && duplex 2120 drivers/net/ethernet/ibm/emac/core.c cmd->base.duplex); duplex 2157 drivers/net/ethernet/ibm/emac/core.c if (dev->phy.duplex == DUPLEX_FULL) { duplex 2474 drivers/net/ethernet/ibm/emac/core.c dev->phy.duplex = phy->duplex; duplex 2512 drivers/net/ethernet/ibm/emac/core.c phy_dev->duplex = phy->duplex; duplex 2535 drivers/net/ethernet/ibm/emac/core.c phy->duplex = fd; duplex 2566 drivers/net/ethernet/ibm/emac/core.c phy->duplex = phy_dev->duplex; duplex 3153 drivers/net/ethernet/ibm/emac/core.c dev->phy.duplex = DUPLEX_FULL; duplex 116 drivers/net/ethernet/ibm/emac/phy.c phy->duplex = DUPLEX_HALF; duplex 175 drivers/net/ethernet/ibm/emac/phy.c phy->duplex = fd; duplex 240 drivers/net/ethernet/ibm/emac/phy.c phy->duplex = DUPLEX_HALF; duplex 246 drivers/net/ethernet/ibm/emac/phy.c phy->duplex = DUPLEX_FULL; duplex 250 drivers/net/ethernet/ibm/emac/phy.c phy->duplex = DUPLEX_FULL; duplex 252 drivers/net/ethernet/ibm/emac/phy.c phy->duplex = DUPLEX_FULL; duplex 254 drivers/net/ethernet/ibm/emac/phy.c if (phy->duplex == DUPLEX_FULL) { duplex 264 drivers/net/ethernet/ibm/emac/phy.c phy->duplex = DUPLEX_FULL; duplex 266 drivers/net/ethernet/ibm/emac/phy.c phy->duplex = DUPLEX_HALF; duplex 520 drivers/net/ethernet/ibm/emac/phy.c phy->duplex = DUPLEX_HALF; duplex 65 drivers/net/ethernet/ibm/emac/phy.h int duplex; duplex 725 drivers/net/ethernet/ibm/ibmveth.c cmd->base.duplex = DUPLEX_FULL; duplex 2397 drivers/net/ethernet/ibm/ibmvnic.c adapter->duplex = DUPLEX_UNKNOWN; duplex 2400 drivers/net/ethernet/ibm/ibmvnic.c cmd->base.duplex = adapter->duplex; duplex 4463 drivers/net/ethernet/ibm/ibmvnic.c adapter->duplex = DUPLEX_FULL; duplex 4465 drivers/net/ethernet/ibm/ibmvnic.c adapter->duplex = DUPLEX_HALF; duplex 4467 drivers/net/ethernet/ibm/ibmvnic.c adapter->duplex = DUPLEX_UNKNOWN; duplex 1001 drivers/net/ethernet/ibm/ibmvnic.h u8 duplex; duplex 1666 drivers/net/ethernet/intel/e100.c static void e100_adjust_adaptive_ifs(struct nic *nic, int speed, int duplex) duplex 1671 drivers/net/ethernet/intel/e100.c if (duplex == DUPLEX_HALF) { duplex 1705 drivers/net/ethernet/intel/e100.c cmd.duplex == DUPLEX_FULL ? "Full" : "Half"); duplex 1723 drivers/net/ethernet/intel/e100.c e100_adjust_adaptive_ifs(nic, speed, cmd.duplex); duplex 1729 drivers/net/ethernet/intel/e100.c if (nic->flags & ich && speed == SPEED_10 && cmd.duplex == DUPLEX_HALF) duplex 132 drivers/net/ethernet/intel/e1000/e1000_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 134 drivers/net/ethernet/intel/e1000/e1000_ethtool.c cmd->base.duplex = DUPLEX_HALF; duplex 137 drivers/net/ethernet/intel/e1000/e1000_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 205 drivers/net/ethernet/intel/e1000/e1000_ethtool.c if (e1000_set_spd_dplx(adapter, speed, cmd->base.duplex)) { duplex 2056 drivers/net/ethernet/intel/e1000/e1000_hw.c u16 duplex; duplex 2231 drivers/net/ethernet/intel/e1000/e1000_hw.c e1000_get_speed_and_duplex(hw, &speed, &duplex); duplex 2238 drivers/net/ethernet/intel/e1000/e1000_hw.c if (duplex == HALF_DUPLEX) duplex 2505 drivers/net/ethernet/intel/e1000/e1000_hw.c u16 speed, duplex; duplex 2508 drivers/net/ethernet/intel/e1000/e1000_hw.c e1000_get_speed_and_duplex(hw, &speed, &duplex); duplex 2560 drivers/net/ethernet/intel/e1000/e1000_hw.c s32 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 *speed, u16 *duplex) duplex 2580 drivers/net/ethernet/intel/e1000/e1000_hw.c *duplex = FULL_DUPLEX; duplex 2583 drivers/net/ethernet/intel/e1000/e1000_hw.c *duplex = HALF_DUPLEX; duplex 2589 drivers/net/ethernet/intel/e1000/e1000_hw.c *duplex = FULL_DUPLEX; duplex 2602 drivers/net/ethernet/intel/e1000/e1000_hw.c *duplex = HALF_DUPLEX; duplex 2612 drivers/net/ethernet/intel/e1000/e1000_hw.c *duplex = HALF_DUPLEX; duplex 5191 drivers/net/ethernet/intel/e1000/e1000_hw.c u16 phy_data, phy_saved_data, speed, duplex, i; duplex 5197 drivers/net/ethernet/intel/e1000/e1000_hw.c ret_val = e1000_get_speed_and_duplex(hw, &speed, &duplex); duplex 277 drivers/net/ethernet/intel/e1000/e1000_hw.h s32 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 * speed, u16 * duplex); duplex 27 drivers/net/ethernet/intel/e1000e/80003es2lan.c static s32 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex); duplex 641 drivers/net/ethernet/intel/e1000e/80003es2lan.c u16 *duplex) duplex 646 drivers/net/ethernet/intel/e1000e/80003es2lan.c ret_val = e1000e_get_speed_and_duplex_copper(hw, speed, duplex); duplex 651 drivers/net/ethernet/intel/e1000e/80003es2lan.c duplex); duplex 1084 drivers/net/ethernet/intel/e1000e/80003es2lan.c u16 duplex; duplex 1088 drivers/net/ethernet/intel/e1000e/80003es2lan.c &duplex); duplex 1095 drivers/net/ethernet/intel/e1000e/80003es2lan.c ret_val = e1000_cfg_kmrn_10_100_80003es2lan(hw, duplex); duplex 1109 drivers/net/ethernet/intel/e1000e/80003es2lan.c static s32 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex) duplex 1141 drivers/net/ethernet/intel/e1000e/80003es2lan.c if (duplex == HALF_DUPLEX) duplex 143 drivers/net/ethernet/intel/e1000e/ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 148 drivers/net/ethernet/intel/e1000e/ethtool.c cmd->base.duplex = adapter->link_duplex - 1; duplex 162 drivers/net/ethernet/intel/e1000e/ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 164 drivers/net/ethernet/intel/e1000e/ethtool.c cmd->base.duplex = DUPLEX_HALF; duplex 309 drivers/net/ethernet/intel/e1000e/ethtool.c if (e1000_set_spd_dplx(adapter, speed, cmd->base.duplex)) { duplex 1001 drivers/net/ethernet/intel/e1000e/ich8lan.c u16 speed, duplex, scale = 0; duplex 1012 drivers/net/ethernet/intel/e1000e/ich8lan.c hw->mac.ops.get_link_up_info(hw, &speed, &duplex); duplex 1389 drivers/net/ethernet/intel/e1000e/ich8lan.c u16 speed, duplex; duplex 1391 drivers/net/ethernet/intel/e1000e/ich8lan.c e1000e_get_speed_and_duplex_copper(hw, &speed, &duplex); duplex 1395 drivers/net/ethernet/intel/e1000e/ich8lan.c if (duplex == HALF_DUPLEX && speed == SPEED_10) { duplex 1400 drivers/net/ethernet/intel/e1000e/ich8lan.c duplex == FULL_DUPLEX && speed != SPEED_1000) { duplex 5087 drivers/net/ethernet/intel/e1000e/ich8lan.c u16 *duplex) duplex 5091 drivers/net/ethernet/intel/e1000e/ich8lan.c ret_val = e1000e_get_speed_and_duplex_copper(hw, speed, duplex); duplex 1007 drivers/net/ethernet/intel/e1000e/mac.c u16 speed, duplex; duplex 1150 drivers/net/ethernet/intel/e1000e/mac.c ret_val = mac->ops.get_link_up_info(hw, &speed, &duplex); duplex 1156 drivers/net/ethernet/intel/e1000e/mac.c if (duplex == HALF_DUPLEX) duplex 1306 drivers/net/ethernet/intel/e1000e/mac.c u16 *duplex) duplex 1319 drivers/net/ethernet/intel/e1000e/mac.c *duplex = FULL_DUPLEX; duplex 1321 drivers/net/ethernet/intel/e1000e/mac.c *duplex = HALF_DUPLEX; duplex 1325 drivers/net/ethernet/intel/e1000e/mac.c *duplex == FULL_DUPLEX ? "Full" : "Half"); duplex 1340 drivers/net/ethernet/intel/e1000e/mac.c *hw, u16 *speed, u16 *duplex) duplex 1343 drivers/net/ethernet/intel/e1000e/mac.c *duplex = FULL_DUPLEX; duplex 20 drivers/net/ethernet/intel/e1000e/mac.h u16 *duplex); duplex 22 drivers/net/ethernet/intel/e1000e/mac.h u16 *speed, u16 *duplex); duplex 1013 drivers/net/ethernet/intel/i40e/i40e_ethtool.c ks->base.duplex = DUPLEX_FULL; duplex 1035 drivers/net/ethernet/intel/i40e/i40e_ethtool.c ks->base.duplex = DUPLEX_UNKNOWN; duplex 309 drivers/net/ethernet/intel/iavf/iavf_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 2027 drivers/net/ethernet/intel/ice/ice_ethtool.c ks->base.duplex = DUPLEX_FULL; duplex 2075 drivers/net/ethernet/intel/ice/ice_ethtool.c ks->base.duplex = DUPLEX_UNKNOWN; duplex 1270 drivers/net/ethernet/intel/igb/e1000_82575.c u16 *duplex) duplex 1276 drivers/net/ethernet/intel/igb/e1000_82575.c duplex); duplex 1279 drivers/net/ethernet/intel/igb/e1000_82575.c duplex); duplex 1294 drivers/net/ethernet/intel/igb/e1000_82575.c u16 speed, duplex; duplex 1298 drivers/net/ethernet/intel/igb/e1000_82575.c &duplex); duplex 1358 drivers/net/ethernet/intel/igb/e1000_82575.c u16 *duplex) duplex 1366 drivers/net/ethernet/intel/igb/e1000_82575.c *duplex = 0; duplex 1391 drivers/net/ethernet/intel/igb/e1000_82575.c *duplex = FULL_DUPLEX; duplex 1393 drivers/net/ethernet/intel/igb/e1000_82575.c *duplex = HALF_DUPLEX; duplex 1401 drivers/net/ethernet/intel/igb/e1000_82575.c *duplex = FULL_DUPLEX; duplex 877 drivers/net/ethernet/intel/igb/e1000_mac.c u16 speed, duplex; duplex 1046 drivers/net/ethernet/intel/igb/e1000_mac.c ret_val = hw->mac.ops.get_speed_and_duplex(hw, &speed, &duplex); duplex 1052 drivers/net/ethernet/intel/igb/e1000_mac.c if (duplex == HALF_DUPLEX) duplex 1202 drivers/net/ethernet/intel/igb/e1000_mac.c u16 *duplex) duplex 1219 drivers/net/ethernet/intel/igb/e1000_mac.c *duplex = FULL_DUPLEX; duplex 1222 drivers/net/ethernet/intel/igb/e1000_mac.c *duplex = HALF_DUPLEX; duplex 27 drivers/net/ethernet/intel/igb/e1000_mac.h u16 *duplex); duplex 225 drivers/net/ethernet/intel/igb/igb_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 227 drivers/net/ethernet/intel/igb/igb_ethtool.c cmd->base.duplex = DUPLEX_HALF; duplex 230 drivers/net/ethernet/intel/igb/igb_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 329 drivers/net/ethernet/intel/igb/igb_ethtool.c if (igb_set_spd_dplx(adapter, speed, cmd->base.duplex)) { duplex 75 drivers/net/ethernet/intel/igbvf/ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 77 drivers/net/ethernet/intel/igbvf/ethtool.c cmd->base.duplex = DUPLEX_HALF; duplex 80 drivers/net/ethernet/intel/igbvf/ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 8 drivers/net/ethernet/intel/igbvf/vf.c u16 *duplex); duplex 75 drivers/net/ethernet/intel/igbvf/vf.c u16 *duplex) duplex 88 drivers/net/ethernet/intel/igbvf/vf.c *duplex = FULL_DUPLEX; duplex 90 drivers/net/ethernet/intel/igbvf/vf.c *duplex = HALF_DUPLEX; duplex 1728 drivers/net/ethernet/intel/igc/igc_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 1730 drivers/net/ethernet/intel/igc/igc_ethtool.c cmd->base.duplex = DUPLEX_HALF; duplex 1733 drivers/net/ethernet/intel/igc/igc_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 36 drivers/net/ethernet/intel/igc/igc_hw.h u16 *duplex); duplex 463 drivers/net/ethernet/intel/igc/igc_mac.c u16 speed, duplex; duplex 630 drivers/net/ethernet/intel/igc/igc_mac.c ret_val = hw->mac.ops.get_speed_and_duplex(hw, &speed, &duplex); duplex 636 drivers/net/ethernet/intel/igc/igc_mac.c if (duplex == HALF_DUPLEX) duplex 691 drivers/net/ethernet/intel/igc/igc_mac.c u16 *duplex) duplex 718 drivers/net/ethernet/intel/igc/igc_mac.c *duplex = FULL_DUPLEX; duplex 721 drivers/net/ethernet/intel/igc/igc_mac.c *duplex = HALF_DUPLEX; duplex 29 drivers/net/ethernet/intel/igc/igc_mac.h u16 *duplex); duplex 89 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 92 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 117 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c (speed + cmd->base.duplex != SPEED_10000 + DUPLEX_FULL)) duplex 355 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 358 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 433 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c (speed + cmd->base.duplex != SPEED_10000 + DUPLEX_FULL)) duplex 110 drivers/net/ethernet/intel/ixgbevf/ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 113 drivers/net/ethernet/intel/ixgbevf/ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 2618 drivers/net/ethernet/jme.c (jme->mii_if.full_duplex != cmd->base.duplex)) duplex 1245 drivers/net/ethernet/marvell/mv643xx_eth.c if (dev->phydev->duplex == DUPLEX_FULL) duplex 1529 drivers/net/ethernet/marvell/mv643xx_eth.c cmd->base.duplex = (port_status & FULL_DUPLEX) ? duplex 2193 drivers/net/ethernet/marvell/mv643xx_eth.c int duplex; duplex 2229 drivers/net/ethernet/marvell/mv643xx_eth.c duplex = (port_status & FULL_DUPLEX) ? 1 : 0; duplex 2233 drivers/net/ethernet/marvell/mv643xx_eth.c speed, duplex ? "full" : "half", fc ? "en" : "dis"); duplex 2754 drivers/net/ethernet/marvell/mv643xx_eth.c of_property_read_u32(pnp, "duplex", &ppd.duplex); duplex 3011 drivers/net/ethernet/marvell/mv643xx_eth.c static void phy_init(struct mv643xx_eth_private *mp, int speed, int duplex) duplex 3019 drivers/net/ethernet/marvell/mv643xx_eth.c phy->duplex = 0; duplex 3027 drivers/net/ethernet/marvell/mv643xx_eth.c phy->duplex = duplex; duplex 3032 drivers/net/ethernet/marvell/mv643xx_eth.c static void init_pscr(struct mv643xx_eth_private *mp, int speed, int duplex) duplex 3054 drivers/net/ethernet/marvell/mv643xx_eth.c if (duplex == DUPLEX_FULL) duplex 3153 drivers/net/ethernet/marvell/mv643xx_eth.c phy_init(mp, pd->speed, pd->duplex); duplex 3164 drivers/net/ethernet/marvell/mv643xx_eth.c init_pscr(mp, pd->speed, pd->duplex); duplex 3448 drivers/net/ethernet/marvell/mvneta.c state->duplex = !!(gmac_stat & MVNETA_GMAC_FULL_DUPLEX); duplex 3515 drivers/net/ethernet/marvell/mvneta.c if (state->duplex) duplex 4828 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c state->duplex = 1; duplex 4851 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c state->duplex = !!(val & MVPP2_GMAC_STATUS0_FULL_DUPLEX); duplex 4997 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (state->duplex) duplex 943 drivers/net/ethernet/marvell/pxa168_eth.c if (phy->duplex) duplex 979 drivers/net/ethernet/marvell/pxa168_eth.c cmd.base.duplex = pep->phy_duplex; duplex 1476 drivers/net/ethernet/marvell/pxa168_eth.c pep->phy_duplex = pep->pd->duplex; duplex 311 drivers/net/ethernet/marvell/skge.c cmd->base.duplex = skge->duplex; duplex 335 drivers/net/ethernet/marvell/skge.c skge->duplex = -1; duplex 343 drivers/net/ethernet/marvell/skge.c if (cmd->base.duplex == DUPLEX_FULL) duplex 345 drivers/net/ethernet/marvell/skge.c else if (cmd->base.duplex == DUPLEX_HALF) duplex 351 drivers/net/ethernet/marvell/skge.c if (cmd->base.duplex == DUPLEX_FULL) duplex 353 drivers/net/ethernet/marvell/skge.c else if (cmd->base.duplex == DUPLEX_HALF) duplex 360 drivers/net/ethernet/marvell/skge.c if (cmd->base.duplex == DUPLEX_FULL) duplex 362 drivers/net/ethernet/marvell/skge.c else if (cmd->base.duplex == DUPLEX_HALF) duplex 375 drivers/net/ethernet/marvell/skge.c skge->duplex = cmd->base.duplex; duplex 1060 drivers/net/ethernet/marvell/skge.c skge->duplex == DUPLEX_FULL ? "full" : "half", duplex 1241 drivers/net/ethernet/marvell/skge.c skge->duplex = DUPLEX_FULL; duplex 1244 drivers/net/ethernet/marvell/skge.c skge->duplex = DUPLEX_HALF; duplex 1355 drivers/net/ethernet/marvell/skge.c if (skge->duplex == DUPLEX_FULL) duplex 1401 drivers/net/ethernet/marvell/skge.c if (skge->duplex == DUPLEX_FULL) duplex 1448 drivers/net/ethernet/marvell/skge.c skge->duplex = DUPLEX_FULL; duplex 1451 drivers/net/ethernet/marvell/skge.c skge->duplex = DUPLEX_HALF; duplex 1599 drivers/net/ethernet/marvell/skge.c if (skge->duplex == DUPLEX_HALF) { duplex 1842 drivers/net/ethernet/marvell/skge.c if (hw->phy_type != SK_PHY_XMAC && skge->duplex == DUPLEX_FULL) duplex 2000 drivers/net/ethernet/marvell/skge.c if (skge->duplex == DUPLEX_FULL) duplex 2113 drivers/net/ethernet/marvell/skge.c if (skge->duplex == DUPLEX_FULL) duplex 2304 drivers/net/ethernet/marvell/skge.c if (skge->duplex == DUPLEX_FULL || skge->autoneg == AUTONEG_ENABLE) duplex 2367 drivers/net/ethernet/marvell/skge.c skge->duplex = (phystat & PHY_M_PS_FULL_DUP) duplex 2387 drivers/net/ethernet/marvell/skge.c (skge->speed < SPEED_1000 && skge->duplex == DUPLEX_HALF)) duplex 2399 drivers/net/ethernet/marvell/skge.c skge->duplex = (phystat & PHY_M_PS_FULL_DUP) ? DUPLEX_FULL : DUPLEX_HALF; duplex 3840 drivers/net/ethernet/marvell/skge.c skge->duplex = -1; duplex 2468 drivers/net/ethernet/marvell/skge.h u8 duplex; /* DUPLEX_HALF, DUPLEX_FULL */ duplex 459 drivers/net/ethernet/marvell/sky2.c if (sky2->duplex == DUPLEX_FULL) { duplex 2200 drivers/net/ethernet/marvell/sky2.c sky2->duplex == DUPLEX_FULL ? "full" : "half", duplex 2253 drivers/net/ethernet/marvell/sky2.c sky2->duplex = (aux & PHY_M_PS_FULL_DUP) ? DUPLEX_FULL : DUPLEX_HALF; duplex 2284 drivers/net/ethernet/marvell/sky2.c if (sky2->duplex == DUPLEX_HALF && sky2->speed < SPEED_1000 && duplex 2324 drivers/net/ethernet/marvell/sky2.c sky2->duplex = duplex 3597 drivers/net/ethernet/marvell/sky2.c cmd->base.duplex = sky2->duplex; duplex 3632 drivers/net/ethernet/marvell/sky2.c sky2->duplex = -1; duplex 3640 drivers/net/ethernet/marvell/sky2.c if (cmd->base.duplex == DUPLEX_FULL) duplex 3642 drivers/net/ethernet/marvell/sky2.c else if (cmd->base.duplex == DUPLEX_HALF) duplex 3648 drivers/net/ethernet/marvell/sky2.c if (cmd->base.duplex == DUPLEX_FULL) duplex 3650 drivers/net/ethernet/marvell/sky2.c else if (cmd->base.duplex == DUPLEX_HALF) duplex 3657 drivers/net/ethernet/marvell/sky2.c if (cmd->base.duplex == DUPLEX_FULL) duplex 3659 drivers/net/ethernet/marvell/sky2.c else if (cmd->base.duplex == DUPLEX_HALF) duplex 3672 drivers/net/ethernet/marvell/sky2.c sky2->duplex = cmd->base.duplex; duplex 4750 drivers/net/ethernet/marvell/sky2.c sky2->duplex = -1; duplex 2266 drivers/net/ethernet/marvell/sky2.h u8 duplex; /* DUPLEX_HALF, DUPLEX_FULL */ duplex 362 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (state->duplex == DUPLEX_FULL) { duplex 394 drivers/net/ethernet/mediatek/mtk_eth_soc.c state->duplex = (pmsr & MAC_MSR_DPX) >> 1; duplex 98 drivers/net/ethernet/mediatek/mtk_sgmii.c if (state->duplex == DUPLEX_FULL) duplex 886 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c link_ksettings->base.duplex = DUPLEX_FULL; duplex 889 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c link_ksettings->base.duplex = DUPLEX_UNKNOWN; duplex 932 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c link_ksettings->base.duplex); duplex 936 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c (link_ksettings->base.duplex == DUPLEX_HALF)) duplex 787 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c u8 duplex = DUPLEX_UNKNOWN; duplex 798 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c duplex = DUPLEX_FULL; duplex 802 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c link_ksettings->base.duplex = duplex; duplex 227 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c link_ksettings->base.duplex = DUPLEX_FULL; duplex 2700 drivers/net/ethernet/mellanox/mlxsw/spectrum.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 2707 drivers/net/ethernet/mellanox/mlxsw/spectrum.c cmd->base.duplex = DUPLEX_FULL; duplex 3096 drivers/net/ethernet/mellanox/mlxsw/spectrum.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 3103 drivers/net/ethernet/mellanox/mlxsw/spectrum.c cmd->base.duplex = DUPLEX_FULL; duplex 693 drivers/net/ethernet/mellanox/mlxsw/switchx2.c u8 duplex = DUPLEX_UNKNOWN; duplex 702 drivers/net/ethernet/mellanox/mlxsw/switchx2.c duplex = DUPLEX_FULL; duplex 708 drivers/net/ethernet/mellanox/mlxsw/switchx2.c cmd->base.duplex = duplex; duplex 1203 drivers/net/ethernet/micrel/ksz884x.c u8 duplex; duplex 1335 drivers/net/ethernet/micrel/ksz884x.c u8 duplex; duplex 3263 drivers/net/ethernet/micrel/ksz884x.c if (1 == info->duplex) duplex 3322 drivers/net/ethernet/micrel/ksz884x.c info->duplex = 1; duplex 3324 drivers/net/ethernet/micrel/ksz884x.c info->duplex = 2; duplex 3334 drivers/net/ethernet/micrel/ksz884x.c (1 == info->duplex)); duplex 3390 drivers/net/ethernet/micrel/ksz884x.c if (port->speed || port->duplex) { duplex 3397 drivers/net/ethernet/micrel/ksz884x.c if (1 == port->duplex) duplex 3400 drivers/net/ethernet/micrel/ksz884x.c else if (2 == port->duplex) duplex 3435 drivers/net/ethernet/micrel/ksz884x.c if (1 == port->duplex) duplex 3437 drivers/net/ethernet/micrel/ksz884x.c else if (2 == port->duplex) duplex 5998 drivers/net/ethernet/micrel/ksz884x.c if (0 == cmd->base.duplex) duplex 6002 drivers/net/ethernet/micrel/ksz884x.c else if (1 == cmd->base.duplex) duplex 6010 drivers/net/ethernet/micrel/ksz884x.c port->duplex = 0; duplex 6014 drivers/net/ethernet/micrel/ksz884x.c port->duplex = cmd->base.duplex + 1; duplex 778 drivers/net/ethernet/microchip/enc28j60.c enc28j60_setlink(struct net_device *ndev, u8 autoneg, u16 speed, u8 duplex) duplex 788 drivers/net/ethernet/microchip/enc28j60.c priv->full_duplex = (duplex == DUPLEX_FULL); duplex 1050 drivers/net/ethernet/microchip/enc28j60.c int duplex; duplex 1057 drivers/net/ethernet/microchip/enc28j60.c duplex = reg & PHSTAT2_DPXSTAT; duplex 1063 drivers/net/ethernet/microchip/enc28j60.c duplex ? "Full duplex" : "Half duplex"); duplex 1488 drivers/net/ethernet/microchip/enc28j60.c cmd->base.duplex = priv->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; duplex 1500 drivers/net/ethernet/microchip/enc28j60.c cmd->base.speed, cmd->base.duplex); duplex 684 drivers/net/ethernet/microchip/encx24j600.c u8 duplex) duplex 695 drivers/net/ethernet/microchip/encx24j600.c priv->full_duplex = (duplex == DUPLEX_FULL); duplex 952 drivers/net/ethernet/microchip/encx24j600.c cmd->base.duplex = priv->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; duplex 964 drivers/net/ethernet/microchip/encx24j600.c cmd->base.speed, cmd->base.duplex); duplex 924 drivers/net/ethernet/microchip/lan743x_main.c u8 duplex, u16 local_adv, duplex 964 drivers/net/ethernet/microchip/lan743x_main.c ksettings.base.duplex, duplex 1620 drivers/net/ethernet/myricom/myri10ge/myri10ge.c cmd->base.duplex = DUPLEX_FULL; duplex 587 drivers/net/ethernet/natsemi/natsemi.c u8 duplex; /* Duplex, half or full */ duplex 760 drivers/net/ethernet/natsemi/natsemi.c np->duplex = (tmp & BMCR_FULLDPLX)? DUPLEX_FULL : DUPLEX_HALF; duplex 1170 drivers/net/ethernet/natsemi/natsemi.c if (np->duplex == DUPLEX_FULL) duplex 1649 drivers/net/ethernet/natsemi/natsemi.c int duplex = np->duplex; duplex 1680 drivers/net/ethernet/natsemi/natsemi.c duplex = np->full_duplex; duplex 1681 drivers/net/ethernet/natsemi/natsemi.c if (!duplex) { duplex 1686 drivers/net/ethernet/natsemi/natsemi.c duplex = 1; duplex 1688 drivers/net/ethernet/natsemi/natsemi.c duplex = 1; duplex 1693 drivers/net/ethernet/natsemi/natsemi.c if (duplex ^ !!(np->rx_config & RxAcceptTx)) { duplex 1698 drivers/net/ethernet/natsemi/natsemi.c duplex ? "full" : "half"); duplex 1699 drivers/net/ethernet/natsemi/natsemi.c if (duplex) { duplex 2842 drivers/net/ethernet/natsemi/natsemi.c ecmd->base.duplex = np->duplex; duplex 2901 drivers/net/ethernet/natsemi/natsemi.c ecmd->base.duplex = DUPLEX_FULL; duplex 2903 drivers/net/ethernet/natsemi/natsemi.c ecmd->base.duplex = DUPLEX_HALF; duplex 2940 drivers/net/ethernet/natsemi/natsemi.c if (ecmd->base.duplex != DUPLEX_HALF && duplex 2941 drivers/net/ethernet/natsemi/natsemi.c ecmd->base.duplex != DUPLEX_FULL) duplex 2988 drivers/net/ethernet/natsemi/natsemi.c np->duplex = ecmd->base.duplex; duplex 2990 drivers/net/ethernet/natsemi/natsemi.c if (np->duplex == DUPLEX_HALF) duplex 1255 drivers/net/ethernet/natsemi/ns83820.c cmd->base.duplex = fullduplex ? DUPLEX_FULL : DUPLEX_HALF; duplex 1299 drivers/net/ethernet/natsemi/ns83820.c if (cmd->base.duplex != fullduplex) { duplex 1302 drivers/net/ethernet/natsemi/ns83820.c if (cmd->base.duplex == DUPLEX_FULL) { duplex 5271 drivers/net/ethernet/neterion/s2io.c (cmd->base.duplex != DUPLEX_FULL)) duplex 5311 drivers/net/ethernet/neterion/s2io.c cmd->base.duplex = DUPLEX_FULL; duplex 5314 drivers/net/ethernet/neterion/s2io.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 58 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c (cmd->base.duplex != DUPLEX_FULL)) duplex 89 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 92 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 271 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 288 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 307 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 179 drivers/net/ethernet/ni/nixge.c unsigned int duplex; duplex 431 drivers/net/ethernet/ni/nixge.c phydev->duplex != priv->duplex) { duplex 434 drivers/net/ethernet/ni/nixge.c priv->duplex = phydev->duplex; duplex 765 drivers/net/ethernet/nvidia/forcedeth.c int duplex; duplex 3269 drivers/net/ethernet/nvidia/forcedeth.c static void nv_force_linkspeed(struct net_device *dev, int speed, int duplex) duplex 3277 drivers/net/ethernet/nvidia/forcedeth.c np->duplex = duplex; duplex 3296 drivers/net/ethernet/nvidia/forcedeth.c if (np->duplex == 0) duplex 3327 drivers/net/ethernet/nvidia/forcedeth.c writel(NVREG_MISC1_FORCE | (np->duplex ? 0 : NVREG_MISC1_HD), duplex 3353 drivers/net/ethernet/nvidia/forcedeth.c int newdup = np->duplex; duplex 3449 drivers/net/ethernet/nvidia/forcedeth.c if (np->duplex == newdup && np->linkspeed == newls) duplex 3452 drivers/net/ethernet/nvidia/forcedeth.c np->duplex = newdup; duplex 3478 drivers/net/ethernet/nvidia/forcedeth.c if (np->duplex == 0) duplex 3491 drivers/net/ethernet/nvidia/forcedeth.c if (!phy_exp && !np->duplex && (np->driver_data & DEV_HAS_COLLISION_FIX)) { duplex 3501 drivers/net/ethernet/nvidia/forcedeth.c if (!phy_exp && !np->duplex && (np->driver_data & DEV_HAS_COLLISION_FIX)) duplex 3518 drivers/net/ethernet/nvidia/forcedeth.c writel(NVREG_MISC1_FORCE | (np->duplex ? 0 : NVREG_MISC1_HD), duplex 3526 drivers/net/ethernet/nvidia/forcedeth.c if (netif_running(dev) && (np->duplex != 0)) { duplex 4331 drivers/net/ethernet/nvidia/forcedeth.c cmd->base.duplex = DUPLEX_HALF; duplex 4332 drivers/net/ethernet/nvidia/forcedeth.c if (np->duplex) duplex 4333 drivers/net/ethernet/nvidia/forcedeth.c cmd->base.duplex = DUPLEX_FULL; duplex 4336 drivers/net/ethernet/nvidia/forcedeth.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 4412 drivers/net/ethernet/nvidia/forcedeth.c if (cmd->base.duplex != DUPLEX_HALF && duplex 4413 drivers/net/ethernet/nvidia/forcedeth.c cmd->base.duplex != DUPLEX_FULL) duplex 4495 drivers/net/ethernet/nvidia/forcedeth.c if (speed == SPEED_10 && cmd->base.duplex == DUPLEX_HALF) duplex 4497 drivers/net/ethernet/nvidia/forcedeth.c if (speed == SPEED_10 && cmd->base.duplex == DUPLEX_FULL) duplex 4499 drivers/net/ethernet/nvidia/forcedeth.c if (speed == SPEED_100 && cmd->base.duplex == DUPLEX_HALF) duplex 4501 drivers/net/ethernet/nvidia/forcedeth.c if (speed == SPEED_100 && cmd->base.duplex == DUPLEX_FULL) duplex 4769 drivers/net/ethernet/nvidia/forcedeth.c if ((!np->autoneg && np->duplex == 0) || duplex 4770 drivers/net/ethernet/nvidia/forcedeth.c (np->autoneg && !pause->autoneg && np->duplex == 0)) { duplex 6056 drivers/net/ethernet/nvidia/forcedeth.c np->duplex = 0; duplex 413 drivers/net/ethernet/nxp/lpc_eth.c int duplex; duplex 455 drivers/net/ethernet/nxp/lpc_eth.c if (pldat->duplex == DUPLEX_FULL) { duplex 726 drivers/net/ethernet/nxp/lpc_eth.c (pldat->duplex != phydev->duplex)) { duplex 728 drivers/net/ethernet/nxp/lpc_eth.c pldat->duplex = phydev->duplex; duplex 736 drivers/net/ethernet/nxp/lpc_eth.c pldat->duplex = -1; duplex 777 drivers/net/ethernet/nxp/lpc_eth.c pldat->duplex = -1; duplex 1372 drivers/net/ethernet/nxp/lpc_eth.c pldat->duplex = DUPLEX_FULL; duplex 126 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c copy_ecmd.base.duplex = DUPLEX_FULL; duplex 134 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c hw->mac.link_duplex = copy_ecmd.base.duplex; duplex 985 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c u16 duplex) duplex 1008 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c u16 duplex) duplex 1028 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c if (duplex == DUPLEX_FULL) duplex 1061 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c hw->mac.link_duplex = cmd.duplex; duplex 1071 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c cmd.duplex == DUPLEX_FULL ? "Full" : "Half"); duplex 309 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.c cmd.duplex = hw->mac.link_duplex; duplex 1002 drivers/net/ethernet/pasemi/pasemi_mac.c if (!dev->phydev->duplex) duplex 1025 drivers/net/ethernet/pasemi/pasemi_mac.c mac->duplex = dev->phydev->duplex; duplex 1034 drivers/net/ethernet/pasemi/pasemi_mac.c dev->name, mac->speed, mac->duplex ? "full" : "half"); duplex 1048 drivers/net/ethernet/pasemi/pasemi_mac.c mac->duplex = -1; duplex 83 drivers/net/ethernet/pasemi/pasemi_mac.h int duplex; duplex 235 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c ks->base.duplex = DUPLEX_FULL; duplex 237 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c ks->base.duplex = DUPLEX_UNKNOWN; duplex 1781 drivers/net/ethernet/qlogic/netxen/netxen_nic.h u32 speed, u32 duplex, u32 autoneg); duplex 239 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c u32 speed, u32 duplex, u32 autoneg) duplex 246 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c cmd.req.arg2 = duplex; duplex 107 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c cmd->base.duplex = adapter->link_duplex; duplex 125 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c cmd->base.duplex = adapter->link_duplex; duplex 140 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 234 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 260 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c ret = nx_fw_cmd_set_gbe_port(adapter, speed, cmd->base.duplex, duplex 268 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c adapter->link_duplex = cmd->base.duplex; duplex 1391 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c u8 link_status, module, duplex, autoneg; duplex 1401 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c duplex = (msg->body[2] >> 16) & 0xff; duplex 1414 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c if (duplex == LINKEVENT_FULL_DUPLEX) duplex 1851 drivers/net/ethernet/qlogic/qed/qed_main.c if_link->duplex = DUPLEX_FULL; duplex 513 drivers/net/ethernet/qlogic/qede/qede_ethtool.c base->duplex = current_link.duplex; duplex 516 drivers/net/ethernet/qlogic/qede/qede_ethtool.c base->duplex = DUPLEX_UNKNOWN; duplex 1725 drivers/net/ethernet/qlogic/qla3xxx.c cmd->base.duplex = ql_get_full_dup(qdev); duplex 2320 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u8 link_status, duplex; duplex 2325 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c duplex = LSB(MSW(data[3])); duplex 2326 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c if (duplex) duplex 3314 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ecmd->base.duplex = ahw->link_duplex; duplex 3318 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ecmd->base.duplex = DUPLEX_UNKNOWN; duplex 3402 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c if (ecmd->base.duplex == DUPLEX_HALF) { duplex 312 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c ecmd->base.duplex = adapter->ahw->link_duplex; duplex 337 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c ecmd->base.duplex = ahw->link_duplex; duplex 342 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c ecmd->base.duplex = DUPLEX_UNKNOWN; duplex 455 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c if (ecmd->base.duplex) duplex 505 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c adapter->ahw->link_duplex = ecmd->base.duplex; duplex 1037 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c u8 link_status, module, duplex, autoneg, lb_status = 0; duplex 1047 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c duplex = (msg->body[2] >> 16) & 0xff; duplex 1066 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (duplex == LINKEVENT_FULL_DUPLEX) duplex 522 drivers/net/ethernet/qualcomm/emac/emac-mac.c if (phydev->duplex == DUPLEX_FULL) duplex 181 drivers/net/ethernet/qualcomm/qca_debug.c cmd->base.duplex = DUPLEX_HALF; duplex 982 drivers/net/ethernet/rdc/r6040.c if (phydev->link && (lp->old_duplex != phydev->duplex)) { duplex 983 drivers/net/ethernet/rdc/r6040.c lp->mcr0 |= (phydev->duplex == DUPLEX_FULL ? MCR0_FD : 0); duplex 987 drivers/net/ethernet/rdc/r6040.c lp->old_duplex = phydev->duplex; duplex 1576 drivers/net/ethernet/realtek/8139too.c int duplex = ((mii_lpa & LPA_100FULL) || duplex 1578 drivers/net/ethernet/realtek/8139too.c if (tp->mii.full_duplex != duplex) { duplex 1579 drivers/net/ethernet/realtek/8139too.c tp->mii.full_duplex = duplex; duplex 2073 drivers/net/ethernet/realtek/r8169_main.c dev->phydev->duplex != DUPLEX_FULL) { duplex 500 drivers/net/ethernet/renesas/sh_eth.c sh_eth_modify(ndev, ECMR, ECMR_DM, mdp->duplex ? ECMR_DM : 0); duplex 1541 drivers/net/ethernet/renesas/sh_eth.c sh_eth_write(ndev, ECMR_ZPF | (mdp->duplex ? ECMR_DM : 0) | duplex 1988 drivers/net/ethernet/renesas/sh_eth.c if (phydev->duplex != mdp->duplex) { duplex 1990 drivers/net/ethernet/renesas/sh_eth.c mdp->duplex = phydev->duplex; duplex 2010 drivers/net/ethernet/renesas/sh_eth.c mdp->duplex = -1; duplex 2032 drivers/net/ethernet/renesas/sh_eth.c mdp->duplex = -1; duplex 541 drivers/net/ethernet/renesas/sh_eth.h int duplex; duplex 1120 drivers/net/ethernet/rocker/rocker_main.c u8 duplex; duplex 1135 drivers/net/ethernet/rocker/rocker_main.c duplex = rocker_tlv_get_u8(info_attrs[ROCKER_TLV_CMD_PORT_SETTINGS_DUPLEX]); duplex 1144 drivers/net/ethernet/rocker/rocker_main.c ecmd->base.duplex = duplex ? DUPLEX_FULL : DUPLEX_HALF; duplex 1268 drivers/net/ethernet/rocker/rocker_main.c ecmd->base.duplex)) duplex 312 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h int duplex; duplex 1986 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c ops_ptr->link.duplex = 0; duplex 148 drivers/net/ethernet/sfc/ethtool.c cmd->base.duplex = link_state->fd ? DUPLEX_FULL : DUPLEX_HALF; duplex 164 drivers/net/ethernet/sfc/ethtool.c (cmd->base.duplex != DUPLEX_FULL)) { duplex 132 drivers/net/ethernet/sfc/falcon/ethtool.c cmd->base.duplex = link_state->fd ? DUPLEX_FULL : DUPLEX_HALF; duplex 148 drivers/net/ethernet/sfc/falcon/ethtool.c (cmd->base.duplex != DUPLEX_FULL)) { duplex 250 drivers/net/ethernet/sfc/falcon/mdio_10g.c cmd->base.duplex == prev.base.duplex && duplex 598 drivers/net/ethernet/sfc/mcdi_port.c cmd->base.duplex = efx->link_state.fd; duplex 631 drivers/net/ethernet/sfc/mcdi_port.c } else if (cmd->base.duplex) { duplex 180 drivers/net/ethernet/sgi/meth.c unsigned long duplex, speed; duplex 186 drivers/net/ethernet/sgi/meth.c duplex = ((negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040) ? duplex 189 drivers/net/ethernet/sgi/meth.c if ((priv->mac_ctrl & METH_PHY_FDX) ^ duplex) { duplex 190 drivers/net/ethernet/sgi/meth.c DPRINTK("Setting %s-duplex\n", duplex ? "full" : "half"); duplex 191 drivers/net/ethernet/sgi/meth.c if (duplex) duplex 200 drivers/net/ethernet/sgi/meth.c if (duplex) duplex 1165 drivers/net/ethernet/silan/sc92031.c cmd->base.duplex = (output_status & 0x4) ? DUPLEX_FULL : DUPLEX_HALF; duplex 1195 drivers/net/ethernet/silan/sc92031.c if (!(cmd->base.duplex == DUPLEX_HALF || duplex 1196 drivers/net/ethernet/silan/sc92031.c cmd->base.duplex == DUPLEX_FULL)) duplex 1236 drivers/net/ethernet/silan/sc92031.c if (cmd->base.duplex == DUPLEX_FULL) duplex 119 drivers/net/ethernet/sis/sis900.c static void sis900_read_mode(struct net_device *net_dev, int *speed, int *duplex); duplex 244 drivers/net/ethernet/sis/sis900.c static void sis900_set_mode(struct sis900_private *, int speed, int duplex); duplex 1313 drivers/net/ethernet/sis/sis900.c int speed = 0, duplex = 0; duplex 1329 drivers/net/ethernet/sis/sis900.c sis900_read_mode(net_dev, &speed, &duplex); duplex 1330 drivers/net/ethernet/sis/sis900.c if (duplex) { duplex 1331 drivers/net/ethernet/sis/sis900.c sis900_set_mode(sis_priv, speed, duplex); duplex 1374 drivers/net/ethernet/sis/sis900.c int speed, duplex; duplex 1383 drivers/net/ethernet/sis/sis900.c duplex = FDX_CAPABLE_HALF_SELECTED; duplex 1384 drivers/net/ethernet/sis/sis900.c sis900_set_mode(sis_priv, speed, duplex); duplex 1402 drivers/net/ethernet/sis/sis900.c static void sis900_set_mode(struct sis900_private *sp, int speed, int duplex) duplex 1425 drivers/net/ethernet/sis/sis900.c if (duplex == FDX_CAPABLE_FULL_SELECTED) { duplex 1485 drivers/net/ethernet/sis/sis900.c static void sis900_read_mode(struct net_device *net_dev, int *speed, int *duplex) duplex 1506 drivers/net/ethernet/sis/sis900.c *duplex = FDX_CAPABLE_HALF_SELECTED; duplex 1511 drivers/net/ethernet/sis/sis900.c *duplex = FDX_CAPABLE_FULL_SELECTED; duplex 1518 drivers/net/ethernet/sis/sis900.c *duplex = FDX_CAPABLE_FULL_SELECTED; duplex 1528 drivers/net/ethernet/sis/sis900.c *duplex == FDX_CAPABLE_FULL_SELECTED ? duplex 326 drivers/net/ethernet/smsc/epic100.c int i, ret, option = 0, duplex = 0; duplex 390 drivers/net/ethernet/smsc/epic100.c duplex = (dev->mem_start & 16) ? 1 : 0; duplex 395 drivers/net/ethernet/smsc/epic100.c duplex = full_duplex[card_idx]; duplex 470 drivers/net/ethernet/smsc/epic100.c if (duplex) { duplex 829 drivers/net/ethernet/smsc/epic100.c int duplex = (negotiated & 0x0100) || (negotiated & 0x01C0) == 0x0040; duplex 835 drivers/net/ethernet/smsc/epic100.c if (ep->mii.full_duplex != duplex) { duplex 836 drivers/net/ethernet/smsc/epic100.c ep->mii.full_duplex = duplex; duplex 1465 drivers/net/ethernet/smsc/smc911x.c cmd->base.duplex = duplex 1492 drivers/net/ethernet/smsc/smc911x.c (cmd->base.duplex != DUPLEX_HALF && duplex 1493 drivers/net/ethernet/smsc/smc911x.c cmd->base.duplex != DUPLEX_FULL) || duplex 1498 drivers/net/ethernet/smsc/smc911x.c lp->ctl_rfduplx = cmd->base.duplex == DUPLEX_FULL; duplex 114 drivers/net/ethernet/smsc/smc91c92_cs.c int duplex; duplex 870 drivers/net/ethernet/smsc/smc91c92_cs.c smc->duplex = 0; duplex 1294 drivers/net/ethernet/smsc/smc91c92_cs.c outw(inw(ioaddr + TCR) | TCR_ENABLE | smc->duplex, ioaddr + TCR); duplex 1329 drivers/net/ethernet/smsc/smc91c92_cs.c outw(inw(ioaddr + TCR) | TCR_ENABLE | smc->duplex, ioaddr + TCR); duplex 1415 drivers/net/ethernet/smsc/smc91c92_cs.c if (smc->duplex) duplex 1682 drivers/net/ethernet/smsc/smc91c92_cs.c TCR_ENABLE | TCR_PAD_EN | smc->duplex, ioaddr + TCR); duplex 1780 drivers/net/ethernet/smsc/smc91c92_cs.c smc->duplex = (((p & 0x0100) || ((p & 0x1c0) == 0x40)) duplex 1785 drivers/net/ethernet/smsc/smc91c92_cs.c (p & 0x0180) ? 100 : 10, smc->duplex ? 'F' : 'H'); duplex 1788 drivers/net/ethernet/smsc/smc91c92_cs.c outw(inw(ioaddr + TCR) | smc->duplex, ioaddr + TCR); duplex 1864 drivers/net/ethernet/smsc/smc91c92_cs.c ecmd->base.duplex = (tmp & TCR_FDUPLX) ? DUPLEX_FULL : DUPLEX_HALF; duplex 1878 drivers/net/ethernet/smsc/smc91c92_cs.c if (ecmd->base.duplex != DUPLEX_HALF && duplex 1879 drivers/net/ethernet/smsc/smc91c92_cs.c ecmd->base.duplex != DUPLEX_FULL) duplex 1891 drivers/net/ethernet/smsc/smc91c92_cs.c if (ecmd->base.duplex == DUPLEX_FULL) duplex 1547 drivers/net/ethernet/smsc/smc91x.c cmd->base.duplex = lp->tcr_cur_mode & TCR_SWFDUP ? duplex 1571 drivers/net/ethernet/smsc/smc91x.c (cmd->base.duplex != DUPLEX_HALF && duplex 1572 drivers/net/ethernet/smsc/smc91x.c cmd->base.duplex != DUPLEX_FULL) || duplex 1577 drivers/net/ethernet/smsc/smc91x.c lp->ctl_rfduplx = cmd->base.duplex == DUPLEX_FULL; duplex 914 drivers/net/ethernet/smsc/smsc911x.c if (phy_dev->duplex == DUPLEX_FULL) { duplex 954 drivers/net/ethernet/smsc/smsc911x.c if (phy_dev->duplex != pdata->last_duplex) { duplex 960 drivers/net/ethernet/smsc/smsc911x.c if (phy_dev->duplex) { duplex 973 drivers/net/ethernet/smsc/smsc911x.c pdata->last_duplex = phy_dev->duplex; duplex 1050 drivers/net/ethernet/smsc/smsc9420.c if (phy_dev->duplex == DUPLEX_FULL) { duplex 1079 drivers/net/ethernet/smsc/smsc9420.c if (phy_dev->duplex != pd->last_duplex) { duplex 1081 drivers/net/ethernet/smsc/smsc9420.c if (phy_dev->duplex) { duplex 1091 drivers/net/ethernet/smsc/smsc9420.c pd->last_duplex = phy_dev->duplex; duplex 444 drivers/net/ethernet/socionext/netsec.c value = phydev->duplex ? NETSEC_GMAC_MCR_REG_FULL_DUPLEX_COMMON : duplex 1121 drivers/net/ethernet/socionext/sni_ave.c if (phydev->duplex) { duplex 133 drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.c u16 duplex = 0; duplex 144 drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.c duplex = val & TSE_PCS_PARTNER_DUPLEX_MASK; duplex 147 drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.c duplex == TSE_PCS_PARTNER_DUPLEX_FULL) duplex 151 drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.c duplex == TSE_PCS_PARTNER_DUPLEX_FULL) duplex 155 drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.c duplex == TSE_PCS_PARTNER_DUPLEX_FULL) duplex 159 drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.c duplex == TSE_PCS_PARTNER_DUPLEX_HALF) duplex 163 drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.c duplex == TSE_PCS_PARTNER_DUPLEX_HALF) duplex 167 drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.c duplex == TSE_PCS_PARTNER_DUPLEX_HALF) duplex 174 drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.c if (duplex == TSE_PCS_PARTNER_DUPLEX_FULL && duplex 303 drivers/net/ethernet/stmicro/stmmac/common.h unsigned int duplex; duplex 415 drivers/net/ethernet/stmicro/stmmac/common.h u32 duplex; duplex 667 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c unsigned int duplex, unsigned int fc, duplex 1060 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c mac->link.duplex = EMAC_DUPLEX_FULL; duplex 227 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c static void dwmac1000_flow_ctrl(struct mac_device_info *hw, unsigned int duplex, duplex 247 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c if (duplex) { duplex 549 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c mac->link.duplex = GMAC_CONTROL_DM; duplex 135 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c static void dwmac100_flow_ctrl(struct mac_device_info *hw, unsigned int duplex, duplex 142 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c if (duplex) duplex 186 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c mac->link.duplex = MAC_CONTROL_F; duplex 475 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c static void dwmac4_flow_ctrl(struct mac_device_info *hw, unsigned int duplex, duplex 493 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c if (duplex) duplex 499 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c if (duplex) duplex 930 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c mac->link.duplex = GMAC_CONFIG_DM; duplex 297 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c static void dwxgmac2_flow_ctrl(struct mac_device_info *hw, unsigned int duplex, duplex 310 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c if (duplex) duplex 1407 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c mac->link.duplex = 0; duplex 318 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*flow_ctrl)(struct mac_device_info *hw, unsigned int duplex, duplex 286 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 289 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c cmd->base.duplex = priv->xstats.pcs_duplex; duplex 321 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c if (adv.duplex) { duplex 801 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c static void stmmac_mac_flow_ctrl(struct stmmac_priv *priv, u32 duplex) duplex 805 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_flow_ctrl(priv, priv->hw, duplex, priv->flow_ctrl, duplex 925 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (!state->duplex) duplex 926 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c ctrl &= ~priv->hw->link.duplex; duplex 928 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c ctrl |= priv->hw->link.duplex; duplex 932 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_mac_flow_ctrl(priv, state->duplex); duplex 140 drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h adv_lp->duplex = DUPLEX_FULL; duplex 142 drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h adv_lp->duplex |= DUPLEX_HALF; duplex 705 drivers/net/ethernet/sun/cassini.c if (ep->base.duplex == DUPLEX_FULL) duplex 4587 drivers/net/ethernet/sun/cassini.c cmd->base.duplex = full_duplex ? DUPLEX_FULL : DUPLEX_HALF; duplex 4594 drivers/net/ethernet/sun/cassini.c cmd->base.duplex = (bmcr & BMCR_FULLDPLX) ? duplex 4610 drivers/net/ethernet/sun/cassini.c cmd->base.duplex = 0xff; duplex 4618 drivers/net/ethernet/sun/cassini.c cmd->base.duplex = (cp->link_cntl & BMCR_FULLDPLX) ? duplex 4647 drivers/net/ethernet/sun/cassini.c (cmd->base.duplex != DUPLEX_HALF && duplex 4648 drivers/net/ethernet/sun/cassini.c cmd->base.duplex != DUPLEX_FULL))) duplex 1798 drivers/net/ethernet/sun/niu.c if (lp->duplex == DUPLEX_FULL) { duplex 1801 drivers/net/ethernet/sun/niu.c } else if (lp->duplex == DUPLEX_HALF) duplex 6810 drivers/net/ethernet/sun/niu.c cmd->base.duplex = lp->active_duplex; duplex 6825 drivers/net/ethernet/sun/niu.c lp->duplex = cmd->base.duplex; duplex 8960 drivers/net/ethernet/sun/niu.c lp->duplex = DUPLEX_FULL; duplex 3151 drivers/net/ethernet/sun/niu.h u8 duplex; duplex 1262 drivers/net/ethernet/sun/sungem.c int duplex; duplex 1285 drivers/net/ethernet/sun/sungem.c duplex = gp->phy_mii.duplex; duplex 1296 drivers/net/ethernet/sun/sungem.c duplex = ep->base.duplex; duplex 1309 drivers/net/ethernet/sun/sungem.c if (duplex == DUPLEX_FULL && duplex 1313 drivers/net/ethernet/sun/sungem.c duplex = DUPLEX_HALF; duplex 1323 drivers/net/ethernet/sun/sungem.c gp->phy_mii.duplex = duplex; duplex 1335 drivers/net/ethernet/sun/sungem.c gp->phy_mii.def->ops->setup_forced(&gp->phy_mii, speed, duplex); duplex 1360 drivers/net/ethernet/sun/sungem.c full_duplex = (gp->phy_mii.duplex == DUPLEX_FULL); duplex 2548 drivers/net/ethernet/sun/sungem.c cmd->base.duplex = gp->phy_mii.duplex; duplex 2564 drivers/net/ethernet/sun/sungem.c cmd->base.duplex = 0; duplex 2579 drivers/net/ethernet/sun/sungem.c cmd->base.duplex = DUPLEX_FULL; duplex 2615 drivers/net/ethernet/sun/sungem.c (cmd->base.duplex != DUPLEX_HALF && duplex 2616 drivers/net/ethernet/sun/sungem.c cmd->base.duplex != DUPLEX_FULL))) duplex 1396 drivers/net/ethernet/sun/sunhme.c if (ep->base.duplex == DUPLEX_FULL) duplex 2464 drivers/net/ethernet/sun/sunhme.c cmd->base.duplex = duplex 2468 drivers/net/ethernet/sun/sunhme.c cmd->base.duplex = duplex 2474 drivers/net/ethernet/sun/sunhme.c cmd->base.duplex = duplex 2497 drivers/net/ethernet/sun/sunhme.c (cmd->base.duplex != DUPLEX_HALF && duplex 2498 drivers/net/ethernet/sun/sunhme.c cmd->base.duplex != DUPLEX_FULL))) duplex 2140 drivers/net/ethernet/tehuti/tehuti.c ecmd->base.duplex = DUPLEX_FULL; duplex 882 drivers/net/ethernet/ti/cpmac.c if (dev->phydev->duplex != priv->oldduplex) { duplex 884 drivers/net/ethernet/ti/cpmac.c priv->oldduplex = dev->phydev->duplex; duplex 1074 drivers/net/ethernet/ti/cpsw.c if (phy->duplex) duplex 324 drivers/net/ethernet/ti/davinci_emac.c u32 duplex; /* Link duplex: 0=Half, 1=Full */ duplex 512 drivers/net/ethernet/ti/davinci_emac.c new_duplex = ndev->phydev->duplex; duplex 518 drivers/net/ethernet/ti/davinci_emac.c priv->duplex = new_duplex; duplex 519 drivers/net/ethernet/ti/davinci_emac.c if (DUPLEX_FULL == priv->duplex) duplex 1165 drivers/net/ethernet/ti/davinci_emac.c ((priv->duplex == DUPLEX_FULL) ? 0x1 : 0)); duplex 1320 drivers/net/ethernet/ti/davinci_emac.c if (phydev->duplex != priv->duplex) { duplex 1322 drivers/net/ethernet/ti/davinci_emac.c priv->duplex = phydev->duplex; duplex 1337 drivers/net/ethernet/ti/davinci_emac.c priv->duplex = ~0; duplex 1511 drivers/net/ethernet/ti/davinci_emac.c priv->duplex = ~0; duplex 1521 drivers/net/ethernet/ti/davinci_emac.c priv->duplex = DUPLEX_FULL; duplex 57 drivers/net/ethernet/ti/tlan.c static int duplex[MAX_TLAN_BOARDS]; duplex 61 drivers/net/ethernet/ti/tlan.c module_param_array(duplex, int, NULL, 0); duplex 64 drivers/net/ethernet/ti/tlan.c MODULE_PARM_DESC(duplex, duplex 549 drivers/net/ethernet/ti/tlan.c priv->duplex = ((dev->mem_start & 0x06) == 0x06) ? 0 duplex 563 drivers/net/ethernet/ti/tlan.c priv->duplex = duplex[boards_found]; duplex 2229 drivers/net/ethernet/ti/tlan.c } else if (priv->duplex == TLAN_DUPLEX_FULL) { duplex 2615 drivers/net/ethernet/ti/tlan.c priv->duplex == TLAN_DUPLEX_HALF) { duplex 2618 drivers/net/ethernet/ti/tlan.c priv->duplex == TLAN_DUPLEX_FULL) { duplex 2622 drivers/net/ethernet/ti/tlan.c priv->duplex == TLAN_DUPLEX_HALF) { duplex 2625 drivers/net/ethernet/ti/tlan.c priv->duplex == TLAN_DUPLEX_FULL) { duplex 2663 drivers/net/ethernet/ti/tlan.c if (priv->duplex == TLAN_DUPLEX_FULL) { duplex 2726 drivers/net/ethernet/ti/tlan.c if ((priv->duplex == TLAN_DUPLEX_FULL) || duplex 203 drivers/net/ethernet/ti/tlan.h u32 duplex; duplex 1205 drivers/net/ethernet/toshiba/ps3_gelic_net.c cmd->base.duplex = DUPLEX_FULL; duplex 1207 drivers/net/ethernet/toshiba/ps3_gelic_net.c cmd->base.duplex = DUPLEX_HALF; duplex 1270 drivers/net/ethernet/toshiba/ps3_gelic_net.c if (cmd->base.duplex == DUPLEX_FULL) { duplex 2031 drivers/net/ethernet/toshiba/spider_net.c phy->duplex == 1 ? "Full" : "Half", duplex 53 drivers/net/ethernet/toshiba/spider_net_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 79 drivers/net/ethernet/toshiba/tc35815.c int duplex; duplex 408 drivers/net/ethernet/toshiba/tc35815.c int duplex; duplex 548 drivers/net/ethernet/toshiba/tc35815.c (lp->speed != phydev->speed || lp->duplex != phydev->duplex)) { duplex 556 drivers/net/ethernet/toshiba/tc35815.c if (phydev->duplex == DUPLEX_FULL) duplex 573 drivers/net/ethernet/toshiba/tc35815.c if (phydev->duplex == DUPLEX_HALF && duplex 579 drivers/net/ethernet/toshiba/tc35815.c lp->duplex = phydev->duplex; duplex 590 drivers/net/ethernet/toshiba/tc35815.c lp->duplex = -1; duplex 640 drivers/net/ethernet/toshiba/tc35815.c if (options.duplex == 1) { duplex 643 drivers/net/ethernet/toshiba/tc35815.c } else if (options.duplex == 2) { duplex 652 drivers/net/ethernet/toshiba/tc35815.c lp->duplex = -1; duplex 775 drivers/net/ethernet/toshiba/tc35815.c options.speed, options.duplex); duplex 1673 drivers/net/ethernet/toshiba/tc35815.c if (!lp->link || lp->duplex == DUPLEX_FULL) duplex 2103 drivers/net/ethernet/toshiba/tc35815.c if (!dev->phydev || !lp->link || lp->duplex == DUPLEX_FULL) duplex 2158 drivers/net/ethernet/toshiba/tc35815.c module_param_named(duplex, options.duplex, int, 0); duplex 2159 drivers/net/ethernet/toshiba/tc35815.c MODULE_PARM_DESC(duplex, "0:auto, 1:half, 2:full"); duplex 104 drivers/net/ethernet/tundra/tsi108_eth.c unsigned int duplex; duplex 169 drivers/net/ethernet/tundra/tsi108_eth.c data->link_up, data->speed, data->duplex); duplex 288 drivers/net/ethernet/tundra/tsi108_eth.c u32 duplex; duplex 297 drivers/net/ethernet/tundra/tsi108_eth.c duplex = mii_check_media(&data->mii_if, netif_msg_link(data), data->init_media); duplex 304 drivers/net/ethernet/tundra/tsi108_eth.c if ((speed != data->speed) || duplex) { duplex 324 drivers/net/ethernet/tundra/tsi108_eth.c data->duplex = 2; duplex 328 drivers/net/ethernet/tundra/tsi108_eth.c data->duplex = 1; duplex 3347 drivers/net/ethernet/via/via-velocity.c cmd->base.duplex = DUPLEX_FULL; duplex 3349 drivers/net/ethernet/via/via-velocity.c cmd->base.duplex = DUPLEX_HALF; duplex 3375 drivers/net/ethernet/via/via-velocity.c new_status |= ((cmd->base.duplex == DUPLEX_FULL) ? duplex 713 drivers/net/ethernet/xilinx/ll_temac_main.c link_state = phy->speed | (phy->duplex << 1) | phy->link; duplex 1433 drivers/net/ethernet/xilinx/xilinx_axienet_main.c state->duplex = 1; duplex 898 drivers/net/ethernet/xilinx/xilinx_emaclite.c link_state = phy->speed | (phy->duplex << 1) | phy->link; duplex 176 drivers/net/ethernet/xscale/ixp4xx_eth.c int speed, duplex; duplex 560 drivers/net/ethernet/xscale/ixp4xx_eth.c if (port->speed == phydev->speed && port->duplex == phydev->duplex) duplex 564 drivers/net/ethernet/xscale/ixp4xx_eth.c port->duplex = phydev->duplex; duplex 566 drivers/net/ethernet/xscale/ixp4xx_eth.c if (port->duplex) duplex 574 drivers/net/ethernet/xscale/ixp4xx_eth.c dev->name, port->speed, port->duplex ? "full" : "half"); duplex 168 drivers/net/fjes/fjes_ethtool.c ecmd->base.duplex = DUPLEX_FULL; duplex 113 drivers/net/hamradio/6pack.c unsigned char duplex; duplex 206 drivers/net/hamradio/6pack.c case 5: sp->duplex = p[1]; duplex 219 drivers/net/hamradio/6pack.c if (sp->duplex == 1) { duplex 605 drivers/net/hamradio/6pack.c sp->duplex = 0; duplex 877 drivers/net/hamradio/6pack.c if ((sp->status2 != 0) && (sp->duplex == 1)) { duplex 943 drivers/net/hyperv/hyperv_net.h u8 duplex; duplex 1057 drivers/net/hyperv/netvsc_drv.c diff1.base.duplex = 0; duplex 1074 drivers/net/hyperv/netvsc_drv.c ndc->duplex = DUPLEX_FULL; duplex 1085 drivers/net/hyperv/netvsc_drv.c cmd->base.duplex = ndc->duplex; duplex 1099 drivers/net/hyperv/netvsc_drv.c !ethtool_validate_duplex(cmd->base.duplex) || duplex 1104 drivers/net/hyperv/netvsc_drv.c ndc->duplex = cmd->base.duplex; duplex 295 drivers/net/mdio.c ecmd->duplex = DUPLEX_FULL; duplex 300 drivers/net/mdio.c ecmd->duplex = !(modes & ADVERTISED_1000baseT_Half); duplex 304 drivers/net/mdio.c ecmd->duplex = !!(modes & ADVERTISED_100baseT_Full); duplex 307 drivers/net/mdio.c ecmd->duplex = !!(modes & ADVERTISED_10baseT_Full); duplex 315 drivers/net/mdio.c ecmd->duplex = (reg & MDIO_CTRL1_FULLDPLX || duplex 467 drivers/net/mdio.c cmd->base.duplex = DUPLEX_FULL; duplex 472 drivers/net/mdio.c cmd->base.duplex = !(modes & ADVERTISED_1000baseT_Half); duplex 476 drivers/net/mdio.c cmd->base.duplex = !!(modes & ADVERTISED_100baseT_Full); duplex 479 drivers/net/mdio.c cmd->base.duplex = !!(modes & ADVERTISED_10baseT_Full); duplex 487 drivers/net/mdio.c cmd->base.duplex = (reg & MDIO_CTRL1_FULLDPLX || duplex 109 drivers/net/mii.c ecmd->duplex = !!(nego & ADVERTISED_1000baseT_Full); duplex 113 drivers/net/mii.c ecmd->duplex = !!(nego & ADVERTISED_100baseT_Full); duplex 116 drivers/net/mii.c ecmd->duplex = !!(nego & ADVERTISED_10baseT_Full); duplex 127 drivers/net/mii.c ecmd->duplex = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; duplex 130 drivers/net/mii.c mii->full_duplex = ecmd->duplex; duplex 195 drivers/net/mii.c cmd->base.duplex = !!(nego & ADVERTISED_1000baseT_Full); duplex 199 drivers/net/mii.c cmd->base.duplex = !!(nego & ADVERTISED_100baseT_Full); duplex 202 drivers/net/mii.c cmd->base.duplex = !!(nego & ADVERTISED_10baseT_Full); duplex 212 drivers/net/mii.c cmd->base.duplex = (bmcr & BMCR_FULLDPLX) ? duplex 218 drivers/net/mii.c mii->full_duplex = cmd->base.duplex; duplex 246 drivers/net/mii.c if (ecmd->duplex != DUPLEX_HALF && ecmd->duplex != DUPLEX_FULL) duplex 309 drivers/net/mii.c if (ecmd->duplex == DUPLEX_FULL) { duplex 339 drivers/net/mii.c if (cmd->base.duplex != DUPLEX_HALF && cmd->base.duplex != DUPLEX_FULL) duplex 406 drivers/net/mii.c if (cmd->base.duplex == DUPLEX_FULL) { duplex 509 drivers/net/mii.c int advertise, lpa, media, duplex; duplex 554 drivers/net/mii.c duplex = (media & ADVERTISE_FULL) ? 1 : 0; duplex 556 drivers/net/mii.c duplex = 1; duplex 563 drivers/net/mii.c duplex ? "full" : "half", duplex 566 drivers/net/mii.c if ((init_media) || (mii->full_duplex != duplex)) { duplex 567 drivers/net/mii.c mii->full_duplex = duplex; duplex 341 drivers/net/net_failover.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 381 drivers/net/ntb_netdev.c cmd->base.duplex = DUPLEX_FULL; duplex 337 drivers/net/phy/aquantia_main.c phydev->duplex = DUPLEX_FULL; duplex 339 drivers/net/phy/aquantia_main.c phydev->duplex = DUPLEX_HALF; duplex 383 drivers/net/phy/at803x.c phydev->duplex = DUPLEX_UNKNOWN; duplex 412 drivers/net/phy/at803x.c phydev->duplex = DUPLEX_FULL; duplex 414 drivers/net/phy/at803x.c phydev->duplex = DUPLEX_HALF; duplex 130 drivers/net/phy/bcm87xx.c phydev->duplex = 1; duplex 401 drivers/net/phy/broadcom.c phydev->duplex = DUPLEX_FULL; duplex 420 drivers/net/phy/broadcom.c phydev->duplex = DUPLEX_FULL; duplex 37 drivers/net/phy/cortina.c phydev->duplex = DUPLEX_FULL; duplex 273 drivers/net/phy/fixed_phy.c phy->duplex = status->duplex; duplex 111 drivers/net/phy/icplus.c phydev->duplex = DUPLEX_FULL; duplex 180 drivers/net/phy/lxt.c phydev->duplex = DUPLEX_HALF; duplex 187 drivers/net/phy/lxt.c phydev->duplex = DUPLEX_FULL; duplex 190 drivers/net/phy/lxt.c phydev->duplex = DUPLEX_FULL; duplex 193 drivers/net/phy/lxt.c if (phydev->duplex == DUPLEX_FULL) { duplex 204 drivers/net/phy/lxt.c phydev->duplex = DUPLEX_FULL; duplex 206 drivers/net/phy/lxt.c phydev->duplex = DUPLEX_HALF; duplex 1237 drivers/net/phy/marvell.c phydev->duplex = DUPLEX_FULL; duplex 1239 drivers/net/phy/marvell.c phydev->duplex = DUPLEX_HALF; duplex 1263 drivers/net/phy/marvell.c if (phydev->duplex == DUPLEX_FULL) { duplex 1271 drivers/net/phy/marvell.c if (phydev->duplex == DUPLEX_FULL) { duplex 1295 drivers/net/phy/marvell.c phydev->duplex = DUPLEX_FULL; duplex 1297 drivers/net/phy/marvell.c phydev->duplex = DUPLEX_HALF; duplex 396 drivers/net/phy/marvell10g.c phydev->duplex = DUPLEX_FULL; duplex 408 drivers/net/phy/marvell10g.c phydev->duplex = DUPLEX_UNKNOWN; duplex 774 drivers/net/phy/micrel.c phydev->duplex = DUPLEX_HALF; duplex 776 drivers/net/phy/micrel.c phydev->duplex = DUPLEX_FULL; duplex 180 drivers/net/phy/nxp-tja11xx.c phydev->duplex = DUPLEX_FULL; duplex 20 drivers/net/phy/phy-c45.c if (phydev->duplex != DUPLEX_FULL) duplex 356 drivers/net/phy/phy-c45.c phydev->duplex = DUPLEX_FULL; duplex 510 drivers/net/phy/phy-c45.c phydev->duplex = DUPLEX_UNKNOWN; duplex 53 drivers/net/phy/phy-core.c const char *phy_duplex_to_str(unsigned int duplex) duplex 55 drivers/net/phy/phy-core.c if (duplex == DUPLEX_HALF) duplex 57 drivers/net/phy/phy-core.c if (duplex == DUPLEX_FULL) duplex 59 drivers/net/phy/phy-core.c if (duplex == DUPLEX_UNKNOWN) duplex 69 drivers/net/phy/phy-core.c #define PHY_SETTING(s, d, b) { .speed = SPEED_ ## s, .duplex = DUPLEX_ ## d, \ duplex 164 drivers/net/phy/phy-core.c phy_lookup_setting(int speed, int duplex, const unsigned long *mask, bool exact) duplex 173 drivers/net/phy/phy-core.c if (p->speed == speed && p->duplex == duplex) { duplex 288 drivers/net/phy/phy-core.c if (phydev->duplex == DUPLEX_FULL) { duplex 316 drivers/net/phy/phy-core.c phydev->duplex = settings[i].duplex; duplex 333 drivers/net/phy/phy-core.c if (fdx_only && settings[i].duplex != DUPLEX_FULL) duplex 100 drivers/net/phy/phy.c phy_duplex_to_str(phydev->duplex), duplex 194 drivers/net/phy/phy.c phy_find_valid(int speed, int duplex, unsigned long *supported) duplex 196 drivers/net/phy/phy.c return phy_lookup_setting(speed, duplex, supported, false); duplex 225 drivers/net/phy/phy.c static inline bool phy_check_valid(int speed, int duplex, duplex 228 drivers/net/phy/phy.c return !!phy_lookup_setting(speed, duplex, features, true); duplex 243 drivers/net/phy/phy.c setting = phy_find_valid(phydev->speed, phydev->duplex, duplex 247 drivers/net/phy/phy.c phydev->duplex = setting->duplex; duplex 251 drivers/net/phy/phy.c phydev->duplex = DUPLEX_UNKNOWN; duplex 291 drivers/net/phy/phy.c (cmd->duplex != DUPLEX_HALF && duplex 292 drivers/net/phy/phy.c cmd->duplex != DUPLEX_FULL))) duplex 304 drivers/net/phy/phy.c phydev->duplex = cmd->duplex; duplex 320 drivers/net/phy/phy.c u8 duplex = cmd->base.duplex; duplex 342 drivers/net/phy/phy.c (duplex != DUPLEX_HALF && duplex 343 drivers/net/phy/phy.c duplex != DUPLEX_FULL))) duplex 355 drivers/net/phy/phy.c phydev->duplex = duplex; duplex 374 drivers/net/phy/phy.c cmd->base.duplex = phydev->duplex; duplex 440 drivers/net/phy/phy.c phydev->duplex = DUPLEX_FULL; duplex 442 drivers/net/phy/phy.c phydev->duplex = DUPLEX_HALF; duplex 1015 drivers/net/phy/phy.c if (phydev->duplex == DUPLEX_FULL) { duplex 1052 drivers/net/phy/phy.c if (!phy_check_valid(phydev->speed, phydev->duplex, common)) duplex 605 drivers/net/phy/phy_device.c dev->duplex = DUPLEX_UNKNOWN; duplex 1661 drivers/net/phy/phy_device.c if (DUPLEX_FULL == phydev->duplex) duplex 1864 drivers/net/phy/phy_device.c phydev->duplex = DUPLEX_UNKNOWN; duplex 1881 drivers/net/phy/phy_device.c phydev->duplex = DUPLEX_FULL; duplex 1883 drivers/net/phy/phy_device.c phydev->duplex = DUPLEX_HALF; duplex 174 drivers/net/phy/phylink.c pl->link_config.duplex = DUPLEX_HALF; duplex 177 drivers/net/phy/phylink.c pl->link_config.duplex = DUPLEX_FULL; duplex 212 drivers/net/phy/phylink.c pl->link_config.duplex = prop[1] ? duplex 223 drivers/net/phy/phylink.c pl->link_config.duplex != DUPLEX_FULL) duplex 231 drivers/net/phy/phylink.c s = phy_lookup_setting(pl->link_config.speed, pl->link_config.duplex, duplex 241 drivers/net/phy/phylink.c pl->link_config.duplex == DUPLEX_FULL ? "full" : "half", duplex 341 drivers/net/phy/phylink.c phy_duplex_to_str(state->duplex), duplex 370 drivers/net/phy/phylink.c state->duplex = DUPLEX_UNKNOWN; duplex 455 drivers/net/phy/phylink.c phy_duplex_to_str(link_state.duplex), duplex 642 drivers/net/phy/phylink.c pl->link_config.duplex = DUPLEX_UNKNOWN; duplex 704 drivers/net/phy/phylink.c pl->phy_state.duplex = phydev->duplex; duplex 719 drivers/net/phy/phylink.c phy_duplex_to_str(phydev->duplex)); duplex 1110 drivers/net/phy/phylink.c kset->base.duplex = state->duplex; duplex 1203 drivers/net/phy/phylink.c s = phy_lookup_setting(kset->base.speed, kset->base.duplex, duplex 1213 drivers/net/phy/phylink.c s->duplex != pl->link_config.duplex)) duplex 1217 drivers/net/phy/phylink.c config.duplex = s->duplex; duplex 1227 drivers/net/phy/phylink.c config.duplex = DUPLEX_UNKNOWN; duplex 1243 drivers/net/phy/phylink.c our_kset.base.duplex = config.duplex; duplex 1257 drivers/net/phy/phylink.c pl->link_config.duplex = our_kset.base.duplex; duplex 1463 drivers/net/phy/phylink.c fs.duplex = state->duplex; duplex 1717 drivers/net/phy/phylink.c config.duplex = DUPLEX_UNKNOWN; duplex 56 drivers/net/phy/swphy.c static const struct swmii_regs duplex[] = { duplex 130 drivers/net/phy/swphy.c duplex_index = state->duplex ? SWMII_DUPLEX_FULL : SWMII_DUPLEX_HALF; duplex 132 drivers/net/phy/swphy.c bmsr |= speed[speed_index].bmsr & duplex[duplex_index].bmsr; duplex 133 drivers/net/phy/swphy.c estat |= speed[speed_index].estat & duplex[duplex_index].estat; duplex 138 drivers/net/phy/swphy.c lpa |= speed[speed_index].lpa & duplex[duplex_index].lpa; duplex 139 drivers/net/phy/swphy.c lpagb |= speed[speed_index].lpagb & duplex[duplex_index].lpagb; duplex 52 drivers/net/phy/teranetics.c phydev->duplex = DUPLEX_FULL; duplex 57 drivers/net/phy/uPD60620.c phydev->duplex = DUPLEX_HALF; duplex 62 drivers/net/phy/uPD60620.c phydev->duplex = DUPLEX_FULL; duplex 71 drivers/net/phy/uPD60620.c if (phydev->duplex == DUPLEX_FULL) { duplex 320 drivers/net/sungem_phy.c phy->duplex = DUPLEX_HALF; duplex 351 drivers/net/sungem_phy.c phy->duplex = fd; duplex 399 drivers/net/sungem_phy.c phy->duplex = DUPLEX_FULL; duplex 401 drivers/net/sungem_phy.c phy->duplex = DUPLEX_HALF; duplex 475 drivers/net/sungem_phy.c phy->duplex = DUPLEX_HALF; duplex 519 drivers/net/sungem_phy.c phy->duplex = fd; duplex 557 drivers/net/sungem_phy.c phy->duplex = phy_BCM5400_link_table[link_mode][0] ? duplex 564 drivers/net/sungem_phy.c phy->pause = (phy->duplex == DUPLEX_FULL) && duplex 643 drivers/net/sungem_phy.c phy->duplex |= DUPLEX_HALF; duplex 645 drivers/net/sungem_phy.c phy->duplex |= DUPLEX_FULL; duplex 719 drivers/net/sungem_phy.c phy->duplex |= DUPLEX_FULL; duplex 721 drivers/net/sungem_phy.c phy->duplex |= DUPLEX_HALF; duplex 751 drivers/net/sungem_phy.c phy->duplex = DUPLEX_HALF; duplex 802 drivers/net/sungem_phy.c phy->duplex = fd; duplex 861 drivers/net/sungem_phy.c phy->duplex = DUPLEX_FULL; duplex 863 drivers/net/sungem_phy.c phy->duplex = DUPLEX_HALF; duplex 1193 drivers/net/sungem_phy.c phy->duplex = 0; duplex 2078 drivers/net/team/team.c cmd->base.duplex = DUPLEX_UNKNOWN; duplex 2086 drivers/net/team/team.c if (cmd->base.duplex == DUPLEX_UNKNOWN && duplex 2087 drivers/net/team/team.c port->state.duplex != DUPLEX_UNKNOWN) duplex 2088 drivers/net/team/team.c cmd->base.duplex = port->state.duplex; duplex 2686 drivers/net/team/team.c nla_put_u8(skb, TEAM_ATTR_PORT_DUPLEX, port->state.duplex)) duplex 2907 drivers/net/team/team.c port->state.duplex = ecmd.base.duplex; duplex 2912 drivers/net/team/team.c port->state.duplex = 0; duplex 3521 drivers/net/tun.c cmd->base.duplex = DUPLEX_FULL; duplex 314 drivers/net/usb/aqc111.c elk->base.duplex = DUPLEX_FULL; duplex 393 drivers/net/usb/aqc111.c if (elk->base.duplex != DUPLEX_FULL) duplex 180 drivers/net/usb/asix_devices.c if (ecmd.duplex != DUPLEX_FULL) duplex 184 drivers/net/usb/asix_devices.c ethtool_cmd_speed(&ecmd), ecmd.duplex, mode); duplex 310 drivers/net/usb/asix_devices.c if (ecmd.duplex != DUPLEX_FULL) duplex 314 drivers/net/usb/asix_devices.c ethtool_cmd_speed(&ecmd), ecmd.duplex, mode); duplex 977 drivers/net/usb/asix_devices.c if (ecmd.duplex == DUPLEX_FULL) duplex 983 drivers/net/usb/asix_devices.c speed, ecmd.duplex, mode); duplex 64 drivers/net/usb/ax88172a.c if (phydev->duplex == DUPLEX_HALF) duplex 75 drivers/net/usb/ax88172a.c phydev->speed, phydev->duplex, mode); duplex 676 drivers/net/usb/ax88179_178a.c if (ecmd.duplex & DUPLEX_FULL) { duplex 696 drivers/net/usb/catc.c cmd->base.duplex = DUPLEX_HALF; duplex 223 drivers/net/usb/ch9200.c ecmd.speed, ecmd.duplex); duplex 555 drivers/net/usb/dm9601.c ethtool_cmd_speed(&ecmd), ecmd.duplex); duplex 1127 drivers/net/usb/lan78xx.c static int lan78xx_update_flowcontrol(struct lan78xx_net *dev, u8 duplex, duplex 1223 drivers/net/usb/lan78xx.c ecmd.base.speed, ecmd.base.duplex, ladv, radv); duplex 1225 drivers/net/usb/lan78xx.c ret = lan78xx_update_flowcontrol(dev, ecmd.base.duplex, ladv, duplex 2051 drivers/net/usb/lan78xx.c .duplex = DUPLEX_FULL, duplex 801 drivers/net/usb/r8152.c u8 duplex; duplex 3870 drivers/net/usb/r8152.c static int rtl8152_set_speed(struct r8152 *tp, u8 autoneg, u32 speed, u8 duplex, duplex 3877 drivers/net/usb/r8152.c if (duplex != DUPLEX_HALF && duplex != DUPLEX_FULL) duplex 3883 drivers/net/usb/r8152.c if (duplex == DUPLEX_FULL) { duplex 3892 drivers/net/usb/r8152.c if (duplex == DUPLEX_FULL) { duplex 3911 drivers/net/usb/r8152.c if (duplex == DUPLEX_FULL) duplex 4238 drivers/net/usb/r8152.c rtl8152_set_speed(tp, tp->autoneg, tp->speed, tp->duplex, duplex 5017 drivers/net/usb/r8152.c cmd->base.duplex, advertising); duplex 5021 drivers/net/usb/r8152.c tp->duplex = cmd->base.duplex; duplex 5759 drivers/net/usb/r8152.c tp->duplex = DUPLEX_FULL; duplex 812 drivers/net/usb/rtl8150.c ecmd->base.duplex = (lpa & LPA_100FULL) ? duplex 815 drivers/net/usb/rtl8150.c ecmd->base.duplex = (lpa & LPA_10FULL) ? duplex 821 drivers/net/usb/rtl8150.c ecmd->base.duplex = (bmcr & BMCR_FULLDPLX) ? duplex 586 drivers/net/usb/smsc75xx.c static int smsc75xx_update_flowcontrol(struct usbnet *dev, u8 duplex, duplex 592 drivers/net/usb/smsc75xx.c if (duplex == DUPLEX_FULL) { duplex 649 drivers/net/usb/smsc75xx.c ethtool_cmd_speed(&ecmd), ecmd.duplex, lcladv, rmtadv); duplex 651 drivers/net/usb/smsc75xx.c return smsc75xx_update_flowcontrol(dev, ecmd.duplex, lcladv, rmtadv); duplex 514 drivers/net/usb/smsc95xx.c static int smsc95xx_phy_update_flowcontrol(struct usbnet *dev, u8 duplex, duplex 523 drivers/net/usb/smsc95xx.c if (duplex == DUPLEX_FULL) { duplex 576 drivers/net/usb/smsc95xx.c ethtool_cmd_speed(&ecmd), ecmd.duplex, lcladv, rmtadv); duplex 579 drivers/net/usb/smsc95xx.c if (ecmd.duplex != DUPLEX_FULL) { duplex 592 drivers/net/usb/smsc95xx.c ret = smsc95xx_phy_update_flowcontrol(dev, ecmd.duplex, lcladv, rmtadv); duplex 515 drivers/net/usb/sr9700.c ecmd.speed, ecmd.duplex); duplex 546 drivers/net/usb/sr9800.c if (ecmd.duplex != DUPLEX_FULL) duplex 550 drivers/net/usb/sr9800.c __func__, ethtool_cmd_speed(&ecmd), ecmd.duplex, mode); duplex 103 drivers/net/veth.c cmd->base.duplex = DUPLEX_FULL; duplex 224 drivers/net/virtio_net.c u8 duplex; duplex 2184 drivers/net/virtio_net.c diff1.base.duplex = 0; duplex 2206 drivers/net/virtio_net.c !ethtool_validate_duplex(cmd->base.duplex) || duplex 2210 drivers/net/virtio_net.c vi->duplex = cmd->base.duplex; duplex 2221 drivers/net/virtio_net.c cmd->base.duplex = vi->duplex; duplex 2279 drivers/net/virtio_net.c vi->duplex = DUPLEX_UNKNOWN; duplex 2285 drivers/net/virtio_net.c u8 duplex; duplex 2294 drivers/net/virtio_net.c duplex = virtio_cread8(vi->vdev, offsetof(struct virtio_net_config, duplex 2295 drivers/net/virtio_net.c duplex)); duplex 2296 drivers/net/virtio_net.c if (ethtool_validate_duplex(duplex)) duplex 2297 drivers/net/virtio_net.c vi->duplex = duplex; duplex 499 drivers/net/vmxnet3/vmxnet3_ethtool.c ecmd->base.duplex = DUPLEX_FULL; duplex 502 drivers/net/vmxnet3/vmxnet3_ethtool.c ecmd->base.duplex = DUPLEX_UNKNOWN; duplex 470 drivers/of/of_mdio.c status.duplex = of_property_read_bool(fixed_link_node, duplex 489 drivers/of/of_mdio.c status.duplex = fixed_link_prop[1]; duplex 275 drivers/s390/net/qeth_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 345 drivers/s390/net/qeth_ethtool.c cmd->base.duplex = DUPLEX_FULL; duplex 348 drivers/s390/net/qeth_ethtool.c cmd->base.duplex = DUPLEX_HALF; duplex 4919 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.link_state.duplex = duplex 5157 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.link_state.duplex = LPFC_ASYNC_LINK_DUPLEX_FULL; duplex 266 drivers/scsi/lpfc/lpfc_sli4.h uint8_t duplex; duplex 1714 drivers/spi/spi-pl022.c if ((chip_info->duplex != duplex 1716 drivers/spi/spi-pl022.c && (chip_info->duplex != duplex 1723 drivers/spi/spi-pl022.c if (chip_info->duplex != SSP_MICROWIRE_CHANNEL_FULL_DUPLEX) duplex 1828 drivers/spi/spi-pl022.c .duplex = SSP_MICROWIRE_CHANNEL_FULL_DUPLEX, duplex 1891 drivers/spi/spi-pl022.c &chip_info_dt.duplex); duplex 2006 drivers/spi/spi-pl022.c SSP_WRITE_BITS(chip->cr0, chip_info->duplex, duplex 79 drivers/staging/fsl-dpaa2/ethsw/ethsw-ethtool.c link_ksettings->base.duplex = DUPLEX_FULL; duplex 113 drivers/staging/fsl-dpaa2/ethsw/ethsw-ethtool.c if (link_ksettings->base.duplex == DUPLEX_HALF) duplex 88 drivers/staging/octeon/ethernet-mdio.c link_info.s.full_duplex = dev->phydev->duplex ? 1 : 0; duplex 238 drivers/staging/octeon/ethernet-tx.c if (gmx_prt_cfg.s.duplex == 0) { duplex 723 drivers/staging/octeon/octeon-stubs.h uint64_t duplex:1; duplex 730 drivers/staging/octeon/octeon-stubs.h uint64_t duplex:1; duplex 742 drivers/staging/octeon/octeon-stubs.h uint64_t duplex:1; duplex 1176 drivers/staging/octeon/octeon-stubs.h uint64_t duplex:1; duplex 401 drivers/staging/qlge/qlge_ethtool.c ecmd->base.duplex = DUPLEX_FULL; duplex 281 include/linux/amba/pl022.h enum ssp_duplex duplex; duplex 40 include/linux/if_team.h u8 duplex; duplex 61 include/linux/mv643xx_eth.h int duplex; duplex 399 include/linux/phy.h int duplex; duplex 655 include/linux/phy.h const char *phy_duplex_to_str(unsigned int duplex); duplex 662 include/linux/phy.h u8 duplex; duplex 667 include/linux/phy.h phy_lookup_setting(int speed, int duplex, const unsigned long *mask, duplex 8 include/linux/phy_fixed.h int duplex; duplex 50 include/linux/phylink.h int duplex; duplex 18 include/linux/pxa168_eth.h int duplex; /* DUPLEX_HALF or DUPLEX_FULL */ duplex 750 include/linux/qed/qed_if.h u8 duplex; /* In DUPLEX defs */ duplex 52 include/linux/sungem_phy.h int duplex; duplex 167 include/net/bonding.h u8 duplex; duplex 101 include/uapi/linux/ethtool.h __u8 duplex; duplex 1634 include/uapi/linux/ethtool.h static inline int ethtool_validate_duplex(__u8 duplex) duplex 1636 include/uapi/linux/ethtool.h switch (duplex) { duplex 1873 include/uapi/linux/ethtool.h __u8 duplex; duplex 94 include/uapi/linux/virtio_net.h __u8 duplex; duplex 138 net/batman-adv/bat_v_elp.c if (link_settings.base.duplex == DUPLEX_FULL) duplex 466 net/core/ethtool.c link_ksettings->base.duplex duplex 467 net/core/ethtool.c = legacy_settings->duplex; duplex 510 net/core/ethtool.c legacy_settings->duplex duplex 511 net/core/ethtool.c = link_ksettings->base.duplex; duplex 225 net/core/net-sysfs.c const char *duplex; duplex 227 net/core/net-sysfs.c switch (cmd.base.duplex) { duplex 229 net/core/net-sysfs.c duplex = "half"; duplex 232 net/core/net-sysfs.c duplex = "full"; duplex 235 net/core/net-sysfs.c duplex = "unknown"; duplex 238 net/core/net-sysfs.c ret = sprintf(buf, "%s\n", duplex); duplex 244 net/core/net-sysfs.c static DEVICE_ATTR_RO(duplex); duplex 3094 sound/core/oss/pcm_oss.c int duplex; duplex 3096 sound/core/oss/pcm_oss.c duplex = (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream_count > 0 && duplex 3099 sound/core/oss/pcm_oss.c sprintf(name, "%s%s", pcm->name, duplex ? " (DUPLEX)" : ""); duplex 54 sound/core/seq/seq_dummy.c static bool duplex; duplex 58 sound/core/seq/seq_dummy.c module_param(duplex, bool, 0444); duplex 59 sound/core/seq/seq_dummy.c MODULE_PARM_DESC(duplex, "create DUPLEX ports"); duplex 64 sound/core/seq/seq_dummy.c int duplex; duplex 85 sound/core/seq/seq_dummy.c if (p->duplex) duplex 116 sound/core/seq/seq_dummy.c rec->duplex = duplex; duplex 120 sound/core/seq/seq_dummy.c if (duplex) duplex 127 sound/core/seq/seq_dummy.c if (duplex) duplex 173 sound/core/seq/seq_dummy.c if (duplex) { duplex 892 sound/soc/intel/atom/sst-atom-controls.c .duplex = SSP_DUPLEX, duplex 913 sound/soc/intel/atom/sst-atom-controls.c ctx->ssp_cmd.duplex = config->duplex; duplex 490 sound/soc/intel/atom/sst-atom-controls.h u16 duplex:3; duplex 557 sound/soc/intel/atom/sst-atom-controls.h u8 duplex;