| /Linux-v5.4/drivers/net/ethernet/atheros/atl1c/ |
| D | atl1c_ethtool.c | 33 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()
|
| D | atl1c_hw.c | 462 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 …]
|
| D | atl1c.h | 386 u16 autoneg_advertised; member
|
| /Linux-v5.4/drivers/net/ethernet/intel/igc/ |
| D | igc_phy.c | 223 phy->autoneg_advertised &= phy->autoneg_mask; in igc_phy_setup_autoneg() 267 hw_dbg("autoneg_advertised %x\n", phy->autoneg_advertised); in igc_phy_setup_autoneg() 270 if (phy->autoneg_advertised & ADVERTISE_10_HALF) { in igc_phy_setup_autoneg() 276 if (phy->autoneg_advertised & ADVERTISE_10_FULL) { in igc_phy_setup_autoneg() 282 if (phy->autoneg_advertised & ADVERTISE_100_HALF) { in igc_phy_setup_autoneg() 288 if (phy->autoneg_advertised & ADVERTISE_100_FULL) { in igc_phy_setup_autoneg() 294 if (phy->autoneg_advertised & ADVERTISE_1000_HALF) in igc_phy_setup_autoneg() 298 if (phy->autoneg_advertised & ADVERTISE_1000_FULL) { in igc_phy_setup_autoneg() 304 if (phy->autoneg_advertised & ADVERTISE_2500_HALF) in igc_phy_setup_autoneg() 308 if (phy->autoneg_advertised & ADVERTISE_2500_FULL) { in igc_phy_setup_autoneg() [all …]
|
| D | igc_hw.h | 155 u16 autoneg_advertised; member
|
| /Linux-v5.4/drivers/net/ethernet/oki-semi/pch_gbe/ |
| D | pch_gbe_param.c | 313 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 …]
|
| D | pch_gbe_phy.c | 310 cmd.advertising = hw->phy.autoneg_advertised; in pch_gbe_phy_init_setting()
|
| D | pch_gbe.h | 355 u16 autoneg_advertised; member
|
| /Linux-v5.4/drivers/net/ethernet/intel/e1000/ |
| D | e1000_param.c | 592 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 …]
|
| D | e1000_hw.c | 1143 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 …]
|
| D | e1000_ethtool.c | 106 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() 1520 u16 autoneg_advertised = hw->autoneg_advertised; in e1000_diag_test() local 1556 hw->autoneg_advertised = autoneg_advertised; in e1000_diag_test()
|
| /Linux-v5.4/drivers/net/ethernet/atheros/atl1e/ |
| D | atl1e_ethtool.c | 34 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()
|
| D | atl1e_hw.c | 318 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()
|
| D | atl1e.h | 326 u16 autoneg_advertised; member
|
| /Linux-v5.4/drivers/net/ethernet/intel/igb/ |
| D | e1000_phy.c | 792 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 …]
|
| D | igb_ethtool.c | 162 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() 2000 u16 autoneg_advertised; in igb_diag_test() local 2013 autoneg_advertised = adapter->hw.phy.autoneg_advertised; in igb_diag_test() 2052 adapter->hw.phy.autoneg_advertised = autoneg_advertised; in igb_diag_test()
|
| /Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_phy.c | 981 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_10GB_FULL) && in ixgbe_setup_phy_link_generic() 993 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_5GB_FULL) && in ixgbe_setup_phy_link_generic() 999 if ((hw->phy.autoneg_advertised & in ixgbe_setup_phy_link_generic() 1007 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_1GB_FULL) && in ixgbe_setup_phy_link_generic() 1018 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_100_FULL) && in ixgbe_setup_phy_link_generic() 1053 hw->phy.autoneg_advertised = 0; in ixgbe_setup_phy_link_speed_generic() 1056 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_setup_phy_link_speed_generic() 1059 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_5GB_FULL; in ixgbe_setup_phy_link_speed_generic() 1062 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_2_5GB_FULL; in ixgbe_setup_phy_link_speed_generic() 1065 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_setup_phy_link_speed_generic() [all …]
|
| D | ixgbe_82599.c | 671 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()
|
| D | ixgbe_x550.c | 516 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() 2588 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_2_5GB_FULL) in ixgbe_setup_kr_x550em() 2594 return ixgbe_setup_kr_speed_x550em(hw, hw->phy.autoneg_advertised); in ixgbe_setup_kr_x550em() 3102 save_autoneg = hw->phy.autoneg_advertised; in ixgbe_enter_lplu_t_x550em() 3108 hw->phy.autoneg_advertised = save_autoneg; in ixgbe_enter_lplu_t_x550em()
|
| /Linux-v5.4/drivers/net/ethernet/intel/e1000e/ |
| D | phy.c | 878 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 …]
|
| D | ethtool.c | 125 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() 1785 u16 autoneg_advertised; in e1000_diag_test() local 1810 autoneg_advertised = adapter->hw.phy.autoneg_advertised; in e1000_diag_test() 1844 adapter->hw.phy.autoneg_advertised = autoneg_advertised; in e1000_diag_test()
|
| D | 82571.c | 628 } 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-v5.4/drivers/net/ethernet/atheros/atlx/ |
| D | atl2.c | 1738 advertising |= hw->autoneg_advertised; in atl2_get_link_ksettings() 1785 hw->autoneg_advertised = MY_ADV_MASK; in atl2_set_link_ksettings() 1788 hw->autoneg_advertised = ADVERTISE_100_FULL; in atl2_set_link_ksettings() 1791 hw->autoneg_advertised = ADVERTISE_100_HALF; in atl2_set_link_ksettings() 1794 hw->autoneg_advertised = ADVERTISE_10_FULL; in atl2_set_link_ksettings() 1797 hw->autoneg_advertised = ADVERTISE_10_HALF; in atl2_set_link_ksettings() 1802 advertising = hw->autoneg_advertised | in atl2_set_link_ksettings() 2589 hw->autoneg_advertised = in atl2_phy_setup_autoneg_adv() 2597 hw->autoneg_advertised = ADVERTISE_100_FULL; in atl2_phy_setup_autoneg_adv() 2601 hw->autoneg_advertised = ADVERTISE_100_HALF; in atl2_phy_setup_autoneg_adv() [all …]
|
| D | atl2.h | 392 u16 autoneg_advertised; member
|
| D | atl1.h | 724 u16 autoneg_advertised; member
|