Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ethtool.c1284 struct mlxsw_sp1_port_link_mode { struct
1290 static const struct mlxsw_sp1_port_link_mode mlxsw_sp1_port_link_mode[] = { variable
1393 #define MLXSW_SP1_PORT_LINK_MODE_LEN ARRAY_SIZE(mlxsw_sp1_port_link_mode)
1423 if (ptys_eth_proto & mlxsw_sp1_port_link_mode[i].mask) in mlxsw_sp1_from_ptys_link()
1424 __set_bit(mlxsw_sp1_port_link_mode[i].mask_ethtool, in mlxsw_sp1_from_ptys_link()
1435 if (ptys_eth_proto & mlxsw_sp1_port_link_mode[i].mask) in mlxsw_sp1_from_ptys_speed()
1436 return mlxsw_sp1_port_link_mode[i].speed; in mlxsw_sp1_from_ptys_speed()
1447 struct mlxsw_sp1_port_link_mode link; in mlxsw_sp1_from_ptys_link_mode()
1458 if (ptys_eth_proto & mlxsw_sp1_port_link_mode[i].mask) { in mlxsw_sp1_from_ptys_link_mode()
1459 link = mlxsw_sp1_port_link_mode[i]; in mlxsw_sp1_from_ptys_link_mode()
[all …]