Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/net/ethernet/atheros/atl1c/
A 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()
A Datl1c_hw.c462 if (hw->autoneg_advertised & ADVERTISED_10baseT_Half) in atl1c_phy_setup_adv()
471 if (hw->autoneg_advertised & ADVERTISED_Autoneg) 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()
730 autoneg_advertised = ADVERTISED_10baseT_Half; in atl1c_phy_to_ps_link()
732 autoneg_advertised = ADVERTISED_100baseT_Half; in atl1c_phy_to_ps_link()
734 autoneg_advertised = ADVERTISED_100baseT_Full; in atl1c_phy_to_ps_link()
736 save_autoneg_advertised = hw->autoneg_advertised; in atl1c_phy_to_ps_link()
738 hw->autoneg_advertised = autoneg_advertised; in atl1c_phy_to_ps_link()
[all …]
A Datl1c.h385 u16 autoneg_advertised; member
/linux-6.3-rc2/drivers/net/ethernet/oki-semi/pch_gbe/
A 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 …]
A Dpch_gbe_phy.c308 cmd.advertising = hw->phy.autoneg_advertised; in pch_gbe_phy_init_setting()
A Dpch_gbe.h355 u16 autoneg_advertised; member
/linux-6.3-rc2/drivers/net/ethernet/intel/igc/
A Digc_phy.c227 phy->autoneg_advertised &= phy->autoneg_mask; 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()
441 phy->autoneg_advertised &= phy->autoneg_mask; in igc_copper_link_autoneg()
446 if (phy->autoneg_advertised == 0) in igc_copper_link_autoneg()
[all …]
A Digc_ethtool.c1712 if (hw->phy.autoneg_advertised & ADVERTISE_10_HALF) in igc_ethtool_get_link_ksettings()
1714 if (hw->phy.autoneg_advertised & ADVERTISE_10_FULL) in igc_ethtool_get_link_ksettings()
1716 if (hw->phy.autoneg_advertised & ADVERTISE_100_HALF) in igc_ethtool_get_link_ksettings()
1718 if (hw->phy.autoneg_advertised & ADVERTISE_100_FULL) in igc_ethtool_get_link_ksettings()
1720 if (hw->phy.autoneg_advertised & ADVERTISE_1000_FULL) in igc_ethtool_get_link_ksettings()
1722 if (hw->phy.autoneg_advertised & ADVERTISE_2500_FULL) in igc_ethtool_get_link_ksettings()
1846 hw->phy.autoneg_advertised = advertising; in igc_ethtool_set_link_ksettings()
A Digc_hw.h141 u16 autoneg_advertised; member
/linux-6.3-rc2/drivers/net/ethernet/intel/e1000/
A 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 …]
A 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()
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()
1553 if (hw->autoneg_advertised & ADVERTISE_1000_HALF) { in e1000_phy_setup_autoneg()
[all …]
A 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.3-rc2/drivers/net/ethernet/atheros/atl1e/
A 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()
A 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()
A Datl1e.h326 u16 autoneg_advertised; member
/linux-6.3-rc2/drivers/net/ethernet/intel/e1000e/
A Dphy.c925 phy->autoneg_advertised &= phy->autoneg_mask; 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()
982 if (phy->autoneg_advertised & ADVERTISE_1000_HALF) in e1000_phy_setup_autoneg()
1015 phy->autoneg_advertised &= in e1000_phy_setup_autoneg()
1030 phy->autoneg_advertised |= in e1000_phy_setup_autoneg()
1040 phy->autoneg_advertised &= ~ADVERTISED_Pause; in e1000_phy_setup_autoneg()
1048 phy->autoneg_advertised |= in e1000_phy_setup_autoneg()
1086 phy->autoneg_advertised &= phy->autoneg_mask; in e1000_copper_link_autoneg()
1091 if (!phy->autoneg_advertised) in e1000_copper_link_autoneg()
[all …]
A 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()
1813 u16 autoneg_advertised; in e1000_diag_test() local
1838 autoneg_advertised = adapter->hw.phy.autoneg_advertised; in e1000_diag_test()
1872 adapter->hw.phy.autoneg_advertised = autoneg_advertised; in e1000_diag_test()
A 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.3-rc2/drivers/net/ethernet/intel/igb/
A 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()
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()
990 if (phy->autoneg_advertised & ADVERTISE_1000_HALF) in igb_phy_setup_autoneg()
[all …]
A 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()
2014 u16 autoneg_advertised; in igb_diag_test() local
2027 autoneg_advertised = adapter->hw.phy.autoneg_advertised; in igb_diag_test()
2066 adapter->hw.phy.autoneg_advertised = autoneg_advertised; in igb_diag_test()
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_phy.c1131 if ((hw->phy.autoneg_advertised & in ixgbe_setup_phy_link_generic()
1185 hw->phy.autoneg_advertised = 0; in ixgbe_setup_phy_link_speed_generic()
1188 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_setup_phy_link_speed_generic()
1191 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_5GB_FULL; in ixgbe_setup_phy_link_speed_generic()
1194 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_2_5GB_FULL; in ixgbe_setup_phy_link_speed_generic()
1197 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_setup_phy_link_speed_generic()
1200 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_100_FULL; in ixgbe_setup_phy_link_speed_generic()
1203 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10_FULL; in ixgbe_setup_phy_link_speed_generic()
1346 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_10GB_FULL) in ixgbe_setup_phy_link_tnx()
1361 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_1GB_FULL) in ixgbe_setup_phy_link_tnx()
[all …]
A 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()
A 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.3-rc2/drivers/net/ethernet/atheros/atlx/
A 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()
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()
2572 hw->autoneg_advertised = ADVERTISE_10_FULL; in atl2_phy_setup_autoneg_adv()
[all …]
A Datl2.h392 u16 autoneg_advertised; member

Completed in 69 milliseconds

12