Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/net/ethernet/atheros/atl1c/
Datl1c_ethtool.c47 advertising |= hw->autoneg_advertised; in atl1c_get_link_ksettings()
78 u16 autoneg_advertised; in atl1c_set_link_ksettings() local
84 autoneg_advertised = ADVERTISED_Autoneg; in atl1c_set_link_ksettings()
95 autoneg_advertised = ADVERTISED_1000baseT_Full; in atl1c_set_link_ksettings()
98 autoneg_advertised = ADVERTISED_100baseT_Full; in atl1c_set_link_ksettings()
100 autoneg_advertised = ADVERTISED_100baseT_Half; in atl1c_set_link_ksettings()
103 autoneg_advertised = ADVERTISED_10baseT_Full; in atl1c_set_link_ksettings()
105 autoneg_advertised = ADVERTISED_10baseT_Half; in atl1c_set_link_ksettings()
109 if (hw->autoneg_advertised != autoneg_advertised) { in atl1c_set_link_ksettings()
110 hw->autoneg_advertised = autoneg_advertised; in atl1c_set_link_ksettings()
Datl1c_hw.c475 if (hw->autoneg_advertised & ADVERTISED_10baseT_Half) in atl1c_phy_setup_adv()
477 if (hw->autoneg_advertised & ADVERTISED_10baseT_Full) in atl1c_phy_setup_adv()
479 if (hw->autoneg_advertised & ADVERTISED_100baseT_Half) in atl1c_phy_setup_adv()
481 if (hw->autoneg_advertised & ADVERTISED_100baseT_Full) in atl1c_phy_setup_adv()
484 if (hw->autoneg_advertised & ADVERTISED_Autoneg) in atl1c_phy_setup_adv()
489 if (hw->autoneg_advertised & ADVERTISED_1000baseT_Half) in atl1c_phy_setup_adv()
491 if (hw->autoneg_advertised & ADVERTISED_1000baseT_Full) in atl1c_phy_setup_adv()
493 if (hw->autoneg_advertised & ADVERTISED_Autoneg) in atl1c_phy_setup_adv()
700 u16 autoneg_advertised = ADVERTISED_10baseT_Half; in atl1c_phy_to_ps_link() local
713 autoneg_advertised = ADVERTISED_10baseT_Full; in atl1c_phy_to_ps_link()
[all …]
Datl1c.h399 u16 autoneg_advertised; member
/Linux-v4.19/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_param.c324 hw->phy.autoneg_advertised = opt.def; in pch_gbe_check_copper_options()
329 hw->phy.autoneg_advertised = tmp; in pch_gbe_check_copper_options()
348 hw->phy.autoneg_advertised = PHY_ADVERTISE_10_HALF | in pch_gbe_check_copper_options()
359 hw->phy.autoneg_advertised = PHY_ADVERTISE_10_FULL | in pch_gbe_check_copper_options()
371 hw->phy.autoneg_advertised = PHY_ADVERTISE_10_HALF | in pch_gbe_check_copper_options()
379 hw->phy.autoneg_advertised = 0; in pch_gbe_check_copper_options()
386 hw->phy.autoneg_advertised = 0; in pch_gbe_check_copper_options()
396 hw->phy.autoneg_advertised = PHY_ADVERTISE_100_HALF | in pch_gbe_check_copper_options()
405 hw->phy.autoneg_advertised = 0; in pch_gbe_check_copper_options()
413 hw->phy.autoneg_advertised = 0; in pch_gbe_check_copper_options()
[all …]
Dpch_gbe_phy.c321 cmd.advertising = hw->phy.autoneg_advertised; in pch_gbe_phy_init_setting()
Dpch_gbe.h366 u16 autoneg_advertised; member
Dpch_gbe_ethtool.c148 hw->phy.autoneg_advertised = advertising; in pch_gbe_set_link_ksettings()
/Linux-v4.19/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.c1143 if (hw->autoneg_advertised == ADVERTISE_1000_FULL) { in e1000_copper_link_igp_setup()
1317 hw->autoneg_advertised &= AUTONEG_ADVERTISE_SPEED_DEFAULT; in e1000_copper_link_autoneg()
1322 if (hw->autoneg_advertised == 0) in e1000_copper_link_autoneg()
1323 hw->autoneg_advertised = AUTONEG_ADVERTISE_SPEED_DEFAULT; in e1000_copper_link_autoneg()
1327 hw->autoneg_advertised &= AUTONEG_ADVERTISE_10_100_ALL; in e1000_copper_link_autoneg()
1527 e_dbg("autoneg_advertised %x\n", hw->autoneg_advertised); in e1000_phy_setup_autoneg()
1530 if (hw->autoneg_advertised & ADVERTISE_10_HALF) { in e1000_phy_setup_autoneg()
1536 if (hw->autoneg_advertised & ADVERTISE_10_FULL) { in e1000_phy_setup_autoneg()
1542 if (hw->autoneg_advertised & ADVERTISE_100_HALF) { in e1000_phy_setup_autoneg()
1548 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-v4.19/drivers/net/ethernet/atheros/atl1e/
Datl1e_ethtool.c48 advertising |= hw->autoneg_advertised; in atl1e_get_link_ksettings()
92 hw->autoneg_advertised = in atl1e_set_link_ksettings()
102 hw->autoneg_advertised = in atl1e_set_link_ksettings()
105 advertising = hw->autoneg_advertised | in atl1e_set_link_ksettings()
110 if (hw->autoneg_advertised & ADVERTISE_10_HALF) in atl1e_set_link_ksettings()
112 if (hw->autoneg_advertised & ADVERTISE_10_FULL) in atl1e_set_link_ksettings()
114 if (hw->autoneg_advertised & ADVERTISE_100_HALF) in atl1e_set_link_ksettings()
116 if (hw->autoneg_advertised & ADVERTISE_100_FULL) in atl1e_set_link_ksettings()
118 if (hw->autoneg_advertised & ADVERTISE_1000_FULL) in atl1e_set_link_ksettings()
Datl1e_hw.c331 hw->autoneg_advertised = ADVERTISE_ALL; in atl1e_phy_setup_autoneg_adv()
334 hw->autoneg_advertised |= ADVERTISE_1000_FULL; in atl1e_phy_setup_autoneg_adv()
340 hw->autoneg_advertised = ADVERTISE_100_FULL; in atl1e_phy_setup_autoneg_adv()
345 hw->autoneg_advertised = ADVERTISE_100_HALF; in atl1e_phy_setup_autoneg_adv()
350 hw->autoneg_advertised = ADVERTISE_10_FULL; in atl1e_phy_setup_autoneg_adv()
355 hw->autoneg_advertised = ADVERTISE_10_HALF; in atl1e_phy_setup_autoneg_adv()
Datl1e.h339 u16 autoneg_advertised; member
/Linux-v4.19/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.c162 advertising |= hw->phy.autoneg_advertised; in igb_get_link_ksettings()
299 hw->phy.autoneg_advertised = advertising | in igb_set_link_ksettings()
304 hw->phy.autoneg_advertised = in igb_set_link_ksettings()
308 hw->phy.autoneg_advertised = in igb_set_link_ksettings()
312 hw->phy.autoneg_advertised = in igb_set_link_ksettings()
319 hw->phy.autoneg_advertised = advertising | in igb_set_link_ksettings()
323 advertising = hw->phy.autoneg_advertised; in igb_set_link_ksettings()
1997 u16 autoneg_advertised; in igb_diag_test() local
2010 autoneg_advertised = adapter->hw.phy.autoneg_advertised; in igb_diag_test()
2049 adapter->hw.phy.autoneg_advertised = autoneg_advertised; in igb_diag_test()
De1000_hw.h421 u16 autoneg_advertised; member
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.c680 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_10GB_FULL) && in ixgbe_setup_phy_link_generic()
692 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_5GB_FULL) && in ixgbe_setup_phy_link_generic()
698 if ((hw->phy.autoneg_advertised & in ixgbe_setup_phy_link_generic()
706 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_1GB_FULL) && in ixgbe_setup_phy_link_generic()
717 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_100_FULL) && in ixgbe_setup_phy_link_generic()
752 hw->phy.autoneg_advertised = 0; in ixgbe_setup_phy_link_speed_generic()
755 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_setup_phy_link_speed_generic()
758 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_5GB_FULL; in ixgbe_setup_phy_link_speed_generic()
761 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_2_5GB_FULL; in ixgbe_setup_phy_link_speed_generic()
764 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_x550.c516 hw->phy.autoneg_advertised = hw->phy.speeds_supported; in ixgbe_get_phy_id_fw()
592 if (hw->phy.autoneg_advertised & ixgbe_fw_map[i].phy_speed) in ixgbe_setup_fw_link()
2572 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_2_5GB_FULL) in ixgbe_setup_kr_x550em()
2578 return ixgbe_setup_kr_speed_x550em(hw, hw->phy.autoneg_advertised); in ixgbe_setup_kr_x550em()
3086 save_autoneg = hw->phy.autoneg_advertised; in ixgbe_enter_lplu_t_x550em()
3092 hw->phy.autoneg_advertised = save_autoneg; in ixgbe_enter_lplu_t_x550em()
/Linux-v4.19/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.c125 advertising |= hw->phy.autoneg_advertised; in e1000_get_link_ksettings()
230 adapter->hw.phy.autoneg_advertised = in e1000_set_spd_dplx()
298 hw->phy.autoneg_advertised = ADVERTISED_1000baseT_Full | in e1000_set_link_ksettings()
301 hw->phy.autoneg_advertised = advertising | in e1000_set_link_ksettings()
303 advertising = hw->phy.autoneg_advertised; in e1000_set_link_ksettings()
1787 u16 autoneg_advertised; in e1000_diag_test() local
1812 autoneg_advertised = adapter->hw.phy.autoneg_advertised; in e1000_diag_test()
1846 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-v4.19/drivers/net/ethernet/atheros/atlx/
Datl2.c1755 advertising |= hw->autoneg_advertised; in atl2_get_link_ksettings()
1802 hw->autoneg_advertised = MY_ADV_MASK; in atl2_set_link_ksettings()
1805 hw->autoneg_advertised = ADVERTISE_100_FULL; in atl2_set_link_ksettings()
1808 hw->autoneg_advertised = ADVERTISE_100_HALF; in atl2_set_link_ksettings()
1811 hw->autoneg_advertised = ADVERTISE_10_FULL; in atl2_set_link_ksettings()
1814 hw->autoneg_advertised = ADVERTISE_10_HALF; in atl2_set_link_ksettings()
1819 advertising = hw->autoneg_advertised | in atl2_set_link_ksettings()
2606 hw->autoneg_advertised = in atl2_phy_setup_autoneg_adv()
2614 hw->autoneg_advertised = ADVERTISE_100_FULL; in atl2_phy_setup_autoneg_adv()
2618 hw->autoneg_advertised = ADVERTISE_100_HALF; in atl2_phy_setup_autoneg_adv()
[all …]
Datl2.h405 u16 autoneg_advertised; member
Datl1.h737 u16 autoneg_advertised; member

12