Home
last modified time | relevance | path

Searched refs:advertising (Results 1 – 25 of 222) sorted by relevance

123456789

/linux/include/linux/
A Dmii.h20 int advertising; member
223 advertising)) in linkmode_adv_to_mii_ctrl1000_t()
226 advertising)) in linkmode_adv_to_mii_ctrl1000_t()
303 advertising, lpa & LPA_1000HALF); in mii_stat1000_mod_linkmode_lpa_t()
306 advertising, lpa & LPA_1000FULL); in mii_stat1000_mod_linkmode_lpa_t()
419 advertising, adv & ADVERTISE_10HALF); in mii_adv_mod_linkmode_adv_t()
422 advertising, adv & ADVERTISE_10FULL); in mii_adv_mod_linkmode_adv_t()
425 advertising, adv & ADVERTISE_100HALF); in mii_adv_mod_linkmode_adv_t()
449 linkmode_zero(advertising); in mii_adv_to_linkmode_adv_t()
511 advertising)) in linkmode_adv_to_lcl_adv_t()
[all …]
A Dmdio.h305 static inline u32 linkmode_adv_to_mii_10gbt_adv_t(unsigned long *advertising) in linkmode_adv_to_mii_10gbt_adv_t() argument
310 advertising)) in linkmode_adv_to_mii_10gbt_adv_t()
313 advertising)) in linkmode_adv_to_mii_10gbt_adv_t()
316 advertising)) in linkmode_adv_to_mii_10gbt_adv_t()
330 static inline void mii_10gbt_stat_mod_linkmode_lpa_t(unsigned long *advertising, in mii_10gbt_stat_mod_linkmode_lpa_t() argument
334 advertising, lpa & MDIO_AN_10GBT_STAT_LP2_5G); in mii_10gbt_stat_mod_linkmode_lpa_t()
336 advertising, lpa & MDIO_AN_10GBT_STAT_LP5G); in mii_10gbt_stat_mod_linkmode_lpa_t()
338 advertising, lpa & MDIO_AN_10GBT_STAT_LP10G); in mii_10gbt_stat_mod_linkmode_lpa_t()
A Dphylink.h44 __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising);
367 const unsigned long *advertising,
416 phy_interface_t interface, const unsigned long *advertising,
503 const unsigned long *advertising);
506 const unsigned long *advertising);
/linux/drivers/net/
A Dmii.c88 ecmd->advertising |= in mii_ethtool_gset()
177 advertising |= ADVERTISED_Autoneg; in mii_ethtool_get_link_ksettings()
188 nego = advertising & lp_advertising; in mii_ethtool_get_link_ksettings()
221 advertising); in mii_ethtool_get_link_ksettings()
285 mii->advertising = tmp; in mii_ethtool_sset()
354 u32 advertising; in mii_ethtool_set_link_ksettings() local
357 &advertising, cmd->link_modes.advertising); in mii_ethtool_set_link_ksettings()
382 mii->advertising = tmp; in mii_ethtool_set_link_ksettings()
541 advertise = mii->advertising; in mii_check_media()
544 mii->advertising = advertise; in mii_check_media()
[all …]
A Dmdio.c220 ecmd->advertising = ADVERTISED_TP; in mdio45_ethtool_gset_npage()
226 ecmd->advertising = 0; in mdio45_ethtool_gset_npage()
263 ecmd->advertising |= in mdio45_ethtool_gset_npage()
289 modes = ecmd->advertising; in mdio45_ethtool_gset_npage()
391 advertising = ADVERTISED_TP; in mdio45_ethtool_ksettings_get_npage()
397 advertising = 0; in mdio45_ethtool_ksettings_get_npage()
417 advertising = ADVERTISED_Backplane; in mdio45_ethtool_ksettings_get_npage()
424 advertising = ADVERTISED_FIBRE; in mdio45_ethtool_ksettings_get_npage()
434 advertising |= in mdio45_ethtool_ksettings_get_npage()
461 modes = advertising; in mdio45_ethtool_ksettings_get_npage()
[all …]
/linux/drivers/net/ethernet/atheros/alx/
A Dethtool.c133 u32 supported, advertising; in alx_get_link_ksettings() local
143 advertising = ADVERTISED_TP; in alx_get_link_ksettings()
145 advertising |= hw->adv_cfg; in alx_get_link_ksettings()
157 advertising |= ADVERTISED_Pause; in alx_get_link_ksettings()
160 advertising |= ADVERTISED_Asym_Pause; in alx_get_link_ksettings()
162 advertising |= ADVERTISED_Asym_Pause; in alx_get_link_ksettings()
174 advertising); in alx_get_link_ksettings()
185 u32 advertising; in alx_set_link_ksettings() local
189 cmd->link_modes.advertising); in alx_set_link_ksettings()
192 if (advertising & ~alx_get_supported_speeds(hw)) in alx_set_link_ksettings()
[all …]
/linux/drivers/net/ethernet/atheros/atl1e/
A Datl1e_ethtool.c20 u32 supported, advertising; in atl1e_get_link_ksettings() local
31 advertising = ADVERTISED_TP; in atl1e_get_link_ksettings()
33 advertising |= ADVERTISED_Autoneg; in atl1e_get_link_ksettings()
34 advertising |= hw->autoneg_advertised; in atl1e_get_link_ksettings()
55 advertising); in atl1e_get_link_ksettings()
65 u32 advertising; in atl1e_set_link_ksettings() local
68 cmd->link_modes.advertising); in atl1e_set_link_ksettings()
76 if (advertising & ADVERTISE_1000_FULL) { in atl1e_set_link_ksettings()
79 advertising & AT_ADV_MASK; in atl1e_set_link_ksettings()
89 advertising & AT_ADV_MASK; in atl1e_set_link_ksettings()
[all …]
/linux/drivers/net/phy/
A Dphylink.c305 linkmode_and(pl->link_config.advertising, pl->link_config.advertising, in phylink_parse_fixedlink()
586 linkmode_copy(state->advertising, pl->link_config.advertising); in phylink_mac_pcs_get_state()
1049 linkmode_copy(config.advertising, phy->advertising); in phylink_bringup_phy()
1091 linkmode_copy(pl->link_config.advertising, config.advertising); in phylink_bringup_phy()
1094 linkmode_copy(phy->advertising, config.advertising); in phylink_bringup_phy()
1526 phylink_merge_link_mode(kset->link_modes.advertising, state->advertising); in phylink_get_ksettings()
1627 linkmode_and(config.advertising, kset->link_modes.advertising, in phylink_ethtool_ksettings_set()
1733 linkmode_copy(pl->link_config.advertising, config.advertising); in phylink_ethtool_ksettings_set()
1736 linkmode_copy(pl->link_config.advertising, config.advertising); in phylink_ethtool_ksettings_set()
2255 linkmode_copy(config.advertising, advertising); in phylink_sfp_config()
[all …]
A Dphy.c79 phydev->advertising); in phy_pause_str()
251 linkmode_copy(cmd->link_modes.advertising, phydev->advertising); in phy_ethtool_ksettings_get()
781 linkmode_copy(advertising, cmd->link_modes.advertising); in phy_ethtool_ksettings_set()
784 linkmode_and(advertising, advertising, phydev->supported); in phy_ethtool_ksettings_set()
809 linkmode_copy(phydev->advertising, advertising); in phy_ethtool_ksettings_set()
1213 advertising); in mmd_eee_adv_to_linkmode()
1216 advertising); in mmd_eee_adv_to_linkmode()
1219 advertising); in mmd_eee_adv_to_linkmode()
1222 advertising); in mmd_eee_adv_to_linkmode()
1225 advertising); in mmd_eee_adv_to_linkmode()
[all …]
/linux/drivers/s390/net/
A Dqeth_ethtool.c332 ethtool_link_ksettings_zero_link_mode(cmd, advertising); in qeth_set_ethtool_link_modes()
347 ethtool_link_ksettings_add_link_mode(cmd, advertising, in qeth_set_ethtool_link_modes()
353 ethtool_link_ksettings_add_link_mode(cmd, advertising, in qeth_set_ethtool_link_modes()
357 ethtool_link_ksettings_add_link_mode(cmd, advertising, in qeth_set_ethtool_link_modes()
363 ethtool_link_ksettings_add_link_mode(cmd, advertising, in qeth_set_ethtool_link_modes()
367 ethtool_link_ksettings_add_link_mode(cmd, advertising, in qeth_set_ethtool_link_modes()
373 ethtool_link_ksettings_add_link_mode(cmd, advertising, in qeth_set_ethtool_link_modes()
377 ethtool_link_ksettings_add_link_mode(cmd, advertising, in qeth_set_ethtool_link_modes()
393 ethtool_link_ksettings_add_link_mode(cmd, advertising, in qeth_set_ethtool_link_modes()
400 ethtool_link_ksettings_add_link_mode(cmd, advertising, in qeth_set_ethtool_link_modes()
[all …]
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_ethtool.c566 ethtool_link_ksettings_add_link_mode(ks, advertising, in i40e_phy_type_to_ethtool()
572 ethtool_link_ksettings_add_link_mode(ks, advertising, in i40e_phy_type_to_ethtool()
578 ethtool_link_ksettings_add_link_mode(ks, advertising, in i40e_phy_type_to_ethtool()
719 ethtool_link_ksettings_add_link_mode(ks, advertising, in i40e_phy_type_to_ethtool()
738 ethtool_link_ksettings_add_link_mode(ks, advertising, in i40e_get_settings_link_up_fec()
740 ethtool_link_ksettings_add_link_mode(ks, advertising, in i40e_get_settings_link_up_fec()
746 ethtool_link_ksettings_add_link_mode(ks, advertising, in i40e_get_settings_link_up_fec()
749 ethtool_link_ksettings_add_link_mode(ks, advertising, in i40e_get_settings_link_up_fec()
837 ks, advertising, 1000baseT_Full); in i40e_get_settings_link_up()
918 ks, advertising, 100baseT_Full); in i40e_get_settings_link_up()
[all …]
/linux/drivers/net/pcs/
A Dpcs-lynx.c115 const unsigned long *advertising) in lynx_pcs_config_1000basex() argument
134 advertising); in lynx_pcs_config_1000basex()
138 const unsigned long *advertising) in lynx_pcs_config_sgmii() argument
163 advertising); in lynx_pcs_config_sgmii()
167 const unsigned long *advertising) in lynx_pcs_config_usxgmii() argument
186 const unsigned long *advertising, in lynx_pcs_config() argument
193 return lynx_pcs_config_1000basex(lynx->mdio, mode, advertising); in lynx_pcs_config()
196 return lynx_pcs_config_sgmii(lynx->mdio, mode, advertising); in lynx_pcs_config()
205 return lynx_pcs_config_usxgmii(lynx->mdio, mode, advertising); in lynx_pcs_config()
/linux/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_phylink.c99 linkmode_and(state->advertising, state->advertising, mask); in sparx5_phylink_validate()
161 const unsigned long *advertising, in sparx5_pcs_config() argument
172 conf.autoneg = phylink_test(advertising, Autoneg); in sparx5_pcs_config()
174 if (phylink_test(advertising, Pause)) in sparx5_pcs_config()
176 if (phylink_test(advertising, Asym_Pause)) in sparx5_pcs_config()
179 if (phylink_test(advertising, FIBRE)) in sparx5_pcs_config()
/linux/net/ethtool/
A Dlinkmodes.c74 ret = ethnl_bitset_size(ksettings->link_modes.advertising, in linkmodes_reply_size()
113 ksettings->link_modes.advertising, in linkmodes_fill_reply()
183 unsigned long *advertising = ksettings->link_modes.advertising; in ethnl_auto_linkmodes() local
188 bitmap_copy(old_adv, advertising, __ETHTOOL_LINK_MODE_MASK_NBITS); in ethnl_auto_linkmodes()
199 set_bit(i, advertising); in ethnl_auto_linkmodes()
201 clear_bit(i, advertising); in ethnl_auto_linkmodes()
204 return !bitmap_equal(old_adv, advertising, in ethnl_auto_linkmodes()
287 ret = ethnl_update_bitset(ksettings->link_modes.advertising, in ethnl_update_linkmodes()
/linux/drivers/net/ethernet/oki-semi/pch_gbe/
A Dpch_gbe_ethtool.c78 u32 supported, advertising; in pch_gbe_get_link_ksettings() local
84 ethtool_convert_link_mode_to_legacy_u32(&advertising, in pch_gbe_get_link_ksettings()
85 ecmd->link_modes.advertising); in pch_gbe_get_link_ksettings()
88 advertising &= ~(ADVERTISED_TP | ADVERTISED_1000baseT_Half); in pch_gbe_get_link_ksettings()
92 ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.advertising, in pch_gbe_get_link_ksettings()
93 advertising); in pch_gbe_get_link_ksettings()
116 u32 advertising; in pch_gbe_set_link_ksettings() local
138 &advertising, copy_ecmd.link_modes.advertising); in pch_gbe_set_link_ksettings()
139 hw->phy.autoneg_advertised = advertising; in pch_gbe_set_link_ksettings()
/linux/drivers/net/ethernet/sfc/falcon/
A Dmdio_10g.c236 u32 prev_advertising, advertising; in ef4_mdio_set_link_ksettings() local
241 ethtool_convert_link_mode_to_legacy_u32(&advertising, in ef4_mdio_set_link_ksettings()
242 cmd->link_modes.advertising); in ef4_mdio_set_link_ksettings()
244 prev.link_modes.advertising); in ef4_mdio_set_link_ksettings()
248 if (advertising == prev_advertising && in ef4_mdio_set_link_ksettings()
261 (advertising | SUPPORTED_Autoneg) & ~prev_supported) in ef4_mdio_set_link_ksettings()
264 ef4_link_set_advertising(efx, advertising | ADVERTISED_Autoneg); in ef4_mdio_set_link_ksettings()
/linux/drivers/net/ethernet/silan/
A Dsc92031.c1126 u32 supported, advertising; in sc92031_ethtool_get_link_ksettings() local
1146 advertising |= ADVERTISED_Autoneg; in sc92031_ethtool_get_link_ksettings()
1149 advertising |= ADVERTISED_10baseT_Half; in sc92031_ethtool_get_link_ksettings()
1153 advertising |= ADVERTISED_10baseT_Full; in sc92031_ethtool_get_link_ksettings()
1156 advertising |= ADVERTISED_100baseT_Half; in sc92031_ethtool_get_link_ksettings()
1163 advertising |= ADVERTISED_Autoneg; in sc92031_ethtool_get_link_ksettings()
1175 advertising); in sc92031_ethtool_get_link_ksettings()
1189 u32 advertising; in sc92031_ethtool_set_link_ksettings() local
1192 cmd->link_modes.advertising); in sc92031_ethtool_set_link_ksettings()
1208 if (!(advertising & (ADVERTISED_Autoneg in sc92031_ethtool_set_link_ksettings()
[all …]
/linux/drivers/net/ethernet/natsemi/
A Dnatsemi.c590 u16 advertising; member
771 (np->advertising & in natsemi_init_media()
774 (np->advertising & in natsemi_init_media()
782 np->advertising); in natsemi_init_media()
2409 np->advertising, lpa); in netdev_error()
2835 u32 supported, advertising; in netdev_get_ecmd() local
2842 advertising = 0; in netdev_get_ecmd()
2879 advertising |= ADVERTISED_TP; in netdev_get_ecmd()
2882 advertising |= ADVERTISED_MII; in netdev_get_ecmd()
2909 advertising); in netdev_get_ecmd()
[all …]
/linux/drivers/net/ethernet/intel/ice/
A Dice_ethtool.c1488 ethtool_link_ksettings_add_link_mode(ks, advertising,\
1567 ethtool_link_ksettings_zero_link_mode(ks, advertising); in ice_phy_type_to_ethtool()
1945 ethtool_link_ksettings_zero_link_mode(ks, advertising); in ice_get_link_ksettings()
1972 ethtool_link_ksettings_add_link_mode(ks, advertising, in ice_get_link_ksettings()
2004 ethtool_link_ksettings_add_link_mode(ks, advertising, in ice_get_link_ksettings()
2007 ethtool_link_ksettings_add_link_mode(ks, advertising, in ice_get_link_ksettings()
2011 ethtool_link_ksettings_add_link_mode(ks, advertising, in ice_get_link_ksettings()
2015 ethtool_link_ksettings_del_link_mode(ks, advertising, in ice_get_link_ksettings()
2024 ethtool_link_ksettings_add_link_mode(ks, advertising, in ice_get_link_ksettings()
2066 if (ethtool_link_ksettings_test_link_mode(ks, advertising, in ice_ksettings_find_adv_link_speed()
[all …]
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_ethtool.c225 u32 supported, advertising; in bnx2x_get_vf_link_ksettings() local
230 cmd->link_modes.advertising); in bnx2x_get_vf_link_ksettings()
253 cmd->base.cmd, supported, advertising, in bnx2x_get_vf_link_ksettings()
276 advertising = bp->port.advertising[cfg_idx]; in bnx2x_get_link_ksettings()
352 advertising); in bnx2x_get_link_ksettings()
360 cmd->base.cmd, supported, advertising, in bnx2x_get_link_ksettings()
380 cmd->link_modes.advertising); in bnx2x_set_link_ksettings()
506 advertising); in bnx2x_set_link_ksettings()
507 if (advertising) { in bnx2x_set_link_ksettings()
669 bp->port.advertising[cfg_idx] = advertising; in bnx2x_set_link_ksettings()
[all …]
/linux/drivers/net/ethernet/ibm/ehea/
A Dehea_ethtool.c24 u32 supported, advertising; in ehea_get_link_ksettings() local
61 advertising = (ADVERTISED_10000baseT_Full | ADVERTISED_FIBRE); in ehea_get_link_ksettings()
68 advertising = (ADVERTISED_1000baseT_Full | ADVERTISED_Autoneg in ehea_get_link_ksettings()
78 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising, in ehea_get_link_ksettings()
79 advertising); in ehea_get_link_ksettings()
/linux/drivers/net/ethernet/qlogic/netxen/
A Dnetxen_nic_ethtool.c88 u32 supported, advertising; in netxen_nic_get_link_ksettings() local
99 advertising = (ADVERTISED_100baseT_Half | in netxen_nic_get_link_ksettings()
116 advertising = ADVERTISED_1000baseT_Full; in netxen_nic_get_link_ksettings()
155 advertising |= ADVERTISED_Autoneg; in netxen_nic_get_link_ksettings()
162 advertising |= ADVERTISED_TP; in netxen_nic_get_link_ksettings()
174 advertising |= ADVERTISED_MII; in netxen_nic_get_link_ksettings()
181 advertising |= ADVERTISED_TP; in netxen_nic_get_link_ksettings()
189 advertising |= ADVERTISED_FIBRE; in netxen_nic_get_link_ksettings()
197 advertising |= in netxen_nic_get_link_ksettings()
204 advertising |= in netxen_nic_get_link_ksettings()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_ethtool.c184 ethtool_link_ksettings_add_link_mode(cmd, advertising, in ixgbe_set_advertising_10gtypes()
195 (cmd, advertising, 10000baseKX4_Full); in ixgbe_set_advertising_10gtypes()
202 (cmd, advertising, 10000baseKR_Full); in ixgbe_set_advertising_10gtypes()
206 (cmd, advertising, 10000baseKX4_Full); in ixgbe_set_advertising_10gtypes()
208 (cmd, advertising, 10000baseKR_Full); in ixgbe_set_advertising_10gtypes()
255 ethtool_link_ksettings_add_link_mode(cmd, advertising, in ixgbe_get_link_ksettings()
261 ethtool_link_ksettings_add_link_mode(cmd, advertising, in ixgbe_get_link_ksettings()
280 (cmd, advertising, 1000baseKX_Full); in ixgbe_get_link_ksettings()
283 (cmd, advertising, 1000baseT_Full); in ixgbe_get_link_ksettings()
295 (cmd, advertising, 10000baseT_Full); in ixgbe_get_link_ksettings()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
A Dcxgb2.c572 u32 supported, advertising; in get_link_ksettings() local
575 advertising = p->link_config.advertising; in get_link_ksettings()
592 advertising); in get_link_ksettings()
638 u32 advertising; in set_link_ksettings() local
654 lc->advertising = 0; in set_link_ksettings()
656 advertising &= ADVERTISED_MASK; in set_link_ksettings()
657 if (advertising & (advertising - 1)) in set_link_ksettings()
658 advertising = lc->supported; in set_link_ksettings()
659 advertising &= lc->supported; in set_link_ksettings()
660 if (!advertising) in set_link_ksettings()
[all …]
/linux/drivers/net/ethernet/atheros/atl1c/
A Datl1c_ethtool.c20 u32 supported, advertising; in atl1c_get_link_ksettings() local
31 advertising = ADVERTISED_TP; in atl1c_get_link_ksettings()
33 advertising |= hw->autoneg_advertised; in atl1c_get_link_ksettings()
53 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising, in atl1c_get_link_ksettings()
54 advertising); in atl1c_get_link_ksettings()

Completed in 78 milliseconds

123456789