mlxsw_sp_bytes_cells
u32 mlxsw_sp_bytes_cells(const struct mlxsw_sp *mlxsw_sp, u32 bytes);
min_buff = mlxsw_sp_bytes_cells(mlxsw_sp, pm->min_buff);
max_buff = mlxsw_sp_bytes_cells(mlxsw_sp, max_buff);
min_buff = mlxsw_sp_bytes_cells(mlxsw_sp, mc->min_buff);
u32 pool_size = mlxsw_sp_bytes_cells(mlxsw_sp, size);
*p_max_buff = mlxsw_sp_bytes_cells(mlxsw_sp, threshold);
size = mlxsw_sp_bytes_cells(mlxsw_sp, mlxsw_sp->sb->sb_size);
max_buff = mlxsw_sp_bytes_cells(mlxsw_sp,
return 2 * mlxsw_sp_bytes_cells(mlxsw_sp, mtu);
delay_cells = mlxsw_sp_bytes_cells(mlxsw_sp, hdroom->delay_bytes);
return 2 * delay_cells + mlxsw_sp_bytes_cells(mlxsw_sp, hdroom->mtu);
return mlxsw_sp_bytes_cells(mlxsw_sp, buffsize) + 1;
hdroom.bufs.buf[9].size_cells = mlxsw_sp_bytes_cells(mlxsw_sp, size9);
size_cells = mlxsw_sp_bytes_cells(mlxsw_sp, size);
size_cells = mlxsw_sp_bytes_cells(mlxsw_sp, size);
min_buff = mlxsw_sp_bytes_cells(mlxsw_sp, cm->min_buff);
max_buff = mlxsw_sp_bytes_cells(mlxsw_sp,
hdroom.bufs.buf[i].set_size_cells = mlxsw_sp_bytes_cells(mlxsw_sp,
min = mlxsw_sp_bytes_cells(mlxsw_sp, p->min);
max = mlxsw_sp_bytes_cells(mlxsw_sp, p->max);