Home
last modified time | relevance | path

Searched refs:mlxsw_sp_bytes_cells (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_buffers.c133 u32 mlxsw_sp_bytes_cells(const struct mlxsw_sp *mlxsw_sp, u32 bytes) in mlxsw_sp_bytes_cells() function
198 size = mlxsw_sp_bytes_cells(mlxsw_sp, mlxsw_sp->sb->sb_size); in mlxsw_sp_sb_pr_write()
238 max_buff = mlxsw_sp_bytes_cells(mlxsw_sp, in mlxsw_sp_sb_cm_write()
350 return 2 * mlxsw_sp_bytes_cells(mlxsw_sp, mtu); in mlxsw_sp_hdroom_buf_threshold_get()
367 delay_cells = mlxsw_sp_bytes_cells(mlxsw_sp, hdroom->delay_bytes); in mlxsw_sp_hdroom_buf_delay_get()
377 return 2 * delay_cells + mlxsw_sp_bytes_cells(mlxsw_sp, hdroom->mtu); in mlxsw_sp_hdroom_buf_delay_get()
384 return mlxsw_sp_bytes_cells(mlxsw_sp, buffsize) + 1; in mlxsw_sp_hdroom_int_buf_size_get()
617 hdroom.bufs.buf[9].size_cells = mlxsw_sp_bytes_cells(mlxsw_sp, size9); in mlxsw_sp_port_headroom_init()
767 size_cells = mlxsw_sp_bytes_cells(mlxsw_sp, size); in mlxsw_sp_sb_prs_init()
786 size_cells = mlxsw_sp_bytes_cells(mlxsw_sp, size); in mlxsw_sp_sb_prs_init()
[all …]
Dspectrum_dcb.c629 hdroom.bufs.buf[i].set_size_cells = mlxsw_sp_bytes_cells(mlxsw_sp, in mlxsw_sp_dcbnl_setbuffer()
Dspectrum_qdisc.c739 min = mlxsw_sp_bytes_cells(mlxsw_sp, p->min); in mlxsw_sp_qdisc_red_replace()
740 max = mlxsw_sp_bytes_cells(mlxsw_sp, p->max); in mlxsw_sp_qdisc_red_replace()
Dspectrum.h615 u32 mlxsw_sp_bytes_cells(const struct mlxsw_sp *mlxsw_sp, u32 bytes);