/linux-6.12.1/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() 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() [all …]
|
/linux-6.12.1/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 | 308 cmd.advertising = hw->phy.autoneg_advertised; in pch_gbe_phy_init_setting()
|
D | pch_gbe.h | 355 u16 autoneg_advertised; member
|
/linux-6.12.1/drivers/net/ethernet/intel/igc/ |
D | igc_phy.c | 224 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_ethtool.c | 1810 if (hw->phy.autoneg_advertised & ADVERTISE_10_HALF) in igc_ethtool_get_link_ksettings() 1812 if (hw->phy.autoneg_advertised & ADVERTISE_10_FULL) in igc_ethtool_get_link_ksettings() 1814 if (hw->phy.autoneg_advertised & ADVERTISE_100_HALF) in igc_ethtool_get_link_ksettings() 1816 if (hw->phy.autoneg_advertised & ADVERTISE_100_FULL) in igc_ethtool_get_link_ksettings() 1818 if (hw->phy.autoneg_advertised & ADVERTISE_1000_FULL) in igc_ethtool_get_link_ksettings() 1820 if (hw->phy.autoneg_advertised & ADVERTISE_2500_FULL) in igc_ethtool_get_link_ksettings() 1959 hw->phy.autoneg_advertised = advertised; in igc_ethtool_set_link_ksettings()
|
D | igc_hw.h | 141 u16 autoneg_advertised; member
|
/linux-6.12.1/drivers/net/ethernet/intel/e1000/ |
D | e1000_param.c | 590 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 …]
|
D | e1000_hw.c | 1142 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() 1522 u16 autoneg_advertised = hw->autoneg_advertised; in e1000_diag_test() local 1558 hw->autoneg_advertised = autoneg_advertised; in e1000_diag_test()
|
/linux-6.12.1/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-6.12.1/drivers/net/ethernet/intel/e1000e/ |
D | phy.c | 919 if (phy->autoneg_advertised == ADVERTISE_1000_FULL) { in e1000e_copper_link_setup_igp() 965 phy->autoneg_advertised &= phy->autoneg_mask; in e1000_phy_setup_autoneg() 995 e_dbg("autoneg_advertised %x\n", phy->autoneg_advertised); in e1000_phy_setup_autoneg() 998 if (phy->autoneg_advertised & ADVERTISE_10_HALF) { in e1000_phy_setup_autoneg() 1004 if (phy->autoneg_advertised & ADVERTISE_10_FULL) { in e1000_phy_setup_autoneg() 1010 if (phy->autoneg_advertised & ADVERTISE_100_HALF) { in e1000_phy_setup_autoneg() 1016 if (phy->autoneg_advertised & ADVERTISE_100_FULL) { in e1000_phy_setup_autoneg() 1022 if (phy->autoneg_advertised & ADVERTISE_1000_HALF) in e1000_phy_setup_autoneg() 1026 if (phy->autoneg_advertised & ADVERTISE_1000_FULL) { in e1000_phy_setup_autoneg() 1055 phy->autoneg_advertised &= in e1000_phy_setup_autoneg() [all …]
|
D | ethtool.c | 134 advertising |= hw->phy.autoneg_advertised; in e1000_get_link_ksettings() 245 adapter->hw.phy.autoneg_advertised = in e1000_set_spd_dplx() 307 hw->phy.autoneg_advertised = ADVERTISED_1000baseT_Full | in e1000_set_link_ksettings() 310 hw->phy.autoneg_advertised = advertising | in e1000_set_link_ksettings() 312 advertising = hw->phy.autoneg_advertised; in e1000_set_link_ksettings() 1790 u16 autoneg_advertised; in e1000_diag_test() local 1813 autoneg_advertised = adapter->hw.phy.autoneg_advertised; in e1000_diag_test() 1847 adapter->hw.phy.autoneg_advertised = autoneg_advertised; in e1000_diag_test()
|
D | 82571.c | 627 } else if ((hw->phy.autoneg_advertised == E1000_ALL_SPEED_DUPLEX) || in e1000_set_d3_lplu_state_82574() 628 (hw->phy.autoneg_advertised == E1000_ALL_NOT_GIG) || in e1000_set_d3_lplu_state_82574() 629 (hw->phy.autoneg_advertised == E1000_ALL_10_SPEED)) { in e1000_set_d3_lplu_state_82574()
|
/linux-6.12.1/drivers/net/ethernet/intel/igb/ |
D | e1000_phy.c | 792 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() 963 hw_dbg("autoneg_advertised %x\n", phy->autoneg_advertised); 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() [all …]
|
D | igb_ethtool.c | 163 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() 2017 u16 autoneg_advertised; in igb_diag_test() local 2030 autoneg_advertised = adapter->hw.phy.autoneg_advertised; in igb_diag_test() 2069 adapter->hw.phy.autoneg_advertised = autoneg_advertised; in igb_diag_test()
|
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_phy.c | 1111 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_10GB_FULL) && in ixgbe_setup_phy_link_generic() 1123 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_5GB_FULL) && in ixgbe_setup_phy_link_generic() 1129 if ((hw->phy.autoneg_advertised & in ixgbe_setup_phy_link_generic() 1137 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_1GB_FULL) && in ixgbe_setup_phy_link_generic() 1148 if ((hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_100_FULL) && in ixgbe_setup_phy_link_generic() 1183 hw->phy.autoneg_advertised = 0; in ixgbe_setup_phy_link_speed_generic() 1186 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_setup_phy_link_speed_generic() 1189 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_5GB_FULL; in ixgbe_setup_phy_link_speed_generic() 1192 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_2_5GB_FULL; in ixgbe_setup_phy_link_speed_generic() 1195 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_setup_phy_link_speed_generic() [all …]
|
D | ixgbe_82599.c | 673 hw->phy.autoneg_advertised = 0; in ixgbe_setup_mac_link_smartspeed() 676 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_setup_mac_link_smartspeed() 679 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_setup_mac_link_smartspeed() 682 hw->phy.autoneg_advertised |= IXGBE_LINK_SPEED_100_FULL; in ixgbe_setup_mac_link_smartspeed()
|
D | ixgbe_ethtool.c | 266 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() 485 old = hw->phy.autoneg_advertised; in ixgbe_set_link_ksettings()
|
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() 2590 if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_2_5GB_FULL) in ixgbe_setup_kr_x550em() 2596 return ixgbe_setup_kr_speed_x550em(hw, hw->phy.autoneg_advertised); in ixgbe_setup_kr_x550em() 3105 save_autoneg = hw->phy.autoneg_advertised; in ixgbe_enter_lplu_t_x550em() 3111 hw->phy.autoneg_advertised = save_autoneg; in ixgbe_enter_lplu_t_x550em()
|
/linux-6.12.1/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 1708 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() 1761 hw->autoneg_advertised = ADVERTISE_100_HALF; 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() [all …]
|
D | atl2.h | 392 u16 autoneg_advertised; member
|