Searched refs:link_usettings (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/net/ethtool/ |
D | ioctl.c | 452 struct ethtool_link_usettings link_usettings; in load_link_ksettings_from_user() local 454 if (copy_from_user(&link_usettings, from, sizeof(link_usettings))) in load_link_ksettings_from_user() 457 memcpy(&to->base, &link_usettings.base, sizeof(to->base)); in load_link_ksettings_from_user() 459 link_usettings.link_modes.supported, in load_link_ksettings_from_user() 462 link_usettings.link_modes.advertising, in load_link_ksettings_from_user() 465 link_usettings.link_modes.lp_advertising, in load_link_ksettings_from_user() 497 struct ethtool_link_usettings link_usettings; in store_link_ksettings_for_user() local 499 memcpy(&link_usettings, from, sizeof(link_usettings)); in store_link_ksettings_for_user() 500 bitmap_to_arr32(link_usettings.link_modes.supported, in store_link_ksettings_for_user() 503 bitmap_to_arr32(link_usettings.link_modes.advertising, in store_link_ksettings_for_user() [all …]
|