link_modes       1081 drivers/net/ethernet/3com/3c509.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       1051 drivers/net/ethernet/3com/typhoon.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       1053 drivers/net/ethernet/3com/typhoon.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        567 drivers/net/ethernet/8390/etherh.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       2627 drivers/net/ethernet/alteon/acenic.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        752 drivers/net/ethernet/amd/pcnet32.c 						cmd->link_modes.supported,
link_modes        369 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c 		  __ETHTOOL_LINK_MODE_MASK_NBITS, cmd->link_modes.advertising,
link_modes        370 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c 		  __ETHTOOL_LINK_MODE_MASK_NBITS, lks->link_modes.supported);
link_modes        373 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c 		   cmd->link_modes.advertising, lks->link_modes.supported,
link_modes        387 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c 	bitmap_copy(lks->link_modes.advertising, advertising,
link_modes       1051 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c 		     lks->link_modes.advertising);
link_modes       1840 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c 		     lks->link_modes.advertising);
link_modes       3305 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c 			lks->link_modes.supported);
link_modes        344 drivers/net/ethernet/amd/xgbe/xgbe.h 	bitmap_copy((_dst)->link_modes._dname,		\
link_modes        345 drivers/net/ethernet/amd/xgbe/xgbe.h 		    (_src)->link_modes._sname,		\
link_modes        138 drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c 			cmd->link_modes.supported,
link_modes        141 drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c 			cmd->link_modes.advertising,
link_modes        151 drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c 			cmd->link_modes.supported,
link_modes        154 drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c 			cmd->link_modes.advertising,
link_modes        169 drivers/net/ethernet/atheros/alx/ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        171 drivers/net/ethernet/atheros/alx/ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        188 drivers/net/ethernet/atheros/alx/ethtool.c 						cmd->link_modes.advertising);
link_modes         51 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes         53 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes         52 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes         54 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes         68 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c 						cmd->link_modes.advertising);
link_modes       3242 drivers/net/ethernet/atheros/atlx/atl1.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       3244 drivers/net/ethernet/atheros/atlx/atl1.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       1756 drivers/net/ethernet/atheros/atlx/atl2.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       1758 drivers/net/ethernet/atheros/atlx/atl2.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       1772 drivers/net/ethernet/atheros/atlx/atl2.c 						cmd->link_modes.advertising);
link_modes       1873 drivers/net/ethernet/broadcom/b44.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       1875 drivers/net/ethernet/broadcom/b44.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       1910 drivers/net/ethernet/broadcom/b44.c 						cmd->link_modes.advertising);
link_modes       1448 drivers/net/ethernet/broadcom/bcm63xx_enet.c 			cmd->link_modes.supported, supported);
link_modes       1450 drivers/net/ethernet/broadcom/bcm63xx_enet.c 			cmd->link_modes.advertising, advertising);
link_modes       6955 drivers/net/ethernet/broadcom/bnx2.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       6957 drivers/net/ethernet/broadcom/bnx2.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       6993 drivers/net/ethernet/broadcom/bnx2.c 			&advertising, cmd->link_modes.advertising);
link_modes        228 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 						cmd->link_modes.supported);
link_modes        230 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 						cmd->link_modes.advertising);
link_modes        270 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 						cmd->link_modes.lp_advertising);
link_modes        349 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        351 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        353 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.lp_advertising,
link_modes        378 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 						cmd->link_modes.supported);
link_modes        380 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 						cmd->link_modes.advertising);
link_modes       12179 drivers/net/ethernet/broadcom/tg3.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       12195 drivers/net/ethernet/broadcom/tg3.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       12202 drivers/net/ethernet/broadcom/tg3.c 			cmd->link_modes.lp_advertising,
link_modes       12246 drivers/net/ethernet/broadcom/tg3.c 						cmd->link_modes.advertising);
link_modes        256 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        258 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       1528 drivers/net/ethernet/calxeda/xgmac.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, 0);
link_modes       1529 drivers/net/ethernet/calxeda/xgmac.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising, 0);
link_modes        174 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        176 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        589 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        591 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        641 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 						cmd->link_modes.advertising);
link_modes       1810 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       1812 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       1824 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 						cmd->link_modes.supported);
link_modes       1875 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 						cmd->link_modes.advertising);
link_modes        622 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c 		       link_ksettings->link_modes.supported);
link_modes        627 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c 		       link_ksettings->link_modes.advertising);
link_modes        629 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c 		       link_ksettings->link_modes.lp_advertising);
link_modes        674 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c 			lmm_to_fw_caps(link_ksettings->link_modes.advertising);
link_modes       1468 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 		       link_ksettings->link_modes.supported);
link_modes       1470 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 		       link_ksettings->link_modes.advertising);
link_modes       1472 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 		       link_ksettings->link_modes.lp_advertising);
link_modes       1489 drivers/net/ethernet/dec/tulip/de2104x.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       1492 drivers/net/ethernet/dec/tulip/de2104x.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       1533 drivers/net/ethernet/dec/tulip/de2104x.c 						cmd->link_modes.advertising);
link_modes        938 drivers/net/ethernet/dec/tulip/uli526x.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        940 drivers/net/ethernet/dec/tulip/uli526x.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       1288 drivers/net/ethernet/dlink/dl2k.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       1290 drivers/net/ethernet/dlink/dl2k.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        674 drivers/net/ethernet/emulex/benet/be_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        676 drivers/net/ethernet/emulex/benet/be_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        139 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c 						cmd->link_modes.supported);
link_modes        141 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c 						cmd->link_modes.advertising);
link_modes        184 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        186 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        646 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c 				   cmd->link_modes.supported,
link_modes        647 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c 				   cmd->link_modes.advertising);
link_modes         76 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes         78 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       2055 drivers/net/ethernet/ibm/emac/core.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       2057 drivers/net/ethernet/ibm/emac/core.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       2072 drivers/net/ethernet/ibm/emac/core.c 						cmd->link_modes.advertising);
link_modes        730 drivers/net/ethernet/ibm/ibmveth.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        732 drivers/net/ethernet/ibm/ibmveth.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        156 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        158 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        172 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 						cmd->link_modes.advertising);
link_modes        188 drivers/net/ethernet/intel/e1000e/ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        190 drivers/net/ethernet/intel/e1000e/ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        260 drivers/net/ethernet/intel/e1000e/ethtool.c 						cmd->link_modes.advertising);
link_modes       1190 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	if (!bitmap_subset(copy_ks.link_modes.advertising,
link_modes       1191 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			   safe_ks.link_modes.supported,
link_modes       2400 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (!bitmap_subset(copy_ks.link_modes.advertising,
link_modes       2401 drivers/net/ethernet/intel/ice/ice_ethtool.c 			   safe_ks.link_modes.supported,
link_modes        251 drivers/net/ethernet/intel/igb/igb_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        253 drivers/net/ethernet/intel/igb/igb_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        294 drivers/net/ethernet/intel/igb/igb_ethtool.c 						cmd->link_modes.advertising);
link_modes       1788 drivers/net/ethernet/intel/igc/igc_ethtool.c 						cmd->link_modes.advertising);
link_modes        184 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 						cmd->link_modes.supported);
link_modes        361 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        363 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        379 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 						cmd->link_modes.supported);
link_modes        381 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 						cmd->link_modes.advertising);
link_modes       1497 drivers/net/ethernet/marvell/mv643xx_eth.c 			   cmd->link_modes.supported);
link_modes       1499 drivers/net/ethernet/marvell/mv643xx_eth.c 			   cmd->link_modes.advertising);
link_modes       1535 drivers/net/ethernet/marvell/mv643xx_eth.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       1537 drivers/net/ethernet/marvell/mv643xx_eth.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       1596 drivers/net/ethernet/marvell/mv643xx_eth.c 						c.link_modes.advertising);
link_modes       1598 drivers/net/ethernet/marvell/mv643xx_eth.c 	ethtool_convert_legacy_u32_to_link_mode(c.link_modes.advertising,
link_modes        980 drivers/net/ethernet/marvell/pxa168_eth.c 	bitmap_copy(cmd.link_modes.advertising, PHY_BASIC_FEATURES,
link_modes        313 drivers/net/ethernet/marvell/skge.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        315 drivers/net/ethernet/marvell/skge.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        331 drivers/net/ethernet/marvell/skge.c 						cmd->link_modes.advertising);
link_modes       3599 drivers/net/ethernet/marvell/sky2.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       3601 drivers/net/ethernet/marvell/sky2.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       3616 drivers/net/ethernet/marvell/sky2.c 						cmd->link_modes.advertising);
link_modes        698 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c static void ptys2ethtool_update_link_modes(unsigned long *link_modes,
link_modes        705 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 			bitmap_or(link_modes, link_modes,
link_modes        712 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c static u32 ethtool2ptys_link_modes(const unsigned long *link_modes,
link_modes        722 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 			    link_modes,
link_modes        776 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	ptys2ethtool_update_supported_port(link_ksettings->link_modes.supported,
link_modes        780 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	ptys2ethtool_update_link_modes(link_ksettings->link_modes.supported,
link_modes        784 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	ptys2ethtool_update_link_modes(link_ksettings->link_modes.advertising,
link_modes        816 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		link_ksettings->link_modes.lp_advertising,
link_modes        924 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		link_ksettings->link_modes.advertising, ADVERTISED);
link_modes        930 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	       link_ksettings->link_modes.advertising,
link_modes        225 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	u32 link_modes = 0;
link_modes        233 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 			link_modes |= MLX5E_PROT_MASK(i);
link_modes        235 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	return link_modes;
link_modes        693 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 		__set_bit(offset, link_ksettings->link_modes.supported);
link_modes        698 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	__set_bit(offset, link_ksettings->link_modes.advertising);
link_modes        808 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	unsigned long *supported = link_ksettings->link_modes.supported;
link_modes        818 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	unsigned long *advertising = link_ksettings->link_modes.advertising;
link_modes        873 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	unsigned long *lp_advertising = link_ksettings->link_modes.lp_advertising;
link_modes        979 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c static u32 mlx5e_ethtool2ptys_adver_link(const unsigned long *link_modes)
link_modes        987 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 				      link_modes,
link_modes        995 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c static u32 mlx5e_ethtool2ptys_ext_adver_link(const unsigned long *link_modes)
link_modes       1005 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 			   link_modes, __ETHTOOL_LINK_MODE_MASK_NBITS);
link_modes       1042 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	u32 link_modes;
link_modes       1051 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	adver = link_ksettings->link_modes.advertising;
link_modes       1068 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	link_modes = autoneg == AUTONEG_ENABLE ? ethtool2ptys_adver_func(adver) :
link_modes       1071 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	if ((link_modes & MLX5E_PROT_MASK(MLX5E_56GBASE_R4)) &&
link_modes       1079 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	link_modes = link_modes & eproto.cap;
link_modes       1080 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	if (!link_modes) {
link_modes       1094 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	if (!an_changes && link_modes == eproto.admin)
link_modes       1097 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	mlx5_port_set_eth_ptys(mdev, an_disable, link_modes, ext);
link_modes       2719 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 			     cmd->link_modes.advertising))
link_modes       3132 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 					       cmd->link_modes.advertising))
link_modes       3243 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 			    cmd->link_modes.supported);
link_modes       3260 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 			    cmd->link_modes.advertising);
link_modes        766 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        768 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        770 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.lp_advertising,
link_modes        830 drivers/net/ethernet/mellanox/mlxsw/switchx2.c 						cmd->link_modes.advertising);
link_modes       5956 drivers/net/ethernet/micrel/ksz884x.c 						cmd->link_modes.advertising);
link_modes       5982 drivers/net/ethernet/micrel/ksz884x.c 						cmd->link_modes.advertising);
link_modes       6024 drivers/net/ethernet/micrel/ksz884x.c 	ethtool_convert_legacy_u32_to_link_mode(copy_cmd.link_modes.advertising,
link_modes        948 drivers/net/ethernet/microchip/encx24j600.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       2908 drivers/net/ethernet/natsemi/natsemi.c 	ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.supported,
link_modes       2910 drivers/net/ethernet/natsemi/natsemi.c 	ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.advertising,
link_modes       2923 drivers/net/ethernet/natsemi/natsemi.c 						ecmd->link_modes.advertising);
link_modes       1252 drivers/net/ethernet/natsemi/ns83820.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       4368 drivers/net/ethernet/nvidia/forcedeth.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       4370 drivers/net/ethernet/nvidia/forcedeth.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       4386 drivers/net/ethernet/nvidia/forcedeth.c 						cmd->link_modes.advertising);
link_modes         81 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 						ecmd->link_modes.supported);
link_modes         83 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 						ecmd->link_modes.advertising);
link_modes         88 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.supported,
link_modes         90 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.advertising,
link_modes        136 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 		&advertising, copy_ecmd.link_modes.advertising);
link_modes        210 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 	bitmap_copy(ks->link_modes.advertising, ks->link_modes.supported,
link_modes        238 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        240 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        475 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 				  lk_ksettings->link_modes.name); \
link_modes        485 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			     lk_ksettings->link_modes.name))	\
link_modes       1727 drivers/net/ethernet/qlogic/qla3xxx.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       1729 drivers/net/ethernet/qlogic/qla3xxx.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       3329 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 						ecmd->link_modes.advertising);
link_modes       3386 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.supported,
link_modes       3388 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.advertising,
link_modes        428 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.supported,
link_modes        430 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.advertising,
link_modes        139 drivers/net/ethernet/sfc/ethtool.c 						cmd->link_modes.supported);
link_modes        143 drivers/net/ethernet/sfc/ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        242 drivers/net/ethernet/sfc/falcon/mdio_10g.c 						cmd->link_modes.advertising);
link_modes        244 drivers/net/ethernet/sfc/falcon/mdio_10g.c 						prev.link_modes.advertising);
link_modes        246 drivers/net/ethernet/sfc/falcon/mdio_10g.c 						prev.link_modes.supported);
link_modes        606 drivers/net/ethernet/sfc/mcdi_port.c 				cmd->link_modes.supported);
link_modes        607 drivers/net/ethernet/sfc/mcdi_port.c 	memcpy(cmd->link_modes.advertising, efx->link_advertising,
link_modes        617 drivers/net/ethernet/sfc/mcdi_port.c 				cmd->link_modes.lp_advertising);
link_modes        629 drivers/net/ethernet/sfc/mcdi_port.c 		caps = (ethtool_linkset_to_mcdi_cap(cmd->link_modes.advertising) |
link_modes        660 drivers/net/ethernet/sfc/mcdi_port.c 		efx_link_set_advertising(efx, cmd->link_modes.advertising);
link_modes       1171 drivers/net/ethernet/silan/sc92031.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       1173 drivers/net/ethernet/silan/sc92031.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       1191 drivers/net/ethernet/silan/sc92031.c 						cmd->link_modes.advertising);
link_modes       1470 drivers/net/ethernet/smsc/smc911x.c 			cmd->link_modes.supported, supported);
link_modes       1866 drivers/net/ethernet/smsc/smc91c92_cs.c 	ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.supported,
link_modes       1551 drivers/net/ethernet/smsc/smc91x.c 			cmd->link_modes.supported, supported);
link_modes        300 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 			&supported, cmd->link_modes.supported);
link_modes        302 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 			&advertising, cmd->link_modes.advertising);
link_modes        304 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 			&lp_advertising, cmd->link_modes.lp_advertising);
link_modes        347 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 			cmd->link_modes.supported, supported);
link_modes        349 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 			cmd->link_modes.advertising, advertising);
link_modes        351 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 			cmd->link_modes.lp_advertising, lp_advertising);
link_modes        211 drivers/net/ethernet/sun/cassini.c static u16 link_modes[] = {
link_modes       4623 drivers/net/ethernet/sun/cassini.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       4625 drivers/net/ethernet/sun/cassini.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       5045 drivers/net/ethernet/sun/cassini.c 		cp->link_cntl = link_modes[link_mode];
link_modes       6804 drivers/net/ethernet/sun/niu.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       6806 drivers/net/ethernet/sun/niu.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       6823 drivers/net/ethernet/sun/niu.c 						cmd->link_modes.advertising);
link_modes       1267 drivers/net/ethernet/sun/sungem.c 			&advertising, ep->link_modes.advertising);
link_modes       2584 drivers/net/ethernet/sun/sungem.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       2586 drivers/net/ethernet/sun/sungem.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       2600 drivers/net/ethernet/sun/sungem.c 						cmd->link_modes.advertising);
link_modes       2479 drivers/net/ethernet/sun/sunhme.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       1967 drivers/net/ethernet/ti/netcp_ethss.c 						cmd->link_modes.advertising);
link_modes       1969 drivers/net/ethernet/ti/netcp_ethss.c 						cmd->link_modes.supported);
link_modes       1238 drivers/net/ethernet/toshiba/ps3_gelic_net.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       1240 drivers/net/ethernet/toshiba/ps3_gelic_net.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes       3351 drivers/net/ethernet/via/via-velocity.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes       3353 drivers/net/ethernet/via/via-velocity.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        493 drivers/net/mdio.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        495 drivers/net/mdio.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        497 drivers/net/mdio.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.lp_advertising,
link_modes        220 drivers/net/mii.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
link_modes        222 drivers/net/mii.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
link_modes        224 drivers/net/mii.c 	ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.lp_advertising,
link_modes        359 drivers/net/mii.c 			&advertising, cmd->link_modes.advertising);
link_modes        326 drivers/net/phy/phy.c 	linkmode_copy(advertising, cmd->link_modes.advertising);
link_modes        369 drivers/net/phy/phy.c 	linkmode_copy(cmd->link_modes.supported, phydev->supported);
link_modes        370 drivers/net/phy/phy.c 	linkmode_copy(cmd->link_modes.advertising, phydev->advertising);
link_modes        371 drivers/net/phy/phy.c 	linkmode_copy(cmd->link_modes.lp_advertising, phydev->lp_advertising);
link_modes       1107 drivers/net/phy/phylink.c 	phylink_merge_link_mode(kset->link_modes.advertising, state->advertising);
link_modes       1108 drivers/net/phy/phylink.c 	linkmode_copy(kset->link_modes.lp_advertising, state->lp_advertising);
link_modes       1137 drivers/net/phy/phylink.c 	linkmode_copy(kset->link_modes.supported, pl->supported);
link_modes       1193 drivers/net/phy/phylink.c 	linkmode_and(config.advertising, kset->link_modes.advertising,
link_modes       1241 drivers/net/phy/phylink.c 	linkmode_copy(our_kset.link_modes.advertising, config.advertising);
link_modes       1254 drivers/net/phy/phylink.c 	linkmode_copy(pl->link_config.advertising, our_kset.link_modes.advertising);
link_modes        257 drivers/net/phy/sfp-bus.c 				     unsigned long *link_modes)
link_modes        259 drivers/net/phy/sfp-bus.c 	if (phylink_test(link_modes, 10000baseCR_Full) ||
link_modes        260 drivers/net/phy/sfp-bus.c 	    phylink_test(link_modes, 10000baseSR_Full) ||
link_modes        261 drivers/net/phy/sfp-bus.c 	    phylink_test(link_modes, 10000baseLR_Full) ||
link_modes        262 drivers/net/phy/sfp-bus.c 	    phylink_test(link_modes, 10000baseLRM_Full) ||
link_modes        263 drivers/net/phy/sfp-bus.c 	    phylink_test(link_modes, 10000baseER_Full))
link_modes        266 drivers/net/phy/sfp-bus.c 	if (phylink_test(link_modes, 2500baseX_Full))
link_modes        274 drivers/net/phy/sfp-bus.c 	if (phylink_test(link_modes, 1000baseX_Full))
link_modes        293 drivers/net/usb/aqc111.c 		linkmode_copy(elk->link_modes.advertising,
link_modes        294 drivers/net/usb/aqc111.c 			      elk->link_modes.supported);
link_modes       1597 drivers/net/usb/lan78xx.c 				   ecmd.link_modes.advertising);
link_modes       1599 drivers/net/usb/lan78xx.c 				   ecmd.link_modes.advertising);
link_modes       1602 drivers/net/usb/lan78xx.c 		linkmode_or(ecmd.link_modes.advertising, fc,
link_modes       1603 drivers/net/usb/lan78xx.c 			    ecmd.link_modes.advertising);
link_modes       4991 drivers/net/usb/r8152.c 		     cmd->link_modes.advertising))
link_modes       4995 drivers/net/usb/r8152.c 		     cmd->link_modes.advertising))
link_modes       4999 drivers/net/usb/r8152.c 		     cmd->link_modes.advertising))
link_modes       5003 drivers/net/usb/r8152.c 		     cmd->link_modes.advertising))
link_modes       5007 drivers/net/usb/r8152.c 		     cmd->link_modes.advertising))
link_modes       5011 drivers/net/usb/r8152.c 		     cmd->link_modes.advertising))
link_modes        825 drivers/net/usb/rtl8150.c 	ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.supported,
link_modes       2189 drivers/net/virtio_net.c 		bitmap_empty(diff1.link_modes.supported,
link_modes       2191 drivers/net/virtio_net.c 		bitmap_empty(diff1.link_modes.advertising,
link_modes       2193 drivers/net/virtio_net.c 		bitmap_empty(diff1.link_modes.lp_advertising,
link_modes        127 drivers/scsi/fcoe/fcoe_transport.c 		if (ecmd.link_modes.supported[0] & (
link_modes        133 drivers/scsi/fcoe/fcoe_transport.c 		if (ecmd.link_modes.supported[0] & (
link_modes        140 drivers/scsi/fcoe/fcoe_transport.c 		if (ecmd.link_modes.supported[0] & (
link_modes        145 drivers/scsi/fcoe/fcoe_transport.c 		if (ecmd.link_modes.supported[0] & (
link_modes        403 drivers/staging/qlge/qlge_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.supported,
link_modes        405 drivers/staging/qlge/qlge_ethtool.c 	ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.advertising,
link_modes        114 include/linux/ethtool.h 	} link_modes;
link_modes        123 include/linux/ethtool.h 	bitmap_zero((ptr)->link_modes.name, __ETHTOOL_LINK_MODE_MASK_NBITS)
link_modes        134 include/linux/ethtool.h 	__set_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name)
link_modes        145 include/linux/ethtool.h 	__clear_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name)
link_modes        157 include/linux/ethtool.h 	test_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name)
link_modes        504 include/linux/sfp.h 				     unsigned long *link_modes);
link_modes        531 include/linux/sfp.h 						   unsigned long *link_modes)
link_modes        395 net/core/ethtool.c 		dst->link_modes.supported[idx] &=
link_modes        396 net/core/ethtool.c 			src->link_modes.supported[idx];
link_modes        397 net/core/ethtool.c 		dst->link_modes.advertising[idx] &=
link_modes        398 net/core/ethtool.c 			src->link_modes.advertising[idx];
link_modes        456 net/core/ethtool.c 		link_ksettings->link_modes.supported,
link_modes        459 net/core/ethtool.c 		link_ksettings->link_modes.advertising,
link_modes        462 net/core/ethtool.c 		link_ksettings->link_modes.lp_advertising,
link_modes        502 net/core/ethtool.c 		link_ksettings->link_modes.supported);
link_modes        505 net/core/ethtool.c 		link_ksettings->link_modes.advertising);
link_modes        508 net/core/ethtool.c 		link_ksettings->link_modes.lp_advertising);
link_modes        540 net/core/ethtool.c 	} link_modes;
link_modes        569 net/core/ethtool.c 	bitmap_from_arr32(to->link_modes.supported,
link_modes        570 net/core/ethtool.c 			  link_usettings.link_modes.supported,
link_modes        572 net/core/ethtool.c 	bitmap_from_arr32(to->link_modes.advertising,
link_modes        573 net/core/ethtool.c 			  link_usettings.link_modes.advertising,
link_modes        575 net/core/ethtool.c 	bitmap_from_arr32(to->link_modes.lp_advertising,
link_modes        576 net/core/ethtool.c 			  link_usettings.link_modes.lp_advertising,
link_modes        593 net/core/ethtool.c 	bitmap_to_arr32(link_usettings.link_modes.supported,
link_modes        594 net/core/ethtool.c 			from->link_modes.supported,
link_modes        596 net/core/ethtool.c 	bitmap_to_arr32(link_usettings.link_modes.advertising,
link_modes        597 net/core/ethtool.c 			from->link_modes.advertising,
link_modes        599 net/core/ethtool.c 	bitmap_to_arr32(link_usettings.link_modes.lp_advertising,
link_modes        600 net/core/ethtool.c 			from->link_modes.lp_advertising,