Searched refs:ptys_eth_proto (Results 1 – 2 of 2) sorted by relevance
656 static u32 mlxsw_sx_from_ptys_supported_port(u32 ptys_eth_proto) in mlxsw_sx_from_ptys_supported_port() argument658 if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_CR | in mlxsw_sx_from_ptys_supported_port()666 if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_KR | in mlxsw_sx_from_ptys_supported_port()675 static u32 mlxsw_sx_from_ptys_supported_link(u32 ptys_eth_proto) in mlxsw_sx_from_ptys_supported_link() argument681 if (ptys_eth_proto & mlxsw_sx_port_link_mode[i].mask) in mlxsw_sx_from_ptys_supported_link()687 static u32 mlxsw_sx_from_ptys_advert_link(u32 ptys_eth_proto) in mlxsw_sx_from_ptys_advert_link() argument693 if (ptys_eth_proto & mlxsw_sx_port_link_mode[i].mask) in mlxsw_sx_from_ptys_advert_link()699 static void mlxsw_sx_from_ptys_speed_duplex(bool carrier_ok, u32 ptys_eth_proto, in mlxsw_sx_from_ptys_speed_duplex() argument710 if (ptys_eth_proto & mlxsw_sx_port_link_mode[i].mask) { in mlxsw_sx_from_ptys_speed_duplex()721 static u8 mlxsw_sx_port_connector_port(u32 ptys_eth_proto) in mlxsw_sx_port_connector_port() argument[all …]
2287 mlxsw_sp_from_ptys_supported_port(u32 ptys_eth_proto, in mlxsw_sp_from_ptys_supported_port() argument2290 if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_CR | in mlxsw_sp_from_ptys_supported_port()2298 if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_KR | in mlxsw_sp_from_ptys_supported_port()2306 static void mlxsw_sp_from_ptys_link(u32 ptys_eth_proto, unsigned long *mode) in mlxsw_sp_from_ptys_link() argument2311 if (ptys_eth_proto & mlxsw_sp_port_link_mode[i].mask) in mlxsw_sp_from_ptys_link()2317 static void mlxsw_sp_from_ptys_speed_duplex(bool carrier_ok, u32 ptys_eth_proto, in mlxsw_sp_from_ptys_speed_duplex() argument2328 if (ptys_eth_proto & mlxsw_sp_port_link_mode[i].mask) { in mlxsw_sp_from_ptys_speed_duplex()2339 static u8 mlxsw_sp_port_connector_port(u32 ptys_eth_proto) in mlxsw_sp_port_connector_port() argument2341 if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_SR | in mlxsw_sp_port_connector_port()2347 if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_CR | in mlxsw_sp_port_connector_port()[all …]