Home
last modified time | relevance | path

Searched refs:DUPLEX_FULL (Results 1 – 25 of 201) sorted by relevance

123456789

/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dvsc8211.c155 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 Dael1002.c197 *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 Dehea_ethtool.c52 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 Dphy.c199 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 Dcore.c597 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 Dsungem_phy.c367 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 Dmii.c126 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 Datl1c_ethtool.c41 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 Dphylink.c423 { 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 Dlxt.c261 phydev->duplex = DUPLEX_FULL; in lxt973a2_read_status()
264 phydev->duplex = DUPLEX_FULL; in lxt973a2_read_status()
H A Dteranetics.c52 phydev->duplex = DUPLEX_FULL; in teranetics_read_status()
H A DuPD60620.c62 phydev->duplex = DUPLEX_FULL; in upd60620_read_status()
H A Dcortina.c36 phydev->duplex = DUPLEX_FULL; in cortina_read_status()
H A Dax88796b.c72 phydev->duplex = DUPLEX_FULL; in asix_ax88772a_read_status()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_pcs.h125 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 Dpch_gbe_param.c352 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 Dhw.h571 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 Dcommon.c239 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 Dkirkwood-km_fixedeth.dts22 duplex = <1>; /* <DUPLEX_FULL> */
/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dmv88e1xxx.c139 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 Dcxgb2.c139 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 Dxgene_enet_ethtool.c143 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 Dsparx5_port.c52 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 Dicssg_mii_cfg.c65 if (emac->duplex == DUPLEX_FULL) in icssg_update_rgmii_cfg()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_phylink.c43 state->duplex = DUPLEX_FULL; in fbnic_phylink_pcs_get_state()

123456789