safe_ks          1137 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	struct ethtool_link_ksettings safe_ks;
safe_ks          1181 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	memset(&safe_ks, 0, sizeof(struct ethtool_link_ksettings));
safe_ks          1182 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	safe_ks.base.cmd = copy_ks.base.cmd;
safe_ks          1183 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	safe_ks.base.link_mode_masks_nwords =
safe_ks          1185 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	i40e_get_link_ksettings(netdev, &safe_ks);
safe_ks          1191 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			   safe_ks.link_modes.supported,
safe_ks          1196 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	copy_ks.base.autoneg = safe_ks.base.autoneg;
safe_ks          1201 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	if (memcmp(&copy_ks.base, &safe_ks.base,
safe_ks          1231 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			if (!ethtool_link_ksettings_test_link_mode(&safe_ks,
safe_ks          1249 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			if (ethtool_link_ksettings_test_link_mode(&safe_ks,
safe_ks          2353 drivers/net/ethernet/intel/ice/ice_ethtool.c 	struct ethtool_link_ksettings safe_ks, copy_ks;
safe_ks          2392 drivers/net/ethernet/intel/ice/ice_ethtool.c 	memset(&safe_ks, 0, sizeof(safe_ks));
safe_ks          2395 drivers/net/ethernet/intel/ice/ice_ethtool.c 	ice_phy_type_to_ethtool(netdev, &safe_ks);
safe_ks          2401 drivers/net/ethernet/intel/ice/ice_ethtool.c 			   safe_ks.link_modes.supported,
safe_ks          2406 drivers/net/ethernet/intel/ice/ice_ethtool.c 	memset(&safe_ks, 0, sizeof(safe_ks));
safe_ks          2407 drivers/net/ethernet/intel/ice/ice_ethtool.c 	safe_ks.base.cmd = copy_ks.base.cmd;
safe_ks          2408 drivers/net/ethernet/intel/ice/ice_ethtool.c 	safe_ks.base.link_mode_masks_nwords =
safe_ks          2410 drivers/net/ethernet/intel/ice/ice_ethtool.c 	ice_get_link_ksettings(netdev, &safe_ks);
safe_ks          2413 drivers/net/ethernet/intel/ice/ice_ethtool.c 	copy_ks.base.autoneg = safe_ks.base.autoneg;
safe_ks          2415 drivers/net/ethernet/intel/ice/ice_ethtool.c 	copy_ks.base.speed = safe_ks.base.speed;
safe_ks          2420 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (memcmp(&copy_ks.base, &safe_ks.base, sizeof(copy_ks.base)))
safe_ks          2450 drivers/net/ethernet/intel/ice/ice_ethtool.c 	err = ice_setup_autoneg(p, &safe_ks, &config, autoneg, &autoneg_changed,