mlxsw_sp1_port_link_mode 2537 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static const struct mlxsw_sp1_port_link_mode mlxsw_sp1_port_link_mode[] = { mlxsw_sp1_port_link_mode 2645 drivers/net/ethernet/mellanox/mlxsw/spectrum.c #define MLXSW_SP1_PORT_LINK_MODE_LEN ARRAY_SIZE(mlxsw_sp1_port_link_mode) mlxsw_sp1_port_link_mode 2675 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (ptys_eth_proto & mlxsw_sp1_port_link_mode[i].mask) mlxsw_sp1_port_link_mode 2676 drivers/net/ethernet/mellanox/mlxsw/spectrum.c __set_bit(mlxsw_sp1_port_link_mode[i].mask_ethtool, mlxsw_sp1_port_link_mode 2687 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (ptys_eth_proto & mlxsw_sp1_port_link_mode[i].mask) mlxsw_sp1_port_link_mode 2688 drivers/net/ethernet/mellanox/mlxsw/spectrum.c return mlxsw_sp1_port_link_mode[i].speed; mlxsw_sp1_port_link_mode 2718 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (test_bit(mlxsw_sp1_port_link_mode[i].mask_ethtool, mlxsw_sp1_port_link_mode 2720 drivers/net/ethernet/mellanox/mlxsw/spectrum.c ptys_proto |= mlxsw_sp1_port_link_mode[i].mask; mlxsw_sp1_port_link_mode 2732 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (speed == mlxsw_sp1_port_link_mode[i].speed) mlxsw_sp1_port_link_mode 2733 drivers/net/ethernet/mellanox/mlxsw/spectrum.c ptys_proto |= mlxsw_sp1_port_link_mode[i].mask; mlxsw_sp1_port_link_mode 2745 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (mlxsw_sp1_port_link_mode[i].speed <= upper_speed) mlxsw_sp1_port_link_mode 2746 drivers/net/ethernet/mellanox/mlxsw/spectrum.c ptys_proto |= mlxsw_sp1_port_link_mode[i].mask;