Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dswitchx2.c651 static u32 mlxsw_sx_from_ptys_supported_port(u32 ptys_eth_proto) in mlxsw_sx_from_ptys_supported_port() argument
653 if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_CR | in mlxsw_sx_from_ptys_supported_port()
661 if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_KR | in mlxsw_sx_from_ptys_supported_port()
670 static u32 mlxsw_sx_from_ptys_supported_link(u32 ptys_eth_proto) in mlxsw_sx_from_ptys_supported_link() argument
676 if (ptys_eth_proto & mlxsw_sx_port_link_mode[i].mask) in mlxsw_sx_from_ptys_supported_link()
682 static u32 mlxsw_sx_from_ptys_advert_link(u32 ptys_eth_proto) in mlxsw_sx_from_ptys_advert_link() argument
688 if (ptys_eth_proto & mlxsw_sx_port_link_mode[i].mask) in mlxsw_sx_from_ptys_advert_link()
694 static void mlxsw_sx_from_ptys_speed_duplex(bool carrier_ok, u32 ptys_eth_proto, in mlxsw_sx_from_ptys_speed_duplex() argument
705 if (ptys_eth_proto & mlxsw_sx_port_link_mode[i].mask) { in mlxsw_sx_from_ptys_speed_duplex()
716 static u8 mlxsw_sx_port_connector_port(u32 ptys_eth_proto) in mlxsw_sx_port_connector_port() argument
[all …]
Dspectrum.h290 u32 ptys_eth_proto,
292 void (*from_ptys_link)(struct mlxsw_sp *mlxsw_sp, u32 ptys_eth_proto,
294 u32 (*from_ptys_speed)(struct mlxsw_sp *mlxsw_sp, u32 ptys_eth_proto);
296 bool carrier_ok, u32 ptys_eth_proto,
Dspectrum.c2652 u32 ptys_eth_proto, in mlxsw_sp1_from_ptys_supported_port() argument
2655 if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_CR | in mlxsw_sp1_from_ptys_supported_port()
2663 if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_KR | in mlxsw_sp1_from_ptys_supported_port()
2672 mlxsw_sp1_from_ptys_link(struct mlxsw_sp *mlxsw_sp, u32 ptys_eth_proto, in mlxsw_sp1_from_ptys_link() argument
2678 if (ptys_eth_proto & mlxsw_sp1_port_link_mode[i].mask) in mlxsw_sp1_from_ptys_link()
2685 mlxsw_sp1_from_ptys_speed(struct mlxsw_sp *mlxsw_sp, u32 ptys_eth_proto) in mlxsw_sp1_from_ptys_speed() argument
2690 if (ptys_eth_proto & mlxsw_sp1_port_link_mode[i].mask) in mlxsw_sp1_from_ptys_speed()
2699 u32 ptys_eth_proto, in mlxsw_sp1_from_ptys_speed_duplex() argument
2708 cmd->base.speed = mlxsw_sp1_from_ptys_speed(mlxsw_sp, ptys_eth_proto); in mlxsw_sp1_from_ptys_speed_duplex()
3048 u32 ptys_eth_proto, in mlxsw_sp2_from_ptys_supported_port() argument
[all …]