Home
last modified time | relevance | path

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

/openbmc/linux/net/ethtool/
H A Dlinkmodes.c15 struct ethtool_link_ksettings ksettings; member
36 data->lsettings = &data->ksettings.base; in linkmodes_prepare_data()
49 data->ksettings.lanes = 0; in linkmodes_prepare_data()
64 const struct ethtool_link_ksettings *ksettings = &data->ksettings; in linkmodes_reply_size() local
76 ksettings->link_modes.supported, in linkmodes_reply_size()
105 const struct ethtool_link_ksettings *ksettings = &data->ksettings; in linkmodes_fill_reply() local
114 ksettings->link_modes.advertising, in linkmodes_fill_reply()
115 ksettings->link_modes.supported, in linkmodes_fill_reply()
122 ksettings->link_modes.lp_advertising, in linkmodes_fill_reply()
133 if (ksettings->lanes && in linkmodes_fill_reply()
[all …]
H A 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
107 ret = __ethtool_get_link_ksettings(dev, &ksettings); in ethnl_set_linkinfo()
112 lsettings = &ksettings.base; in ethnl_set_linkinfo()
122 ret = dev->ethtool_ops->set_link_ksettings(dev, &ksettings); in ethnl_set_linkinfo()
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_ethtool.c227 #define OCTEP_SET_ETHTOOL_LINK_MODES_BITMAP(octep_speeds, ksettings, name) \ argument
230 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseT_Full); \
232 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseR_FEC); \
234 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseCR_Full); \
236 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseKR_Full); \
238 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseLR_Full); \
240 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseSR_Full); \
242 ethtool_link_ksettings_add_link_mode(ksettings, name, 25000baseCR_Full); \
244 ethtool_link_ksettings_add_link_mode(ksettings, name, 25000baseKR_Full); \
246 ethtool_link_ksettings_add_link_mode(ksettings, name, 25000baseSR_Full); \
[all …]
/openbmc/linux/Documentation/networking/
H A Dsfp-phylink.rst137 6. Add/replace ksettings get/set methods with: