Lines Matching refs:safe_ks
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()
1337 if (ethtool_link_ksettings_test_link_mode(&safe_ks, in i40e_set_link_ksettings()
1402 if ((speed != SPEED_UNKNOWN && safe_ks.base.speed != speed) && in i40e_set_link_ksettings()
1404 (safe_ks.base.autoneg == AUTONEG_DISABLE && !autoneg_changed))) { in i40e_set_link_ksettings()
1414 if (safe_ks.base.speed != speed) { in i40e_set_link_ksettings()