Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/atheros/atl1c/
Datl1c_ethtool.c46 ecmd->advertising |= hw->autoneg_advertised; in atl1c_get_settings()
72 u16 autoneg_advertised; in atl1c_set_settings() local
78 autoneg_advertised = ADVERTISED_Autoneg; in atl1c_set_settings()
89 autoneg_advertised = ADVERTISED_1000baseT_Full; in atl1c_set_settings()
92 autoneg_advertised = ADVERTISED_100baseT_Full; in atl1c_set_settings()
94 autoneg_advertised = ADVERTISED_100baseT_Half; in atl1c_set_settings()
97 autoneg_advertised = ADVERTISED_10baseT_Full; in atl1c_set_settings()
99 autoneg_advertised = ADVERTISED_10baseT_Half; in atl1c_set_settings()
103 if (hw->autoneg_advertised != autoneg_advertised) { in atl1c_set_settings()
104 hw->autoneg_advertised = autoneg_advertised; in atl1c_set_settings()
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
/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.h392 u16 autoneg_advertised; member
/drivers/net/ethernet/intel/e1000/
De1000_param.c617 adapter->hw.autoneg_advertised = AUTONEG_ADV_DEFAULT; in e1000_check_copper_options()
668 adapter->hw.autoneg_advertised = an; in e1000_check_copper_options()
682 adapter->hw.autoneg_advertised = ADVERTISE_10_HALF | in e1000_check_copper_options()
689 adapter->hw.autoneg_advertised = ADVERTISE_10_FULL | in e1000_check_copper_options()
697 adapter->hw.autoneg_advertised = ADVERTISE_10_HALF | in e1000_check_copper_options()
704 adapter->hw.autoneg_advertised = 0; in e1000_check_copper_options()
710 adapter->hw.autoneg_advertised = 0; in e1000_check_copper_options()
716 adapter->hw.autoneg_advertised = ADVERTISE_100_HALF | in e1000_check_copper_options()
723 adapter->hw.autoneg_advertised = 0; in e1000_check_copper_options()
729 adapter->hw.autoneg_advertised = 0; in e1000_check_copper_options()
[all …]
De1000_ethtool.c125 ecmd->advertising |= hw->autoneg_advertised; in e1000_get_settings()
215 hw->autoneg_advertised = ADVERTISED_1000baseT_Full | in e1000_set_settings()
219 hw->autoneg_advertised = ecmd->advertising | in e1000_set_settings()
222 ecmd->advertising = hw->autoneg_advertised; in e1000_set_settings()
1542 u16 autoneg_advertised = hw->autoneg_advertised; in e1000_diag_test() local
1578 hw->autoneg_advertised = autoneg_advertised; in e1000_diag_test()
De1000_hw.c1169 if (hw->autoneg_advertised == ADVERTISE_1000_FULL) { in e1000_copper_link_igp_setup()
1343 hw->autoneg_advertised &= AUTONEG_ADVERTISE_SPEED_DEFAULT; in e1000_copper_link_autoneg()
1348 if (hw->autoneg_advertised == 0) in e1000_copper_link_autoneg()
1349 hw->autoneg_advertised = AUTONEG_ADVERTISE_SPEED_DEFAULT; in e1000_copper_link_autoneg()
1353 hw->autoneg_advertised &= AUTONEG_ADVERTISE_10_100_ALL; in e1000_copper_link_autoneg()
1553 e_dbg("autoneg_advertised %x\n", hw->autoneg_advertised); in e1000_phy_setup_autoneg()
1556 if (hw->autoneg_advertised & ADVERTISE_10_HALF) { in e1000_phy_setup_autoneg()
1562 if (hw->autoneg_advertised & ADVERTISE_10_FULL) { in e1000_phy_setup_autoneg()
1568 if (hw->autoneg_advertised & ADVERTISE_100_HALF) { in e1000_phy_setup_autoneg()
1574 if (hw->autoneg_advertised & ADVERTISE_100_FULL) { in e1000_phy_setup_autoneg()
[all …]
/drivers/net/ethernet/atheros/atl1e/
Datl1e_ethtool.c47 ecmd->advertising |= hw->autoneg_advertised; in atl1e_get_settings()
82 hw->autoneg_advertised = in atl1e_set_settings()
92 hw->autoneg_advertised = in atl1e_set_settings()
95 ecmd->advertising = hw->autoneg_advertised | in atl1e_set_settings()
100 if (hw->autoneg_advertised & ADVERTISE_10_HALF) in atl1e_set_settings()
102 if (hw->autoneg_advertised & ADVERTISE_10_FULL) in atl1e_set_settings()
104 if (hw->autoneg_advertised & ADVERTISE_100_HALF) in atl1e_set_settings()
106 if (hw->autoneg_advertised & ADVERTISE_100_FULL) in atl1e_set_settings()
108 if (hw->autoneg_advertised & ADVERTISE_1000_FULL) in atl1e_set_settings()
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
/drivers/net/ethernet/intel/igb/
De1000_phy.c811 if (phy->autoneg_advertised == ADVERTISE_1000_FULL) { in igb_copper_link_setup_igp()
888 phy->autoneg_advertised &= phy->autoneg_mask; in igb_copper_link_autoneg()
893 if (phy->autoneg_advertised == 0) in igb_copper_link_autoneg()
894 phy->autoneg_advertised = phy->autoneg_mask; in igb_copper_link_autoneg()
949 phy->autoneg_advertised &= phy->autoneg_mask; in igb_phy_setup_autoneg()
981 hw_dbg("autoneg_advertised %x\n", phy->autoneg_advertised); in igb_phy_setup_autoneg()
984 if (phy->autoneg_advertised & ADVERTISE_10_HALF) { in igb_phy_setup_autoneg()
990 if (phy->autoneg_advertised & ADVERTISE_10_FULL) { in igb_phy_setup_autoneg()
996 if (phy->autoneg_advertised & ADVERTISE_100_HALF) { in igb_phy_setup_autoneg()
1002 if (phy->autoneg_advertised & ADVERTISE_100_FULL) { in igb_phy_setup_autoneg()
[all …]
Digb_ethtool.c163 ecmd->advertising |= hw->phy.autoneg_advertised; in igb_get_settings()
294 hw->phy.autoneg_advertised = ecmd->advertising | in igb_set_settings()
299 hw->phy.autoneg_advertised = in igb_set_settings()
303 hw->phy.autoneg_advertised = in igb_set_settings()
307 hw->phy.autoneg_advertised = in igb_set_settings()
314 hw->phy.autoneg_advertised = ecmd->advertising | in igb_set_settings()
318 ecmd->advertising = hw->phy.autoneg_advertised; in igb_set_settings()
1981 u16 autoneg_advertised; in igb_diag_test() local
1994 autoneg_advertised = adapter->hw.phy.autoneg_advertised; in igb_diag_test()
2033 adapter->hw.phy.autoneg_advertised = autoneg_advertised; in igb_diag_test()
De1000_hw.h439 u16 autoneg_advertised; member
/drivers/net/ethernet/intel/e1000e/
Dphy.c896 if (phy->autoneg_advertised == ADVERTISE_1000_FULL) { in e1000e_copper_link_setup_igp()
942 phy->autoneg_advertised &= phy->autoneg_mask; in e1000_phy_setup_autoneg()
972 e_dbg("autoneg_advertised %x\n", phy->autoneg_advertised); in e1000_phy_setup_autoneg()
975 if (phy->autoneg_advertised & ADVERTISE_10_HALF) { in e1000_phy_setup_autoneg()
981 if (phy->autoneg_advertised & ADVERTISE_10_FULL) { in e1000_phy_setup_autoneg()
987 if (phy->autoneg_advertised & ADVERTISE_100_HALF) { in e1000_phy_setup_autoneg()
993 if (phy->autoneg_advertised & ADVERTISE_100_FULL) { in e1000_phy_setup_autoneg()
999 if (phy->autoneg_advertised & ADVERTISE_1000_HALF) in e1000_phy_setup_autoneg()
1003 if (phy->autoneg_advertised & ADVERTISE_1000_FULL) { in e1000_phy_setup_autoneg()
1095 phy->autoneg_advertised &= phy->autoneg_mask; in e1000_copper_link_autoneg()
[all …]
Dethtool.c142 ecmd->advertising |= hw->phy.autoneg_advertised; in e1000_get_settings()
240 adapter->hw.phy.autoneg_advertised = ADVERTISE_1000_FULL; in e1000_set_spd_dplx()
300 hw->phy.autoneg_advertised = ADVERTISED_1000baseT_Full | in e1000_set_settings()
303 hw->phy.autoneg_advertised = ecmd->advertising | in e1000_set_settings()
305 ecmd->advertising = hw->phy.autoneg_advertised; in e1000_set_settings()
1786 u16 autoneg_advertised; in e1000_diag_test() local
1811 autoneg_advertised = adapter->hw.phy.autoneg_advertised; in e1000_diag_test()
1845 adapter->hw.phy.autoneg_advertised = autoneg_advertised; in e1000_diag_test()
D82571.c646 } else if ((hw->phy.autoneg_advertised == E1000_ALL_SPEED_DUPLEX) || in e1000_set_d3_lplu_state_82574()
647 (hw->phy.autoneg_advertised == E1000_ALL_NOT_GIG) || in e1000_set_d3_lplu_state_82574()
648 (hw->phy.autoneg_advertised == E1000_ALL_10_SPEED)) { in e1000_set_d3_lplu_state_82574()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.c715 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_10GB_FULL) in ixgbe_setup_phy_link_generic()
731 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_1GB_FULL) in ixgbe_setup_phy_link_generic()
748 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_100_FULL) in ixgbe_setup_phy_link_generic()
786 hw->phy.autoneg_advertised = 0; in ixgbe_setup_phy_link_speed_generic()
789 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_setup_phy_link_speed_generic()
792 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_setup_phy_link_speed_generic()
795 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_100_FULL; in ixgbe_setup_phy_link_speed_generic()
934 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_10GB_FULL) in ixgbe_setup_phy_link_tnx()
949 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_1GB_FULL) in ixgbe_setup_phy_link_tnx()
965 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_100_FULL) in ixgbe_setup_phy_link_tnx()
Dixgbe_x550.c1692 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_10GB_FULL) in ixgbe_setup_kx4_x550em()
1696 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_1GB_FULL) in ixgbe_setup_kx4_x550em()
1715 return ixgbe_setup_kr_speed_x550em(hw, hw->phy.autoneg_advertised); in ixgbe_setup_kr_x550em()
1949 save_autoneg = hw->phy.autoneg_advertised; in ixgbe_enter_lplu_t_x550em()
1955 hw->phy.autoneg_advertised = save_autoneg; in ixgbe_enter_lplu_t_x550em()
Dixgbe_82599.c698 hw->phy.autoneg_advertised = 0; in ixgbe_setup_mac_link_smartspeed()
701 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_setup_mac_link_smartspeed()
704 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_setup_mac_link_smartspeed()
707 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_100_FULL; in ixgbe_setup_mac_link_smartspeed()
Dixgbe_ethtool.c177 if (hw->phy.autoneg_advertised) { in ixgbe_get_settings()
178 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_100_FULL) in ixgbe_get_settings()
180 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_10GB_FULL) in ixgbe_get_settings()
182 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_2_5GB_FULL) in ixgbe_get_settings()
184 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_1GB_FULL) in ixgbe_get_settings()
339 old = hw->phy.autoneg_advertised; in ixgbe_set_settings()
/drivers/net/ethernet/atheros/atlx/
Datl2.c1755 ecmd->advertising |= hw->autoneg_advertised; in atl2_get_settings()
1793 hw->autoneg_advertised = MY_ADV_MASK; in atl2_set_settings()
1797 hw->autoneg_advertised = ADVERTISE_100_FULL; in atl2_set_settings()
1801 hw->autoneg_advertised = ADVERTISE_100_HALF; in atl2_set_settings()
1805 hw->autoneg_advertised = ADVERTISE_10_FULL; in atl2_set_settings()
1809 hw->autoneg_advertised = ADVERTISE_10_HALF; in atl2_set_settings()
1814 ecmd->advertising = hw->autoneg_advertised | in atl2_set_settings()
2601 hw->autoneg_advertised = in atl2_phy_setup_autoneg_adv()
2609 hw->autoneg_advertised = ADVERTISE_100_FULL; in atl2_phy_setup_autoneg_adv()
2613 hw->autoneg_advertised = ADVERTISE_100_HALF; in atl2_phy_setup_autoneg_adv()
[all …]
Datl2.h408 u16 autoneg_advertised; member
Datl1.h737 u16 autoneg_advertised; member

12