mlxsw_sp2_port_link_mode 2941 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static const struct mlxsw_sp2_port_link_mode mlxsw_sp2_port_link_mode[] = {
mlxsw_sp2_port_link_mode 3041 drivers/net/ethernet/mellanox/mlxsw/spectrum.c #define MLXSW_SP2_PORT_LINK_MODE_LEN ARRAY_SIZE(mlxsw_sp2_port_link_mode)
mlxsw_sp2_port_link_mode 3053 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp2_set_bit_ethtool(const struct mlxsw_sp2_port_link_mode *link_mode,
mlxsw_sp2_port_link_mode 3070 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		if ((ptys_eth_proto & mlxsw_sp2_port_link_mode[i].mask) &&
mlxsw_sp2_port_link_mode 3071 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		    (mask_width & mlxsw_sp2_port_link_mode[i].mask_width))
mlxsw_sp2_port_link_mode 3072 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 			mlxsw_sp2_set_bit_ethtool(&mlxsw_sp2_port_link_mode[i],
mlxsw_sp2_port_link_mode 3083 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		if (ptys_eth_proto & mlxsw_sp2_port_link_mode[i].mask)
mlxsw_sp2_port_link_mode 3084 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 			return mlxsw_sp2_port_link_mode[i].speed;
mlxsw_sp2_port_link_mode 3107 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp2_test_bit_ethtool(const struct mlxsw_sp2_port_link_mode *link_mode,
mlxsw_sp2_port_link_mode 3130 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		if ((mask_width & mlxsw_sp2_port_link_mode[i].mask_width) &&
mlxsw_sp2_port_link_mode 3131 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		    mlxsw_sp2_test_bit_ethtool(&mlxsw_sp2_port_link_mode[i],
mlxsw_sp2_port_link_mode 3133 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 			ptys_proto |= mlxsw_sp2_port_link_mode[i].mask;
mlxsw_sp2_port_link_mode 3146 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		if ((speed == mlxsw_sp2_port_link_mode[i].speed) &&
mlxsw_sp2_port_link_mode 3147 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		    (mask_width & mlxsw_sp2_port_link_mode[i].mask_width))
mlxsw_sp2_port_link_mode 3148 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 			ptys_proto |= mlxsw_sp2_port_link_mode[i].mask;
mlxsw_sp2_port_link_mode 3160 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		if (mlxsw_sp2_port_link_mode[i].speed <= upper_speed)
mlxsw_sp2_port_link_mode 3161 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 			ptys_proto |= mlxsw_sp2_port_link_mode[i].mask;