/linux-5.19.10/drivers/net/ethernet/ibm/ehea/ |
D | ehea_ethtool.c | 52 DUPLEX_FULL : DUPLEX_HALF; in ehea_get_link_ksettings() 98 if (cmd->base.duplex == DUPLEX_FULL) in ehea_set_link_ksettings() 105 if (cmd->base.duplex == DUPLEX_FULL) in ehea_set_link_ksettings() 112 if (cmd->base.duplex == DUPLEX_FULL) in ehea_set_link_ksettings() 119 if (cmd->base.duplex == DUPLEX_FULL) in ehea_set_link_ksettings()
|
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb3/ |
D | vsc8211.c | 155 dplx = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; in vsc8211_get_link_status() 168 dplx = (status & F_ACSR_DUPLEX) ? DUPLEX_FULL : DUPLEX_HALF; in vsc8211_get_link_status() 177 if (fc && dplx == DUPLEX_FULL) { in vsc8211_get_link_status() 231 dplx = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; in vsc8211_get_link_status_fiber() 247 dplx = DUPLEX_FULL; in vsc8211_get_link_status_fiber() 254 if (fc && dplx == DUPLEX_FULL) { in vsc8211_get_link_status_fiber()
|
/linux-5.19.10/drivers/net/ethernet/ibm/emac/ |
D | phy.c | 199 if (fd == DUPLEX_FULL) in genmii_setup_forced() 246 phy->duplex = DUPLEX_FULL; in genmii_read_link() 250 phy->duplex = DUPLEX_FULL; in genmii_read_link() 252 phy->duplex = DUPLEX_FULL; in genmii_read_link() 254 if (phy->duplex == DUPLEX_FULL) { in genmii_read_link() 264 phy->duplex = DUPLEX_FULL; in genmii_read_link()
|
/linux-5.19.10/drivers/net/ |
D | sungem_phy.c | 367 if (fd == DUPLEX_FULL) in genmii_setup_forced() 395 phy->duplex = DUPLEX_FULL; in genmii_read_link() 535 if (fd == DUPLEX_FULL) in bcm54xx_setup_forced() 555 DUPLEX_FULL : DUPLEX_HALF; in bcm54xx_read_link() 561 phy->pause = (phy->duplex == DUPLEX_FULL) && in bcm54xx_read_link() 642 phy->duplex |= DUPLEX_FULL; in bcm5421_read_link() 716 phy->duplex |= DUPLEX_FULL; in bcm5461_read_link() 819 if (fd == DUPLEX_FULL) in marvell_setup_forced() 831 ctl2 |= (fd == DUPLEX_FULL) ? in marvell_setup_forced() 858 phy->duplex = DUPLEX_FULL; in marvell_read_link()
|
D | mii.c | 126 ecmd->duplex = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; in mii_ethtool_gset() 211 DUPLEX_FULL : DUPLEX_HALF; in mii_ethtool_get_link_ksettings() 244 if (ecmd->duplex != DUPLEX_HALF && ecmd->duplex != DUPLEX_FULL) in mii_ethtool_sset() 307 if (ecmd->duplex == DUPLEX_FULL) { in mii_ethtool_sset() 337 if (cmd->base.duplex != DUPLEX_HALF && cmd->base.duplex != DUPLEX_FULL) in mii_ethtool_set_link_ksettings() 404 if (cmd->base.duplex == DUPLEX_FULL) { in mii_ethtool_set_link_ksettings()
|
/linux-5.19.10/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_ethtool.c | 41 cmd->base.duplex = DUPLEX_FULL; in atl1c_get_link_ksettings() 74 if (cmd->base.duplex != DUPLEX_FULL) { in atl1c_set_link_ksettings() 83 if (cmd->base.duplex == DUPLEX_FULL) in atl1c_set_link_ksettings() 88 if (cmd->base.duplex == DUPLEX_FULL) in atl1c_set_link_ksettings()
|
/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_pcs.h | 140 adv_lp->duplex = DUPLEX_FULL; in dwmac_get_adv_lp() 149 adv_lp->lp_duplex = DUPLEX_FULL; in dwmac_get_adv_lp()
|
/linux-5.19.10/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_param.c | 352 hw->mac.link_duplex = DUPLEX_FULL; in pch_gbe_check_copper_options() 377 hw->mac.link_duplex = DUPLEX_FULL; in pch_gbe_check_copper_options() 404 hw->mac.link_duplex = DUPLEX_FULL; in pch_gbe_check_copper_options() 421 hw->mac.link_duplex = DUPLEX_FULL; in pch_gbe_check_copper_options()
|
/linux-5.19.10/drivers/net/ethernet/atheros/alx/ |
D | hw.h | 571 if (speed == SPEED_1000 && duplex == DUPLEX_FULL) in alx_speed_to_ethadv() 573 if (speed == SPEED_100 && duplex == DUPLEX_FULL) in alx_speed_to_ethadv() 577 if (speed == SPEED_10 && duplex == DUPLEX_FULL) in alx_speed_to_ethadv()
|
/linux-5.19.10/arch/arm/boot/dts/ |
D | kirkwood-km_fixedeth.dts | 22 duplex = <1>; /* <DUPLEX_FULL> */
|
/linux-5.19.10/arch/arm/mach-mv78xx0/ |
D | common.c | 242 eth_data->duplex = DUPLEX_FULL; in mv78xx0_ge10_init() 264 eth_data->duplex = DUPLEX_FULL; in mv78xx0_ge11_init()
|
/linux-5.19.10/drivers/net/phy/ |
D | lxt.c | 261 phydev->duplex = DUPLEX_FULL; in lxt973a2_read_status() 264 phydev->duplex = DUPLEX_FULL; in lxt973a2_read_status()
|
D | teranetics.c | 52 phydev->duplex = DUPLEX_FULL; in teranetics_read_status()
|
D | cortina.c | 36 phydev->duplex = DUPLEX_FULL; in cortina_read_status()
|
D | uPD60620.c | 62 phydev->duplex = DUPLEX_FULL; in upd60620_read_status()
|
D | ax88796b.c | 72 phydev->duplex = DUPLEX_FULL; in asix_ax88772a_read_status()
|
D | phy-core.c | 69 if (duplex == DUPLEX_FULL) in phy_duplex_to_str() 337 if (phydev->duplex == DUPLEX_FULL) { in phy_resolve_aneg_pause() 420 if (fdx_only && settings[i].duplex != DUPLEX_FULL) in phy_resolve_min_speed()
|
/linux-5.19.10/arch/arm/mach-orion5x/ |
D | rd88f6183ap-ge-setup.c | 31 .duplex = DUPLEX_FULL,
|
D | rd88f5181l-fxo-setup.c | 92 .duplex = DUPLEX_FULL,
|
D | wnr854t-setup.c | 97 .duplex = DUPLEX_FULL,
|
D | rd88f5181l-ge-setup.c | 93 .duplex = DUPLEX_FULL,
|
/linux-5.19.10/drivers/net/dsa/mv88e6xxx/ |
D | serdes.c | 74 DUPLEX_FULL : DUPLEX_HALF; in mv88e6xxx_serdes_pcs_get_state() 105 state->duplex = DUPLEX_FULL; in mv88e6xxx_serdes_pcs_get_state() 256 if (duplex == DUPLEX_FULL) in mv88e6352_serdes_pcs_link_up() 506 state->duplex = status & MV88E6XXX_PORT_STS_DUPLEX ? DUPLEX_FULL : DUPLEX_HALF; in mv88e6185_serdes_pcs_get_state() 965 state->duplex = DUPLEX_FULL; in mv88e6390_serdes_pcs_get_state_10g() 989 state->duplex = DUPLEX_FULL; in mv88e6393x_serdes_pcs_get_state_10g() 1073 if (duplex == DUPLEX_FULL) in mv88e6390_serdes_pcs_link_up()
|
/linux-5.19.10/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_port.c | 51 status->duplex = DUPLEX_FULL; in decode_sgmii_word() 61 DUPLEX_FULL : DUPLEX_UNKNOWN; // 1G HDX not supported in decode_cl37_word() 101 status->duplex = DUPLEX_FULL; in sparx5_get_dev2g5_status() 146 status->duplex = DUPLEX_FULL; in sparx5_get_sfi_status() 871 bool fdx = conf->duplex == DUPLEX_FULL; in sparx5_port_config_low_set()
|
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb/ |
D | mv88e1xxx.c | 139 if (duplex == DUPLEX_FULL) in mv88e1xxx_set_speed_duplex() 254 dplx = (status & V_PSSR_DUPLEX) ? DUPLEX_FULL : DUPLEX_HALF; in mv88e1xxx_get_link_status()
|
/linux-5.19.10/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_ethtool.c | 143 cmd->base.duplex = DUPLEX_FULL; in xgene_get_link_ksettings() 156 cmd->base.duplex = DUPLEX_FULL; in xgene_get_link_ksettings()
|