Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
687 u16 autoneg_advertised = ADVERTISED_10baseT_Half; in atl1c_phy_to_ps_link() local
700 autoneg_advertised = ADVERTISED_10baseT_Full; in atl1c_phy_to_ps_link()
[all …]
Datl1c.h386 u16 autoneg_advertised; member
/kernel/linux/linux-5.10/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.c310 cmd.advertising = hw->phy.autoneg_advertised; in pch_gbe_phy_init_setting()
Dpch_gbe.h355 u16 autoneg_advertised; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_phy.c237 phy->autoneg_advertised &= phy->autoneg_mask; in igc_phy_setup_autoneg()
281 hw_dbg("autoneg_advertised %x\n", phy->autoneg_advertised); in igc_phy_setup_autoneg()
284 if (phy->autoneg_advertised & ADVERTISE_10_HALF) { in igc_phy_setup_autoneg()
290 if (phy->autoneg_advertised & ADVERTISE_10_FULL) { in igc_phy_setup_autoneg()
296 if (phy->autoneg_advertised & ADVERTISE_100_HALF) { in igc_phy_setup_autoneg()
302 if (phy->autoneg_advertised & ADVERTISE_100_FULL) { in igc_phy_setup_autoneg()
308 if (phy->autoneg_advertised & ADVERTISE_1000_HALF) in igc_phy_setup_autoneg()
312 if (phy->autoneg_advertised & ADVERTISE_1000_FULL) { in igc_phy_setup_autoneg()
318 if (phy->autoneg_advertised & ADVERTISE_2500_HALF) in igc_phy_setup_autoneg()
322 if (phy->autoneg_advertised & ADVERTISE_2500_FULL) { in igc_phy_setup_autoneg()
[all …]
Digc_ethtool.c1678 if (hw->phy.autoneg_advertised & ADVERTISE_10_HALF) in igc_ethtool_get_link_ksettings()
1680 if (hw->phy.autoneg_advertised & ADVERTISE_10_FULL) in igc_ethtool_get_link_ksettings()
1682 if (hw->phy.autoneg_advertised & ADVERTISE_100_HALF) in igc_ethtool_get_link_ksettings()
1684 if (hw->phy.autoneg_advertised & ADVERTISE_100_FULL) in igc_ethtool_get_link_ksettings()
1686 if (hw->phy.autoneg_advertised & ADVERTISE_1000_FULL) in igc_ethtool_get_link_ksettings()
1688 if (hw->phy.autoneg_advertised & ADVERTISE_2500_FULL) in igc_ethtool_get_link_ksettings()
1812 hw->phy.autoneg_advertised = advertising; in igc_ethtool_set_link_ksettings()
Digc_hw.h152 u16 autoneg_advertised; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000/
De1000_param.c592 adapter->hw.autoneg_advertised = AUTONEG_ADV_DEFAULT; in e1000_check_copper_options()
643 adapter->hw.autoneg_advertised = an; in e1000_check_copper_options()
657 adapter->hw.autoneg_advertised = ADVERTISE_10_HALF | in e1000_check_copper_options()
664 adapter->hw.autoneg_advertised = ADVERTISE_10_FULL | in e1000_check_copper_options()
672 adapter->hw.autoneg_advertised = ADVERTISE_10_HALF | in e1000_check_copper_options()
679 adapter->hw.autoneg_advertised = 0; in e1000_check_copper_options()
685 adapter->hw.autoneg_advertised = 0; in e1000_check_copper_options()
691 adapter->hw.autoneg_advertised = ADVERTISE_100_HALF | in e1000_check_copper_options()
698 adapter->hw.autoneg_advertised = 0; in e1000_check_copper_options()
704 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()
1315 hw->autoneg_advertised &= AUTONEG_ADVERTISE_SPEED_DEFAULT; in e1000_copper_link_autoneg()
1320 if (hw->autoneg_advertised == 0) in e1000_copper_link_autoneg()
1321 hw->autoneg_advertised = AUTONEG_ADVERTISE_SPEED_DEFAULT; in e1000_copper_link_autoneg()
1325 hw->autoneg_advertised &= AUTONEG_ADVERTISE_10_100_ALL; in e1000_copper_link_autoneg()
1525 e_dbg("autoneg_advertised %x\n", hw->autoneg_advertised); in e1000_phy_setup_autoneg()
1528 if (hw->autoneg_advertised & ADVERTISE_10_HALF) { in e1000_phy_setup_autoneg()
1534 if (hw->autoneg_advertised & ADVERTISE_10_FULL) { in e1000_phy_setup_autoneg()
1540 if (hw->autoneg_advertised & ADVERTISE_100_HALF) { in e1000_phy_setup_autoneg()
1546 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()
1518 u16 autoneg_advertised = hw->autoneg_advertised; in e1000_diag_test() local
1554 hw->autoneg_advertised = autoneg_advertised; in e1000_diag_test()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
De1000_phy.c792 if (phy->autoneg_advertised == ADVERTISE_1000_FULL) { in igb_copper_link_setup_igp()
869 phy->autoneg_advertised &= phy->autoneg_mask; in igb_copper_link_autoneg()
874 if (phy->autoneg_advertised == 0) in igb_copper_link_autoneg()
875 phy->autoneg_advertised = phy->autoneg_mask; in igb_copper_link_autoneg()
930 phy->autoneg_advertised &= phy->autoneg_mask; in igb_phy_setup_autoneg()
962 hw_dbg("autoneg_advertised %x\n", phy->autoneg_advertised); in igb_phy_setup_autoneg()
965 if (phy->autoneg_advertised & ADVERTISE_10_HALF) { in igb_phy_setup_autoneg()
971 if (phy->autoneg_advertised & ADVERTISE_10_FULL) { in igb_phy_setup_autoneg()
977 if (phy->autoneg_advertised & ADVERTISE_100_HALF) { in igb_phy_setup_autoneg()
983 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()
2012 u16 autoneg_advertised; in igb_diag_test() local
2025 autoneg_advertised = adapter->hw.phy.autoneg_advertised; in igb_diag_test()
2064 adapter->hw.phy.autoneg_advertised = autoneg_advertised; in igb_diag_test()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
Dphy.c878 if (phy->autoneg_advertised == ADVERTISE_1000_FULL) { in e1000e_copper_link_setup_igp()
924 phy->autoneg_advertised &= phy->autoneg_mask; in e1000_phy_setup_autoneg()
954 e_dbg("autoneg_advertised %x\n", phy->autoneg_advertised); in e1000_phy_setup_autoneg()
957 if (phy->autoneg_advertised & ADVERTISE_10_HALF) { in e1000_phy_setup_autoneg()
963 if (phy->autoneg_advertised & ADVERTISE_10_FULL) { in e1000_phy_setup_autoneg()
969 if (phy->autoneg_advertised & ADVERTISE_100_HALF) { in e1000_phy_setup_autoneg()
975 if (phy->autoneg_advertised & ADVERTISE_100_FULL) { in e1000_phy_setup_autoneg()
981 if (phy->autoneg_advertised & ADVERTISE_1000_HALF) in e1000_phy_setup_autoneg()
985 if (phy->autoneg_advertised & ADVERTISE_1000_FULL) { in e1000_phy_setup_autoneg()
1077 phy->autoneg_advertised &= phy->autoneg_mask; in e1000_copper_link_autoneg()
[all …]
Dethtool.c132 advertising |= hw->phy.autoneg_advertised; in e1000_get_link_ksettings()
237 adapter->hw.phy.autoneg_advertised = in e1000_set_spd_dplx()
305 hw->phy.autoneg_advertised = ADVERTISED_1000baseT_Full | in e1000_set_link_ksettings()
308 hw->phy.autoneg_advertised = advertising | in e1000_set_link_ksettings()
310 advertising = hw->phy.autoneg_advertised; in e1000_set_link_ksettings()
1797 u16 autoneg_advertised; in e1000_diag_test() local
1822 autoneg_advertised = adapter->hw.phy.autoneg_advertised; in e1000_diag_test()
1856 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.c978 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_10GB_FULL) && in ixgbe_setup_phy_link_generic()
990 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_5GB_FULL) && in ixgbe_setup_phy_link_generic()
996 if ((hw->phy.autoneg_advertised & in ixgbe_setup_phy_link_generic()
1004 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_1GB_FULL) && in ixgbe_setup_phy_link_generic()
1015 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_100_FULL) && in ixgbe_setup_phy_link_generic()
1050 hw->phy.autoneg_advertised = 0; in ixgbe_setup_phy_link_speed_generic()
1053 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_setup_phy_link_speed_generic()
1056 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_5GB_FULL; in ixgbe_setup_phy_link_speed_generic()
1059 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_2_5GB_FULL; in ixgbe_setup_phy_link_speed_generic()
1062 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.c268 if (hw->phy.autoneg_advertised) { in ixgbe_get_link_ksettings()
270 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_10_FULL) in ixgbe_get_link_ksettings()
273 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_100_FULL) in ixgbe_get_link_ksettings()
276 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_10GB_FULL) in ixgbe_get_link_ksettings()
278 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_1GB_FULL) { in ixgbe_get_link_ksettings()
287 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_5GB_FULL) in ixgbe_get_link_ksettings()
290 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_2_5GB_FULL) in ixgbe_get_link_ksettings()
486 old = hw->phy.autoneg_advertised; in ixgbe_set_link_ksettings()
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/
Datl2.c1730 advertising |= hw->autoneg_advertised; in atl2_get_link_ksettings()
1777 hw->autoneg_advertised = MY_ADV_MASK; in atl2_set_link_ksettings()
1780 hw->autoneg_advertised = ADVERTISE_100_FULL; in atl2_set_link_ksettings()
1783 hw->autoneg_advertised = ADVERTISE_100_HALF; in atl2_set_link_ksettings()
1786 hw->autoneg_advertised = ADVERTISE_10_FULL; in atl2_set_link_ksettings()
1789 hw->autoneg_advertised = ADVERTISE_10_HALF; in atl2_set_link_ksettings()
1794 advertising = hw->autoneg_advertised | in atl2_set_link_ksettings()
2579 hw->autoneg_advertised = in atl2_phy_setup_autoneg_adv()
2587 hw->autoneg_advertised = ADVERTISE_100_FULL; in atl2_phy_setup_autoneg_adv()
2591 hw->autoneg_advertised = ADVERTISE_100_HALF; in atl2_phy_setup_autoneg_adv()
[all …]
Datl2.h392 u16 autoneg_advertised; member

12