Home
last modified time | relevance | path

Searched refs:ksettings (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/net/ethtool/
Dlinkmodes.c15 struct ethtool_link_ksettings ksettings; member
36 data->lsettings = &data->ksettings.base; in linkmodes_prepare_data()
42 ret = __ethtool_get_link_ksettings(dev, &data->ksettings); in linkmodes_prepare_data()
49 data->ksettings.lanes = 0; in linkmodes_prepare_data()
52 bitmap_empty(data->ksettings.link_modes.lp_advertising, in linkmodes_prepare_data()
64 const struct ethtool_link_ksettings *ksettings = &data->ksettings; in linkmodes_reply_size() local
65 const struct ethtool_link_settings *lsettings = &ksettings->base; in linkmodes_reply_size()
74 ret = ethnl_bitset_size(ksettings->link_modes.advertising, in linkmodes_reply_size()
75 ksettings->link_modes.supported, in linkmodes_reply_size()
82 ret = ethnl_bitset_size(ksettings->link_modes.lp_advertising, in linkmodes_reply_size()
[all …]
Dlinkinfo.c12 struct ethtool_link_ksettings ksettings; member
32 data->lsettings = &data->ksettings.base; in linkinfo_prepare_data()
37 ret = __ethtool_get_link_ksettings(dev, &data->ksettings); in linkinfo_prepare_data()
100 struct ethtool_link_ksettings ksettings = {}; in ethnl_set_linkinfo() local
125 ret = __ethtool_get_link_ksettings(dev, &ksettings); in ethnl_set_linkinfo()
130 lsettings = &ksettings.base; in ethnl_set_linkinfo()
141 ret = dev->ethtool_ops->set_link_ksettings(dev, &ksettings); in ethnl_set_linkinfo()
/linux-5.19.10/drivers/net/ethernet/marvell/octeon_ep/
Doctep_ethtool.c224 #define OCTEP_SET_ETHTOOL_LINK_MODES_BITMAP(octep_speeds, ksettings, name) \ argument
227 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseT_Full); \
229 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseR_FEC); \
231 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseCR_Full); \
233 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseKR_Full); \
235 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseLR_Full); \
237 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseSR_Full); \
239 ethtool_link_ksettings_add_link_mode(ksettings, name, 25000baseCR_Full); \
241 ethtool_link_ksettings_add_link_mode(ksettings, name, 25000baseKR_Full); \
243 ethtool_link_ksettings_add_link_mode(ksettings, name, 25000baseSR_Full); \
[all …]
/linux-5.19.10/Documentation/networking/
Dsfp-phylink.rst137 6. Add/replace ksettings get/set methods with: