Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_ethtool.c2243 struct ethtool_link_ksettings safe_ks = {}; in ice_set_link_ksettings() local
2285 ice_phy_type_to_ethtool(netdev, &safe_ks); in ice_set_link_ksettings()
2291 safe_ks.link_modes.supported, in ice_set_link_ksettings()
2300 memset(&safe_ks, 0, sizeof(safe_ks)); in ice_set_link_ksettings()
2301 safe_ks.base.cmd = copy_ks.base.cmd; in ice_set_link_ksettings()
2302 safe_ks.base.link_mode_masks_nwords = in ice_set_link_ksettings()
2304 ice_get_link_ksettings(netdev, &safe_ks); in ice_set_link_ksettings()
2307 copy_ks.base.autoneg = safe_ks.base.autoneg; in ice_set_link_ksettings()
2309 copy_ks.base.speed = safe_ks.base.speed; in ice_set_link_ksettings()
2314 if (memcmp(&copy_ks.base, &safe_ks.base, sizeof(copy_ks.base))) { in ice_set_link_ksettings()
[all …]
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c1156 struct ethtool_link_ksettings safe_ks; in i40e_set_link_ksettings() local
1200 memset(&safe_ks, 0, sizeof(struct ethtool_link_ksettings)); in i40e_set_link_ksettings()
1201 safe_ks.base.cmd = copy_ks.base.cmd; in i40e_set_link_ksettings()
1202 safe_ks.base.link_mode_masks_nwords = in i40e_set_link_ksettings()
1204 i40e_get_link_ksettings(netdev, &safe_ks); in i40e_set_link_ksettings()
1210 safe_ks.link_modes.supported, in i40e_set_link_ksettings()
1215 copy_ks.base.autoneg = safe_ks.base.autoneg; in i40e_set_link_ksettings()
1220 if (memcmp(&copy_ks.base, &safe_ks.base, in i40e_set_link_ksettings()
1250 if (!ethtool_link_ksettings_test_link_mode(&safe_ks, in i40e_set_link_ksettings()
1268 if (ethtool_link_ksettings_test_link_mode(&safe_ks, in i40e_set_link_ksettings()