Searched refs:upper_speed (Results 1 – 3 of 3) sorted by relevance
805 static u32 mlxsw_sx_to_ptys_upper_speed(u32 upper_speed) in mlxsw_sx_to_ptys_upper_speed() argument811 if (mlxsw_sx_port_link_mode[i].speed <= upper_speed) in mlxsw_sx_to_ptys_upper_speed()963 u32 upper_speed = MLXSW_SX_PORT_BASE_SPEED * width; in mlxsw_sx_port_speed_by_width_set() local967 eth_proto_admin = mlxsw_sx_to_ptys_upper_speed(upper_speed); in mlxsw_sx_port_speed_by_width_set()
2742 mlxsw_sp1_to_ptys_upper_speed(struct mlxsw_sp *mlxsw_sp, u32 upper_speed) in mlxsw_sp1_to_ptys_upper_speed() argument2748 if (mlxsw_sp1_port_link_mode[i].speed <= upper_speed) in mlxsw_sp1_to_ptys_upper_speed()3157 mlxsw_sp2_to_ptys_upper_speed(struct mlxsw_sp *mlxsw_sp, u32 upper_speed) in mlxsw_sp2_to_ptys_upper_speed() argument3163 if (mlxsw_sp2_port_link_mode[i].speed <= upper_speed) in mlxsw_sp2_to_ptys_upper_speed()3444 u32 upper_speed; in mlxsw_sp_port_speed_by_width_set() local3454 upper_speed = base_speed * width; in mlxsw_sp_port_speed_by_width_set()3456 eth_proto_admin = ops->to_ptys_upper_speed(mlxsw_sp, upper_speed); in mlxsw_sp_port_speed_by_width_set()
301 u32 (*to_ptys_upper_speed)(struct mlxsw_sp *mlxsw_sp, u32 upper_speed);