Home
last modified time | relevance | path

Searched refs:autoneg_advertised (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.6.21/drivers/net/ethernet/atheros/atl1c/
Datl1c_ethtool.c33 advertising |= hw->autoneg_advertised; in atl1c_get_link_ksettings()
64 u16 autoneg_advertised; in atl1c_set_link_ksettings() local
70 autoneg_advertised = ADVERTISED_Autoneg; in atl1c_set_link_ksettings()
81 autoneg_advertised = ADVERTISED_1000baseT_Full; in atl1c_set_link_ksettings()
84 autoneg_advertised = ADVERTISED_100baseT_Full; in atl1c_set_link_ksettings()
86 autoneg_advertised = ADVERTISED_100baseT_Half; in atl1c_set_link_ksettings()
89 autoneg_advertised = ADVERTISED_10baseT_Full; in atl1c_set_link_ksettings()
91 autoneg_advertised = ADVERTISED_10baseT_Half; in atl1c_set_link_ksettings()
95 if (hw->autoneg_advertised != autoneg_advertised) { in atl1c_set_link_ksettings()
96 hw->autoneg_advertised = autoneg_advertised; in atl1c_set_link_ksettings()
Datl1c_hw.c462 if (hw->autoneg_advertised & ADVERTISED_10baseT_Half) in atl1c_phy_setup_adv()
464 if (hw->autoneg_advertised & ADVERTISED_10baseT_Full) in atl1c_phy_setup_adv()
466 if (hw->autoneg_advertised & ADVERTISED_100baseT_Half) in atl1c_phy_setup_adv()
468 if (hw->autoneg_advertised & ADVERTISED_100baseT_Full) in atl1c_phy_setup_adv()
471 if (hw->autoneg_advertised & ADVERTISED_Autoneg) in atl1c_phy_setup_adv()
476 if (hw->autoneg_advertised & ADVERTISED_1000baseT_Half) in atl1c_phy_setup_adv()
478 if (hw->autoneg_advertised & ADVERTISED_1000baseT_Full) in atl1c_phy_setup_adv()
480 if (hw->autoneg_advertised & ADVERTISED_Autoneg) in atl1c_phy_setup_adv()
718 u16 autoneg_advertised = ADVERTISED_10baseT_Half; in atl1c_phy_to_ps_link() local
728 autoneg_advertised = ADVERTISED_10baseT_Full; in atl1c_phy_to_ps_link()
[all …]
Datl1c.h385 u16 autoneg_advertised; member
/linux-6.6.21/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_param.c313 hw->phy.autoneg_advertised = opt.def; in pch_gbe_check_copper_options()
318 hw->phy.autoneg_advertised = tmp; in pch_gbe_check_copper_options()
337 hw->phy.autoneg_advertised = PHY_ADVERTISE_10_HALF | in pch_gbe_check_copper_options()
348 hw->phy.autoneg_advertised = PHY_ADVERTISE_10_FULL | in pch_gbe_check_copper_options()
360 hw->phy.autoneg_advertised = PHY_ADVERTISE_10_HALF | in pch_gbe_check_copper_options()
368 hw->phy.autoneg_advertised = 0; in pch_gbe_check_copper_options()
375 hw->phy.autoneg_advertised = 0; in pch_gbe_check_copper_options()
385 hw->phy.autoneg_advertised = PHY_ADVERTISE_100_HALF | in pch_gbe_check_copper_options()
394 hw->phy.autoneg_advertised = 0; in pch_gbe_check_copper_options()
402 hw->phy.autoneg_advertised = 0; in pch_gbe_check_copper_options()
[all …]
Dpch_gbe_phy.c308 cmd.advertising = hw->phy.autoneg_advertised; in pch_gbe_phy_init_setting()
Dpch_gbe.h355 u16 autoneg_advertised; member
/linux-6.6.21/drivers/net/ethernet/intel/igc/
Digc_phy.c227 phy->autoneg_advertised &= phy->autoneg_mask; in igc_phy_setup_autoneg()
270 hw_dbg("autoneg_advertised %x\n", phy->autoneg_advertised); in igc_phy_setup_autoneg()
273 if (phy->autoneg_advertised & ADVERTISE_10_HALF) { in igc_phy_setup_autoneg()
279 if (phy->autoneg_advertised & ADVERTISE_10_FULL) { in igc_phy_setup_autoneg()
285 if (phy->autoneg_advertised & ADVERTISE_100_HALF) { in igc_phy_setup_autoneg()
291 if (phy->autoneg_advertised & ADVERTISE_100_FULL) { in igc_phy_setup_autoneg()
297 if (phy->autoneg_advertised & ADVERTISE_1000_HALF) in igc_phy_setup_autoneg()
301 if (phy->autoneg_advertised & ADVERTISE_1000_FULL) { in igc_phy_setup_autoneg()
307 if (phy->autoneg_advertised & ADVERTISE_2500_HALF) in igc_phy_setup_autoneg()
311 if (phy->autoneg_advertised & ADVERTISE_2500_FULL) { in igc_phy_setup_autoneg()
[all …]
Digc_ethtool.c1758 if (hw->phy.autoneg_advertised & ADVERTISE_10_HALF) in igc_ethtool_get_link_ksettings()
1760 if (hw->phy.autoneg_advertised & ADVERTISE_10_FULL) in igc_ethtool_get_link_ksettings()
1762 if (hw->phy.autoneg_advertised & ADVERTISE_100_HALF) in igc_ethtool_get_link_ksettings()
1764 if (hw->phy.autoneg_advertised & ADVERTISE_100_FULL) in igc_ethtool_get_link_ksettings()
1766 if (hw->phy.autoneg_advertised & ADVERTISE_1000_FULL) in igc_ethtool_get_link_ksettings()
1768 if (hw->phy.autoneg_advertised & ADVERTISE_2500_FULL) in igc_ethtool_get_link_ksettings()
1907 hw->phy.autoneg_advertised = advertised; in igc_ethtool_set_link_ksettings()
Digc_hw.h141 u16 autoneg_advertised; member
/linux-6.6.21/drivers/net/ethernet/intel/e1000/
De1000_param.c590 adapter->hw.autoneg_advertised = AUTONEG_ADV_DEFAULT; in e1000_check_copper_options()
641 adapter->hw.autoneg_advertised = an; in e1000_check_copper_options()
655 adapter->hw.autoneg_advertised = ADVERTISE_10_HALF | in e1000_check_copper_options()
662 adapter->hw.autoneg_advertised = ADVERTISE_10_FULL | in e1000_check_copper_options()
670 adapter->hw.autoneg_advertised = ADVERTISE_10_HALF | in e1000_check_copper_options()
677 adapter->hw.autoneg_advertised = 0; in e1000_check_copper_options()
683 adapter->hw.autoneg_advertised = 0; in e1000_check_copper_options()
689 adapter->hw.autoneg_advertised = ADVERTISE_100_HALF | in e1000_check_copper_options()
696 adapter->hw.autoneg_advertised = 0; in e1000_check_copper_options()
702 adapter->hw.autoneg_advertised = 0; in e1000_check_copper_options()
[all …]
De1000_hw.c1141 if (hw->autoneg_advertised == ADVERTISE_1000_FULL) { in e1000_copper_link_igp_setup()
1316 hw->autoneg_advertised &= AUTONEG_ADVERTISE_SPEED_DEFAULT; in e1000_copper_link_autoneg()
1321 if (hw->autoneg_advertised == 0) in e1000_copper_link_autoneg()
1322 hw->autoneg_advertised = AUTONEG_ADVERTISE_SPEED_DEFAULT; in e1000_copper_link_autoneg()
1326 hw->autoneg_advertised &= AUTONEG_ADVERTISE_10_100_ALL; in e1000_copper_link_autoneg()
1526 e_dbg("autoneg_advertised %x\n", hw->autoneg_advertised); in e1000_phy_setup_autoneg()
1529 if (hw->autoneg_advertised & ADVERTISE_10_HALF) { in e1000_phy_setup_autoneg()
1535 if (hw->autoneg_advertised & ADVERTISE_10_FULL) { in e1000_phy_setup_autoneg()
1541 if (hw->autoneg_advertised & ADVERTISE_100_HALF) { in e1000_phy_setup_autoneg()
1547 if (hw->autoneg_advertised & ADVERTISE_100_FULL) { in e1000_phy_setup_autoneg()
[all …]
De1000_ethtool.c106 advertising |= hw->autoneg_advertised; in e1000_get_link_ksettings()
195 hw->autoneg_advertised = ADVERTISED_1000baseT_Full | in e1000_set_link_ksettings()
199 hw->autoneg_advertised = advertising | in e1000_set_link_ksettings()
1522 u16 autoneg_advertised = hw->autoneg_advertised; in e1000_diag_test() local
1558 hw->autoneg_advertised = autoneg_advertised; in e1000_diag_test()
/linux-6.6.21/drivers/net/ethernet/atheros/atl1e/
Datl1e_ethtool.c34 advertising |= hw->autoneg_advertised; in atl1e_get_link_ksettings()
78 hw->autoneg_advertised = in atl1e_set_link_ksettings()
88 hw->autoneg_advertised = in atl1e_set_link_ksettings()
91 advertising = hw->autoneg_advertised | in atl1e_set_link_ksettings()
96 if (hw->autoneg_advertised & ADVERTISE_10_HALF) in atl1e_set_link_ksettings()
98 if (hw->autoneg_advertised & ADVERTISE_10_FULL) in atl1e_set_link_ksettings()
100 if (hw->autoneg_advertised & ADVERTISE_100_HALF) in atl1e_set_link_ksettings()
102 if (hw->autoneg_advertised & ADVERTISE_100_FULL) in atl1e_set_link_ksettings()
104 if (hw->autoneg_advertised & ADVERTISE_1000_FULL) in atl1e_set_link_ksettings()
Datl1e_hw.c318 hw->autoneg_advertised = ADVERTISE_ALL; in atl1e_phy_setup_autoneg_adv()
321 hw->autoneg_advertised |= ADVERTISE_1000_FULL; in atl1e_phy_setup_autoneg_adv()
327 hw->autoneg_advertised = ADVERTISE_100_FULL; in atl1e_phy_setup_autoneg_adv()
332 hw->autoneg_advertised = ADVERTISE_100_HALF; in atl1e_phy_setup_autoneg_adv()
337 hw->autoneg_advertised = ADVERTISE_10_FULL; in atl1e_phy_setup_autoneg_adv()
342 hw->autoneg_advertised = ADVERTISE_10_HALF; in atl1e_phy_setup_autoneg_adv()
Datl1e.h326 u16 autoneg_advertised; member
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/
Dphy.c879 if (phy->autoneg_advertised == ADVERTISE_1000_FULL) { in e1000e_copper_link_setup_igp()
925 phy->autoneg_advertised &= phy->autoneg_mask; in e1000_phy_setup_autoneg()
955 e_dbg("autoneg_advertised %x\n", phy->autoneg_advertised); in e1000_phy_setup_autoneg()
958 if (phy->autoneg_advertised & ADVERTISE_10_HALF) { in e1000_phy_setup_autoneg()
964 if (phy->autoneg_advertised & ADVERTISE_10_FULL) { in e1000_phy_setup_autoneg()
970 if (phy->autoneg_advertised & ADVERTISE_100_HALF) { in e1000_phy_setup_autoneg()
976 if (phy->autoneg_advertised & ADVERTISE_100_FULL) { in e1000_phy_setup_autoneg()
982 if (phy->autoneg_advertised & ADVERTISE_1000_HALF) in e1000_phy_setup_autoneg()
986 if (phy->autoneg_advertised & ADVERTISE_1000_FULL) { in e1000_phy_setup_autoneg()
1015 phy->autoneg_advertised &= in e1000_phy_setup_autoneg()
[all …]
Dethtool.c134 advertising |= hw->phy.autoneg_advertised; in e1000_get_link_ksettings()
245 adapter->hw.phy.autoneg_advertised = in e1000_set_spd_dplx()
313 hw->phy.autoneg_advertised = ADVERTISED_1000baseT_Full | in e1000_set_link_ksettings()
316 hw->phy.autoneg_advertised = advertising | in e1000_set_link_ksettings()
318 advertising = hw->phy.autoneg_advertised; in e1000_set_link_ksettings()
1815 u16 autoneg_advertised; in e1000_diag_test() local
1840 autoneg_advertised = adapter->hw.phy.autoneg_advertised; in e1000_diag_test()
1874 adapter->hw.phy.autoneg_advertised = autoneg_advertised; in e1000_diag_test()
D82571.c628 } else if ((hw->phy.autoneg_advertised == E1000_ALL_SPEED_DUPLEX) || in e1000_set_d3_lplu_state_82574()
629 (hw->phy.autoneg_advertised == E1000_ALL_NOT_GIG) || in e1000_set_d3_lplu_state_82574()
630 (hw->phy.autoneg_advertised == E1000_ALL_10_SPEED)) { in e1000_set_d3_lplu_state_82574()
/linux-6.6.21/drivers/net/ethernet/intel/igb/
De1000_phy.c792 if (phy->autoneg_advertised == ADVERTISE_1000_FULL) { in igb_copper_link_setup_igp()
870 phy->autoneg_advertised &= phy->autoneg_mask; in igb_copper_link_autoneg()
875 if (phy->autoneg_advertised == 0) in igb_copper_link_autoneg()
876 phy->autoneg_advertised = phy->autoneg_mask; in igb_copper_link_autoneg()
931 phy->autoneg_advertised &= phy->autoneg_mask; in igb_phy_setup_autoneg()
963 hw_dbg("autoneg_advertised %x\n", phy->autoneg_advertised); in igb_phy_setup_autoneg()
966 if (phy->autoneg_advertised & ADVERTISE_10_HALF) { in igb_phy_setup_autoneg()
972 if (phy->autoneg_advertised & ADVERTISE_10_FULL) { in igb_phy_setup_autoneg()
978 if (phy->autoneg_advertised & ADVERTISE_100_HALF) { in igb_phy_setup_autoneg()
984 if (phy->autoneg_advertised & ADVERTISE_100_FULL) { in igb_phy_setup_autoneg()
[all …]
Digb_ethtool.c163 advertising |= hw->phy.autoneg_advertised; in igb_get_link_ksettings()
300 hw->phy.autoneg_advertised = advertising | in igb_set_link_ksettings()
305 hw->phy.autoneg_advertised = in igb_set_link_ksettings()
309 hw->phy.autoneg_advertised = in igb_set_link_ksettings()
313 hw->phy.autoneg_advertised = in igb_set_link_ksettings()
320 hw->phy.autoneg_advertised = advertising | in igb_set_link_ksettings()
324 advertising = hw->phy.autoneg_advertised; in igb_set_link_ksettings()
2017 u16 autoneg_advertised; in igb_diag_test() local
2030 autoneg_advertised = adapter->hw.phy.autoneg_advertised; in igb_diag_test()
2069 adapter->hw.phy.autoneg_advertised = autoneg_advertised; in igb_diag_test()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.c1112 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_10GB_FULL) && in ixgbe_setup_phy_link_generic()
1124 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_5GB_FULL) && in ixgbe_setup_phy_link_generic()
1130 if ((hw->phy.autoneg_advertised & in ixgbe_setup_phy_link_generic()
1138 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_1GB_FULL) && in ixgbe_setup_phy_link_generic()
1149 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_100_FULL) && in ixgbe_setup_phy_link_generic()
1184 hw->phy.autoneg_advertised = 0; in ixgbe_setup_phy_link_speed_generic()
1187 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_setup_phy_link_speed_generic()
1190 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_5GB_FULL; in ixgbe_setup_phy_link_speed_generic()
1193 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_2_5GB_FULL; in ixgbe_setup_phy_link_speed_generic()
1196 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_setup_phy_link_speed_generic()
[all …]
Dixgbe_82599.c671 hw->phy.autoneg_advertised = 0; in ixgbe_setup_mac_link_smartspeed()
674 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_setup_mac_link_smartspeed()
677 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_setup_mac_link_smartspeed()
680 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_100_FULL; in ixgbe_setup_mac_link_smartspeed()
Dixgbe_ethtool.c266 if (hw->phy.autoneg_advertised) { in ixgbe_get_link_ksettings()
268 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_10_FULL) in ixgbe_get_link_ksettings()
271 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_100_FULL) in ixgbe_get_link_ksettings()
274 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_10GB_FULL) in ixgbe_get_link_ksettings()
276 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_1GB_FULL) { in ixgbe_get_link_ksettings()
285 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_5GB_FULL) in ixgbe_get_link_ksettings()
288 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_2_5GB_FULL) in ixgbe_get_link_ksettings()
483 old = hw->phy.autoneg_advertised; in ixgbe_set_link_ksettings()
/linux-6.6.21/drivers/net/ethernet/atheros/atlx/
Datl2.c1708 advertising |= hw->autoneg_advertised; in atl2_get_link_ksettings()
1755 hw->autoneg_advertised = MY_ADV_MASK; in atl2_set_link_ksettings()
1758 hw->autoneg_advertised = ADVERTISE_100_FULL; in atl2_set_link_ksettings()
1761 hw->autoneg_advertised = ADVERTISE_100_HALF; in atl2_set_link_ksettings()
1764 hw->autoneg_advertised = ADVERTISE_10_FULL; in atl2_set_link_ksettings()
1767 hw->autoneg_advertised = ADVERTISE_10_HALF; in atl2_set_link_ksettings()
1772 advertising = hw->autoneg_advertised | in atl2_set_link_ksettings()
2556 hw->autoneg_advertised = in atl2_phy_setup_autoneg_adv()
2564 hw->autoneg_advertised = ADVERTISE_100_FULL; in atl2_phy_setup_autoneg_adv()
2568 hw->autoneg_advertised = ADVERTISE_100_HALF; in atl2_phy_setup_autoneg_adv()
[all …]
Datl2.h392 u16 autoneg_advertised; member

12