Home
last modified time | relevance | path

Searched refs:mlxsw_sp1_port_link_mode (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ethtool.c1269 struct mlxsw_sp1_port_link_mode { struct
1275 static const struct mlxsw_sp1_port_link_mode mlxsw_sp1_port_link_mode[] = { argument
1378 #define MLXSW_SP1_PORT_LINK_MODE_LEN ARRAY_SIZE(mlxsw_sp1_port_link_mode)
1408 if (ptys_eth_proto & mlxsw_sp1_port_link_mode[i].mask) in mlxsw_sp1_from_ptys_link()
1409 __set_bit(mlxsw_sp1_port_link_mode[i].mask_ethtool, in mlxsw_sp1_from_ptys_link()
1420 if (ptys_eth_proto & mlxsw_sp1_port_link_mode[i].mask) in mlxsw_sp1_from_ptys_speed()
1421 return mlxsw_sp1_port_link_mode[i].speed; in mlxsw_sp1_from_ptys_speed()
1432 struct mlxsw_sp1_port_link_mode link; in mlxsw_sp1_from_ptys_link_mode()
1443 if (ptys_eth_proto & mlxsw_sp1_port_link_mode[i].mask) { in mlxsw_sp1_from_ptys_link_mode()
1444 link = mlxsw_sp1_port_link_mode[i]; in mlxsw_sp1_from_ptys_link_mode()
[all …]