Searched refs:mlxsw_sp_cells_bytes (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_buffers.c | 128 u32 mlxsw_sp_cells_bytes(const struct mlxsw_sp *mlxsw_sp, u32 cells) in mlxsw_sp_cells_bytes() function 1339 pool_info->size = mlxsw_sp_cells_bytes(mlxsw_sp, pr->size); in mlxsw_sp_sb_pool_get() 1387 return mlxsw_sp_cells_bytes(mlxsw_sp, max_buff); in mlxsw_sp_sb_threshold_out() 1722 *p_cur = mlxsw_sp_cells_bytes(mlxsw_sp, pm->occ.cur); in mlxsw_sp_sb_occ_port_pool_get() 1723 *p_max = mlxsw_sp_cells_bytes(mlxsw_sp, pm->occ.max); in mlxsw_sp_sb_occ_port_pool_get() 1741 *p_cur = mlxsw_sp_cells_bytes(mlxsw_sp, cm->occ.cur); in mlxsw_sp_sb_occ_tc_port_bind_get() 1742 *p_max = mlxsw_sp_cells_bytes(mlxsw_sp, cm->occ.max); in mlxsw_sp_sb_occ_tc_port_bind_get()
|
D | spectrum_dcb.c | 607 u32 bytes = mlxsw_sp_cells_bytes(mlxsw_sp, hdroom->bufs.buf[i].size_cells); in mlxsw_sp_dcbnl_getbuffer() 614 buf->total_size += mlxsw_sp_cells_bytes(mlxsw_sp, hdroom->int_buf.size_cells); in mlxsw_sp_dcbnl_getbuffer()
|
D | spectrum_qdisc.c | 330 stats_ptr->qstats->backlog += mlxsw_sp_cells_bytes(mlxsw_sp, backlog); in mlxsw_sp_qdisc_update_stats() 493 backlog = mlxsw_sp_cells_bytes(mlxsw_sp_port->mlxsw_sp, in mlxsw_sp_qdisc_leaf_unoffload() 1048 backlog = mlxsw_sp_cells_bytes(mlxsw_sp_port->mlxsw_sp, in __mlxsw_sp_qdisc_ets_unoffload()
|
D | spectrum.h | 520 u32 mlxsw_sp_cells_bytes(const struct mlxsw_sp *mlxsw_sp, u32 cells);
|
D | spectrum_ethtool.c | 769 data[data_index + i] = mlxsw_sp_cells_bytes(mlxsw_sp, in __mlxsw_sp_port_get_stats()
|