Searched refs:safe_ks (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool.c | 2248 struct ethtool_link_ksettings safe_ks = {}; in ice_set_link_ksettings() local 2290 ice_phy_type_to_ethtool(netdev, &safe_ks); in ice_set_link_ksettings() 2296 safe_ks.link_modes.supported, in ice_set_link_ksettings() 2305 memset(&safe_ks, 0, sizeof(safe_ks)); in ice_set_link_ksettings() 2306 safe_ks.base.cmd = copy_ks.base.cmd; in ice_set_link_ksettings() 2307 safe_ks.base.link_mode_masks_nwords = in ice_set_link_ksettings() 2309 ice_get_link_ksettings(netdev, &safe_ks); 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(©_ks.base, &safe_ks.base, sizeof(copy_ks.base))) { in ice_set_link_ksettings() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 1221 struct ethtool_link_ksettings safe_ks; in i40e_set_link_ksettings() local 1268 memset(&safe_ks, 0, sizeof(struct ethtool_link_ksettings)); in i40e_set_link_ksettings() 1269 safe_ks.base.cmd = copy_ks.base.cmd; in i40e_set_link_ksettings() 1270 safe_ks.base.link_mode_masks_nwords = in i40e_set_link_ksettings() 1272 i40e_get_link_ksettings(netdev, &safe_ks); in i40e_set_link_ksettings() 1278 safe_ks.link_modes.supported, 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(©_ks.base, &safe_ks.base, in i40e_set_link_ksettings() 1319 if (!ethtool_link_ksettings_test_link_mode(&safe_ks, in i40e_set_link_ksettings() [all …]
|