Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c2936 struct mlxsw_sp2_port_link_mode { struct
2944 static const struct mlxsw_sp2_port_link_mode mlxsw_sp2_port_link_mode[] = { argument
3044 #define MLXSW_SP2_PORT_LINK_MODE_LEN ARRAY_SIZE(mlxsw_sp2_port_link_mode)
3056 mlxsw_sp2_set_bit_ethtool(const struct mlxsw_sp2_port_link_mode *link_mode, in mlxsw_sp2_set_bit_ethtool()
3073 if ((ptys_eth_proto & mlxsw_sp2_port_link_mode[i].mask) && in mlxsw_sp2_from_ptys_link()
3074 (mask_width & mlxsw_sp2_port_link_mode[i].mask_width)) in mlxsw_sp2_from_ptys_link()
3075 mlxsw_sp2_set_bit_ethtool(&mlxsw_sp2_port_link_mode[i], in mlxsw_sp2_from_ptys_link()
3086 if (ptys_eth_proto & mlxsw_sp2_port_link_mode[i].mask) in mlxsw_sp2_from_ptys_speed()
3087 return mlxsw_sp2_port_link_mode[i].speed; in mlxsw_sp2_from_ptys_speed()
3110 mlxsw_sp2_test_bit_ethtool(const struct mlxsw_sp2_port_link_mode *link_mode, in mlxsw_sp2_test_bit_ethtool()
[all …]