Searched refs:ksettings (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/net/ethtool/ |
D | linkmodes.c | 15 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() 75 ret = ethnl_bitset_size(ksettings->link_modes.advertising, in linkmodes_reply_size() 76 ksettings->link_modes.supported, in linkmodes_reply_size() 83 ret = ethnl_bitset_size(ksettings->link_modes.lp_advertising, in linkmodes_reply_size() [all …]
|
D | linkinfo.c | 12 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()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/ |
D | octep_vf_ethtool.c | 163 #define OCTEP_VF_SET_ETHTOOL_LINK_MODES_BITMAP(octep_vf_speeds, ksettings, name) \ argument 166 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseT_Full); \ 168 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseR_FEC); \ 170 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseCR_Full); \ 172 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseKR_Full); \ 174 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseLR_Full); \ 176 ethtool_link_ksettings_add_link_mode(ksettings, name, 10000baseSR_Full); \ 178 ethtool_link_ksettings_add_link_mode(ksettings, name, 25000baseCR_Full); \ 180 ethtool_link_ksettings_add_link_mode(ksettings, name, 25000baseKR_Full); \ 182 ethtool_link_ksettings_add_link_mode(ksettings, name, 25000baseSR_Full); \ [all …]
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_ethtool.c | 227 #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 …]
|
/linux-6.12.1/Documentation/networking/ |
D | sfp-phylink.rst | 137 6. Add/replace ksettings get/set methods with:
|