ptys_eth_proto 2649 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u32 ptys_eth_proto, ptys_eth_proto 2652 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_CR | ptys_eth_proto 2660 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_KR | ptys_eth_proto 2669 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp1_from_ptys_link(struct mlxsw_sp *mlxsw_sp, u32 ptys_eth_proto, ptys_eth_proto 2675 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (ptys_eth_proto & mlxsw_sp1_port_link_mode[i].mask) ptys_eth_proto 2682 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp1_from_ptys_speed(struct mlxsw_sp *mlxsw_sp, u32 ptys_eth_proto) ptys_eth_proto 2687 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (ptys_eth_proto & mlxsw_sp1_port_link_mode[i].mask) ptys_eth_proto 2696 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u32 ptys_eth_proto, ptys_eth_proto 2705 drivers/net/ethernet/mellanox/mlxsw/spectrum.c cmd->base.speed = mlxsw_sp1_from_ptys_speed(mlxsw_sp, ptys_eth_proto); ptys_eth_proto 3045 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u32 ptys_eth_proto, ptys_eth_proto 3063 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp2_from_ptys_link(struct mlxsw_sp *mlxsw_sp, u32 ptys_eth_proto, ptys_eth_proto 3070 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if ((ptys_eth_proto & mlxsw_sp2_port_link_mode[i].mask) && ptys_eth_proto 3078 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp2_from_ptys_speed(struct mlxsw_sp *mlxsw_sp, u32 ptys_eth_proto) ptys_eth_proto 3083 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (ptys_eth_proto & mlxsw_sp2_port_link_mode[i].mask) ptys_eth_proto 3092 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u32 ptys_eth_proto, ptys_eth_proto 3101 drivers/net/ethernet/mellanox/mlxsw/spectrum.c cmd->base.speed = mlxsw_sp2_from_ptys_speed(mlxsw_sp, ptys_eth_proto); ptys_eth_proto 290 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u32 ptys_eth_proto, ptys_eth_proto 292 drivers/net/ethernet/mellanox/mlxsw/spectrum.h void (*from_ptys_link)(struct mlxsw_sp *mlxsw_sp, u32 ptys_eth_proto, ptys_eth_proto 294 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u32 (*from_ptys_speed)(struct mlxsw_sp *mlxsw_sp, u32 ptys_eth_proto); ptys_eth_proto 296 drivers/net/ethernet/mellanox/mlxsw/spectrum.h bool carrier_ok, u32 ptys_eth_proto, ptys_eth_proto 646 drivers/net/ethernet/mellanox/mlxsw/switchx2.c static u32 mlxsw_sx_from_ptys_supported_port(u32 ptys_eth_proto) ptys_eth_proto 648 drivers/net/ethernet/mellanox/mlxsw/switchx2.c if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_CR | ptys_eth_proto 656 drivers/net/ethernet/mellanox/mlxsw/switchx2.c if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_KR | ptys_eth_proto 665 drivers/net/ethernet/mellanox/mlxsw/switchx2.c static u32 mlxsw_sx_from_ptys_supported_link(u32 ptys_eth_proto) ptys_eth_proto 671 drivers/net/ethernet/mellanox/mlxsw/switchx2.c if (ptys_eth_proto & mlxsw_sx_port_link_mode[i].mask) ptys_eth_proto 677 drivers/net/ethernet/mellanox/mlxsw/switchx2.c static u32 mlxsw_sx_from_ptys_advert_link(u32 ptys_eth_proto) ptys_eth_proto 683 drivers/net/ethernet/mellanox/mlxsw/switchx2.c if (ptys_eth_proto & mlxsw_sx_port_link_mode[i].mask) ptys_eth_proto 689 drivers/net/ethernet/mellanox/mlxsw/switchx2.c static void mlxsw_sx_from_ptys_speed_duplex(bool carrier_ok, u32 ptys_eth_proto, ptys_eth_proto 700 drivers/net/ethernet/mellanox/mlxsw/switchx2.c if (ptys_eth_proto & mlxsw_sx_port_link_mode[i].mask) { ptys_eth_proto 711 drivers/net/ethernet/mellanox/mlxsw/switchx2.c static u8 mlxsw_sx_port_connector_port(u32 ptys_eth_proto) ptys_eth_proto 713 drivers/net/ethernet/mellanox/mlxsw/switchx2.c if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_SR | ptys_eth_proto 719 drivers/net/ethernet/mellanox/mlxsw/switchx2.c if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_CR | ptys_eth_proto 724 drivers/net/ethernet/mellanox/mlxsw/switchx2.c if (ptys_eth_proto & (MLXSW_REG_PTYS_ETH_SPEED_10GBASE_KR |