Home
last modified time | relevance | path

Searched refs:__ETHTOOL_LINK_MODE_MASK_NBITS (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.3-rc2/include/linux/
A Dlinkmode.h10 bitmap_zero(dst, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_zero()
15 bitmap_copy(dst, src, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_copy()
21 bitmap_and(dst, a, b, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_and()
27 bitmap_or(dst, a, b, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_or()
32 return bitmap_empty(src, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_empty()
38 return bitmap_andnot(dst, src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_andnot()
77 return bitmap_equal(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_equal()
83 return bitmap_intersects(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_intersects()
89 return bitmap_subset(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_subset()
A Dethtool_netlink.h11 DIV_ROUND_UP(__ETHTOOL_LINK_MODE_MASK_NBITS, 32)
A Dethtool.h156 DECLARE_BITMAP(name, __ETHTOOL_LINK_MODE_MASK_NBITS)
177 bitmap_zero((ptr)->link_modes.name, __ETHTOOL_LINK_MODE_MASK_NBITS)
A Dphylink.h614 bitmap_zero(bm, __ETHTOOL_LINK_MODE_MASK_NBITS)
/linux-6.3-rc2/net/ethtool/
A Dlinkmodes.c53 __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmodes_prepare_data()
77 __ETHTOOL_LINK_MODE_MASK_NBITS, in linkmodes_reply_size()
84 NULL, __ETHTOOL_LINK_MODE_MASK_NBITS, in linkmodes_reply_size()
116 __ETHTOOL_LINK_MODE_MASK_NBITS, link_mode_names, in linkmodes_fill_reply()
123 NULL, __ETHTOOL_LINK_MODE_MASK_NBITS, in linkmodes_fill_reply()
178 DECLARE_BITMAP(old_adv, __ETHTOOL_LINK_MODE_MASK_NBITS); in ethnl_auto_linkmodes()
181 bitmap_copy(old_adv, advertising, __ETHTOOL_LINK_MODE_MASK_NBITS); in ethnl_auto_linkmodes()
183 for (i = 0; i < __ETHTOOL_LINK_MODE_MASK_NBITS; i++) { in ethnl_auto_linkmodes()
198 __ETHTOOL_LINK_MODE_MASK_NBITS); in ethnl_auto_linkmodes()
281 __ETHTOOL_LINK_MODE_MASK_NBITS, in ethnl_update_linkmodes()
A Dfec.c65 if (!bitmap_empty(link_modes, __ETHTOOL_LINK_MODE_MASK_NBITS)) in ethtool_link_modes_to_fecparam()
130 __ETHTOOL_LINK_MODE_MASK_NBITS); in fec_prepare_data()
134 if (data->active_fec == __ETHTOOL_LINK_MODE_MASK_NBITS) in fec_prepare_data()
151 __ETHTOOL_LINK_MODE_MASK_NBITS, in fec_reply_size()
204 __ETHTOOL_LINK_MODE_MASK_NBITS, in fec_fill_reply()
254 __ETHTOOL_LINK_MODE_MASK_NBITS, in ethnl_set_fec()
A Dioctl.c179 return __ETHTOOL_LINK_MODE_MASK_NBITS; in __ethtool_get_sset_count()
367 __ETHTOOL_LINK_MODE_MASK_NBITS; in ethtool_convert_link_mode_to_legacy_u32()
419 DIV_ROUND_UP(__ETHTOOL_LINK_MODE_MASK_NBITS, 32)
459 __ETHTOOL_LINK_MODE_MASK_NBITS); in load_link_ksettings_from_user()
462 __ETHTOOL_LINK_MODE_MASK_NBITS); in load_link_ksettings_from_user()
465 __ETHTOOL_LINK_MODE_MASK_NBITS); in load_link_ksettings_from_user()
483 __ETHTOOL_LINK_MODE_MASK_NBITS) && in ethtool_virtdev_validate_cmd()
485 __ETHTOOL_LINK_MODE_MASK_NBITS); in ethtool_virtdev_validate_cmd()
501 __ETHTOOL_LINK_MODE_MASK_NBITS); in store_link_ksettings_for_user()
504 __ETHTOOL_LINK_MODE_MASK_NBITS); in store_link_ksettings_for_user()
[all …]
A Dcommon.c215 static_assert(ARRAY_SIZE(link_mode_names) == __ETHTOOL_LINK_MODE_MASK_NBITS);
378 static_assert(ARRAY_SIZE(link_mode_params) == __ETHTOOL_LINK_MODE_MASK_NBITS);
680 if (WARN_ON_ONCE(link_mode >= __ETHTOOL_LINK_MODE_MASK_NBITS)) in ethtool_params_from_link_mode()
A Dstrset.c50 .count = __ETHTOOL_LINK_MODE_MASK_NBITS,
/linux-6.3-rc2/drivers/net/pcs/
A Dpcs-xpcs.c27 __ETHTOOL_LINK_MODE_MASK_NBITS,
34 __ETHTOOL_LINK_MODE_MASK_NBITS,
64 __ETHTOOL_LINK_MODE_MASK_NBITS,
77 __ETHTOOL_LINK_MODE_MASK_NBITS,
85 __ETHTOOL_LINK_MODE_MASK_NBITS,
94 __ETHTOOL_LINK_MODE_MASK_NBITS,
179 for (i = 0; compat->supported[i] != __ETHTOOL_LINK_MODE_MASK_NBITS; i++) in __xpcs_linkmode_supported()
581 for_each_set_bit(bit, adv, __ETHTOOL_LINK_MODE_MASK_NBITS) { in xpcs_get_max_xlgmii_speed()
663 for (i = 0; compat->supported[i] != __ETHTOOL_LINK_MODE_MASK_NBITS; i++) in xpcs_validate()
/linux-6.3-rc2/drivers/net/phy/
A Dphylink.c1006 __ETHTOOL_LINK_MODE_MASK_NBITS, state->advertising, in phylink_mac_config()
1668 __ETHTOOL_LINK_MODE_MASK_NBITS, phy->supported, in phylink_bringup_phy()
1702 __ETHTOOL_LINK_MODE_MASK_NBITS, pl->supported, in phylink_bringup_phy()
1703 __ETHTOOL_LINK_MODE_MASK_NBITS, phy->advertising); in phylink_bringup_phy()
2301 __ETHTOOL_LINK_MODE_MASK_NBITS, in phylink_ethtool_ksettings_set()
2312 __ETHTOOL_LINK_MODE_MASK_NBITS, support); in phylink_ethtool_ksettings_set()
2889 __ETHTOOL_LINK_MODE_MASK_NBITS, supported); in phylink_sfp_set_config()
2941 __ETHTOOL_LINK_MODE_MASK_NBITS, support, in phylink_sfp_config_phy()
2962 __ETHTOOL_LINK_MODE_MASK_NBITS, support, in phylink_sfp_config_phy()
3012 __ETHTOOL_LINK_MODE_MASK_NBITS, support); in phylink_sfp_config_optical()
[all …]
A Dphy-core.c16 BUILD_BUG_ON_MSG(__ETHTOOL_LINK_MODE_MASK_NBITS != 102, in phy_speed_to_str()
293 if (p->bit < __ETHTOOL_LINK_MODE_MASK_NBITS && in phy_lookup_setting()
325 if (settings[i].bit < __ETHTOOL_LINK_MODE_MASK_NBITS && in phy_speeds()
A Dsfp-bus.c317 if (bitmap_empty(modes, __ETHTOOL_LINK_MODE_MASK_NBITS) && br_nom) { in sfp_parse_support()
/linux-6.3-rc2/drivers/net/ethernet/amd/xgbe/
A Dxgbe-ethtool.c369 __ETHTOOL_LINK_MODE_MASK_NBITS, cmd->link_modes.advertising, in xgbe_set_link_ksettings()
370 __ETHTOOL_LINK_MODE_MASK_NBITS, lks->link_modes.supported); in xgbe_set_link_ksettings()
376 bitmap_empty(advertising, __ETHTOOL_LINK_MODE_MASK_NBITS)) { in xgbe_set_link_ksettings()
A Dxgbe.h348 __ETHTOOL_LINK_MODE_MASK_NBITS)
/linux-6.3-rc2/drivers/net/ethernet/marvell/prestera/
A Dprestera_ethtool.c231 .eth_mode = __ETHTOOL_LINK_MODE_MASK_NBITS,
259 .eth_mode = __ETHTOOL_LINK_MODE_MASK_NBITS,
450 __ETHTOOL_LINK_MODE_MASK_NBITS)) { in prestera_port_remote_cap_get()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den_ethtool.c81 __ETHTOOL_LINK_MODE_MASK_NBITS); \
83 __ETHTOOL_LINK_MODE_MASK_NBITS); \
716 __ETHTOOL_LINK_MODE_MASK_NBITS); in ptys2ethtool_supported_link()
734 __ETHTOOL_LINK_MODE_MASK_NBITS); in ptys2ethtool_adver_link()
1115 __ETHTOOL_LINK_MODE_MASK_NBITS)) in mlx5e_ethtool2ptys_adver_link()
1133 link_modes, __ETHTOOL_LINK_MODE_MASK_NBITS); in mlx5e_ethtool2ptys_ext_adver_link()
1145 int size = __ETHTOOL_LINK_MODE_MASK_NBITS - MLX5E_MIN_PTYS_EXT_LINK_MODE_BIT; in ext_link_mode_requested()
1149 return bitmap_intersects(modes, adver, __ETHTOOL_LINK_MODE_MASK_NBITS); in ext_link_mode_requested()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeon_ep/
A Doctep_ethtool.c357 __ETHTOOL_LINK_MODE_MASK_NBITS)) in octep_set_link_ksettings()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_ethtool.c1219 __ETHTOOL_LINK_MODE_MASK_NBITS); in otx2_get_advertised_mode()
1220 if (bit_pos != __ETHTOOL_LINK_MODE_MASK_NBITS) in otx2_get_advertised_mode()
/linux-6.3-rc2/include/uapi/linux/
A Dethtool.h1792 __ETHTOOL_LINK_MODE_MASK_NBITS enumerator
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Defx_common.c464 bitmap_zero(efx->link_advertising, __ETHTOOL_LINK_MODE_MASK_NBITS); in efx_siena_link_clear_advertising()
A Dmcdi_port_common.c118 bitmap_zero(linkset, __ETHTOOL_LINK_MODE_MASK_NBITS); in mcdi_to_ethtool_linkset()
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Defx_common.c465 bitmap_zero(efx->link_advertising, __ETHTOOL_LINK_MODE_MASK_NBITS); in efx_link_clear_advertising()
A Dmcdi_port_common.c117 bitmap_zero(linkset, __ETHTOOL_LINK_MODE_MASK_NBITS); in mcdi_to_ethtool_linkset()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A Den_ethtool.c932 speed, __ETHTOOL_LINK_MODE_MASK_NBITS, in mlx4_en_set_link_ksettings()

Completed in 77 milliseconds

12