mlxsw_sp_bytes_cells 878 drivers/net/ethernet/mellanox/mlxsw/spectrum.c return 2 * mlxsw_sp_bytes_cells(mlxsw_sp, mtu); mlxsw_sp_bytes_cells 886 drivers/net/ethernet/mellanox/mlxsw/spectrum.c delay = mlxsw_sp_bytes_cells(mlxsw_sp, DIV_ROUND_UP(delay, mlxsw_sp_bytes_cells 888 drivers/net/ethernet/mellanox/mlxsw/spectrum.c return MLXSW_SP_CELL_FACTOR * delay + mlxsw_sp_bytes_cells(mlxsw_sp, mlxsw_sp_bytes_cells 903 drivers/net/ethernet/mellanox/mlxsw/spectrum.c return mlxsw_sp_bytes_cells(mlxsw_sp, MLXSW_SP_PAUSE_DELAY); mlxsw_sp_bytes_cells 428 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u32 mlxsw_sp_bytes_cells(const struct mlxsw_sp *mlxsw_sp, u32 bytes); mlxsw_sp_bytes_cells 188 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c size = mlxsw_sp_bytes_cells(mlxsw_sp, mlxsw_sp->sb->sb_size); mlxsw_sp_bytes_cells 213 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c max_buff = mlxsw_sp_bytes_cells(mlxsw_sp, mlxsw_sp_bytes_cells 310 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c u16 size = mlxsw_sp_bytes_cells(mlxsw_sp, pbs[i]); mlxsw_sp_bytes_cells 487 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c size_cells = mlxsw_sp_bytes_cells(mlxsw_sp, size); mlxsw_sp_bytes_cells 658 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c min_buff = mlxsw_sp_bytes_cells(mlxsw_sp, cm->min_buff); mlxsw_sp_bytes_cells 667 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c max_buff = mlxsw_sp_bytes_cells(mlxsw_sp, mlxsw_sp_bytes_cells 772 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c min_buff = mlxsw_sp_bytes_cells(mlxsw_sp, pm->min_buff); mlxsw_sp_bytes_cells 775 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c max_buff = mlxsw_sp_bytes_cells(mlxsw_sp, max_buff); mlxsw_sp_bytes_cells 839 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c min_buff = mlxsw_sp_bytes_cells(mlxsw_sp, mc->min_buff); mlxsw_sp_bytes_cells 1009 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c u32 pool_size = mlxsw_sp_bytes_cells(mlxsw_sp, size); mlxsw_sp_bytes_cells 1064 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c *p_max_buff = mlxsw_sp_bytes_cells(mlxsw_sp, threshold); mlxsw_sp_bytes_cells 351 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c min = mlxsw_sp_bytes_cells(mlxsw_sp, p->min); mlxsw_sp_bytes_cells 352 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c max = mlxsw_sp_bytes_cells(mlxsw_sp, p->max); mlxsw_sp_bytes_cells 733 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c return mlxsw_sp_bytes_cells(mlxsw_sp, mtu * 5 / 2) + 1;