Home
last modified time | relevance | path

Searched refs:copy_ks (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_ethtool.c2247 struct ethtool_link_ksettings copy_ks = *ks; in ice_set_link_ksettings() local
2287 autoneg = copy_ks.base.autoneg; in ice_set_link_ksettings()
2295 if (!bitmap_subset(copy_ks.link_modes.advertising, in ice_set_link_ksettings()
2306 safe_ks.base.cmd = copy_ks.base.cmd; in ice_set_link_ksettings()
2308 copy_ks.base.link_mode_masks_nwords; in ice_set_link_ksettings()
2312 copy_ks.base.autoneg = safe_ks.base.autoneg; in ice_set_link_ksettings()
2314 copy_ks.base.speed = safe_ks.base.speed; in ice_set_link_ksettings()
2319 if (memcmp(&copy_ks.base, &safe_ks.base, sizeof(copy_ks.base))) { in ice_set_link_ksettings()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c1222 struct ethtool_link_ksettings copy_ks; in i40e_set_link_ksettings() local
1261 memcpy(&copy_ks, ks, sizeof(struct ethtool_link_ksettings)); in i40e_set_link_ksettings()
1264 autoneg = copy_ks.base.autoneg; in i40e_set_link_ksettings()
1265 speed = copy_ks.base.speed; in i40e_set_link_ksettings()
1269 safe_ks.base.cmd = copy_ks.base.cmd; in i40e_set_link_ksettings()
1271 copy_ks.base.link_mode_masks_nwords; in i40e_set_link_ksettings()
1277 if (!bitmap_subset(copy_ks.link_modes.advertising, in i40e_set_link_ksettings()
1283 copy_ks.base.autoneg = safe_ks.base.autoneg; in i40e_set_link_ksettings()
1284 copy_ks.base.speed = safe_ks.base.speed; in i40e_set_link_ksettings()
1289 if (memcmp(&copy_ks.base, &safe_ks.base, in i40e_set_link_ksettings()