Home
last modified time | relevance | path

Searched refs:legacy_settings (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/net/ethtool/
Dcommon.c292 const struct ethtool_cmd *legacy_settings) in convert_legacy_settings_to_link_ksettings() argument
302 if (legacy_settings->maxtxpkt || in convert_legacy_settings_to_link_ksettings()
303 legacy_settings->maxrxpkt) in convert_legacy_settings_to_link_ksettings()
308 legacy_settings->supported); in convert_legacy_settings_to_link_ksettings()
311 legacy_settings->advertising); in convert_legacy_settings_to_link_ksettings()
314 legacy_settings->lp_advertising); in convert_legacy_settings_to_link_ksettings()
316 = ethtool_cmd_speed(legacy_settings); in convert_legacy_settings_to_link_ksettings()
318 = legacy_settings->duplex; in convert_legacy_settings_to_link_ksettings()
320 = legacy_settings->port; in convert_legacy_settings_to_link_ksettings()
322 = legacy_settings->phy_address; in convert_legacy_settings_to_link_ksettings()
[all …]
Dcommon.h37 const struct ethtool_cmd *legacy_settings);
Dioctl.c371 struct ethtool_cmd *legacy_settings, in convert_link_ksettings_to_legacy_settings() argument
376 memset(legacy_settings, 0, sizeof(*legacy_settings)); in convert_link_ksettings_to_legacy_settings()
384 &legacy_settings->supported, in convert_link_ksettings_to_legacy_settings()
387 &legacy_settings->advertising, in convert_link_ksettings_to_legacy_settings()
390 &legacy_settings->lp_advertising, in convert_link_ksettings_to_legacy_settings()
392 ethtool_cmd_speed_set(legacy_settings, link_ksettings->base.speed); in convert_link_ksettings_to_legacy_settings()
393 legacy_settings->duplex in convert_link_ksettings_to_legacy_settings()
395 legacy_settings->port in convert_link_ksettings_to_legacy_settings()
397 legacy_settings->phy_address in convert_link_ksettings_to_legacy_settings()
399 legacy_settings->autoneg in convert_link_ksettings_to_legacy_settings()
[all …]