/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A 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()
|
H A D | ael1002.c | 197 *duplex = DUPLEX_FULL; in get_link_status_r() 850 *duplex = DUPLEX_FULL; in get_link_status_x() 910 *duplex = DUPLEX_FULL; in xaui_direct_get_link_status()
|
/linux/drivers/net/ethernet/ibm/ehea/ |
H A 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/drivers/net/ethernet/ibm/emac/ |
H A 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()
|
H A D | core.c | 597 else if (dev->phy.duplex == DUPLEX_FULL) in emac_configure() 647 dev->phy.duplex == DUPLEX_FULL) { in emac_configure() 1209 dev->phy.duplex == DUPLEX_FULL ? "FDX" : "HDX", in emac_print_link_status() 1286 int duplex = r & EMAC_MR1_FDE ? DUPLEX_FULL : DUPLEX_HALF; 2065 if (cmd->base.duplex != DUPLEX_HALF && cmd->base.duplex != DUPLEX_FULL) in emac_ethtool_set_link_ksettings() 2074 if (cmd->base.duplex == DUPLEX_FULL && in emac_ethtool_set_link_ksettings() 2082 if (cmd->base.duplex == DUPLEX_FULL && in emac_ethtool_set_link_ksettings() 2090 if (cmd->base.duplex == DUPLEX_FULL && in emac_ethtool_set_link_ksettings() 2140 if (dev->phy.duplex == DUPLEX_FULL) { in emac_ethtool_get_pauseparam() 2792 fd = DUPLEX_FULL; in emac_init_phy() [all …]
|
/linux/drivers/net/ |
H A 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()
|
H A 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/drivers/net/ethernet/atheros/atl1c/ |
H A 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/drivers/net/phy/ |
H A D | phylink.c | 423 { MAC_400000FD, SPEED_400000, DUPLEX_FULL }, 424 { MAC_200000FD, SPEED_200000, DUPLEX_FULL }, 425 { MAC_100000FD, SPEED_100000, DUPLEX_FULL }, 426 { MAC_56000FD, SPEED_56000, DUPLEX_FULL }, 427 { MAC_50000FD, SPEED_50000, DUPLEX_FULL }, 428 { MAC_40000FD, SPEED_40000, DUPLEX_FULL }, 429 { MAC_25000FD, SPEED_25000, DUPLEX_FULL }, 430 { MAC_20000FD, SPEED_20000, DUPLEX_FULL }, 431 { MAC_10000FD, SPEED_10000, DUPLEX_FULL }, 432 { MAC_5000FD, SPEED_5000, DUPLEX_FULL }, [all …]
|
H A D | lxt.c | 261 phydev->duplex = DUPLEX_FULL; in lxt973a2_read_status() 264 phydev->duplex = DUPLEX_FULL; in lxt973a2_read_status()
|
H A D | teranetics.c | 52 phydev->duplex = DUPLEX_FULL; in teranetics_read_status()
|
H A D | uPD60620.c | 62 phydev->duplex = DUPLEX_FULL; in upd60620_read_status()
|
H A D | cortina.c | 36 phydev->duplex = DUPLEX_FULL; in cortina_read_status()
|
H A D | ax88796b.c | 72 phydev->duplex = DUPLEX_FULL; in asix_ax88772a_read_status()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_pcs.h | 125 adv_lp->duplex = DUPLEX_FULL; in dwmac_get_adv_lp() 134 adv_lp->lp_duplex = DUPLEX_FULL; in dwmac_get_adv_lp()
|
/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A 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/drivers/net/ethernet/atheros/alx/ |
H A 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/arch/arm/mach-mv78xx0/ |
H A D | common.c | 239 eth_data->duplex = DUPLEX_FULL; in mv78xx0_ge10_init() 261 eth_data->duplex = DUPLEX_FULL; in mv78xx0_ge11_init()
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | kirkwood-km_fixedeth.dts | 22 duplex = <1>; /* <DUPLEX_FULL> */
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A 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()
|
H A D | cxgb2.c | 139 s, p->link_config.duplex == DUPLEX_FULL in link_report() 603 if (duplex == DUPLEX_FULL) in speed_duplex_to_caps() 609 if (duplex == DUPLEX_FULL) in speed_duplex_to_caps() 615 if (duplex == DUPLEX_FULL) in speed_duplex_to_caps() 621 if (duplex == DUPLEX_FULL) in speed_duplex_to_caps()
|
/linux/drivers/net/ethernet/apm/xgene/ |
H A 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()
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_port.c | 52 status->duplex = DUPLEX_FULL; in decode_sgmii_word() 62 DUPLEX_FULL : DUPLEX_UNKNOWN; // 1G HDX not supported in decode_cl37_word() 102 status->duplex = DUPLEX_FULL; in sparx5_get_dev2g5_status() 147 status->duplex = DUPLEX_FULL; in sparx5_get_sfi_status() 881 bool fdx = conf->duplex == DUPLEX_FULL; in sparx5_port_config_low_set()
|
/linux/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_mii_cfg.c | 65 if (emac->duplex == DUPLEX_FULL) in icssg_update_rgmii_cfg()
|
/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_phylink.c | 43 state->duplex = DUPLEX_FULL; in fbnic_phylink_pcs_get_state()
|