Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_ethtool.c2624 struct ethtool_link_ksettings copy_ks = *ks; in ice_set_link_ksettings() local
2664 autoneg = copy_ks.base.autoneg; in ice_set_link_ksettings()
2672 if (!bitmap_subset(copy_ks.link_modes.advertising, in ice_set_link_ksettings()
2683 safe_ks.base.cmd = copy_ks.base.cmd; in ice_set_link_ksettings()
2685 copy_ks.base.link_mode_masks_nwords; in ice_set_link_ksettings()
2689 copy_ks.base.autoneg = safe_ks.base.autoneg; in ice_set_link_ksettings()
2691 copy_ks.base.speed = safe_ks.base.speed; in ice_set_link_ksettings()
2696 if (memcmp(&copy_ks.base, &safe_ks.base, sizeof(copy_ks.base))) { in ice_set_link_ksettings()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c1224 struct ethtool_link_ksettings copy_ks; in i40e_set_link_ksettings() local
1263 memcpy(&copy_ks, ks, sizeof(struct ethtool_link_ksettings)); in i40e_set_link_ksettings()
1266 autoneg = copy_ks.base.autoneg; in i40e_set_link_ksettings()
1267 speed = copy_ks.base.speed; in i40e_set_link_ksettings()
1271 safe_ks.base.cmd = copy_ks.base.cmd; in i40e_set_link_ksettings()
1273 copy_ks.base.link_mode_masks_nwords; in i40e_set_link_ksettings()
1279 if (!bitmap_subset(copy_ks.link_modes.advertising, in i40e_set_link_ksettings()
1285 copy_ks.base.autoneg = safe_ks.base.autoneg; in i40e_set_link_ksettings()
1286 copy_ks.base.speed = safe_ks.base.speed; in i40e_set_link_ksettings()
1291 if (memcmp(&copy_ks.base, &safe_ks.base, in i40e_set_link_ksettings()