Searched refs:pbmc_pl (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_dcb.c | 95 char pbmc_pl[MLXSW_REG_PBMC_LEN]; in mlxsw_sp_port_pg_destroy() local 98 mlxsw_reg_pbmc_pack(pbmc_pl, mlxsw_sp_port->local_port, 0, 0); in mlxsw_sp_port_pg_destroy() 99 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pbmc), pbmc_pl); in mlxsw_sp_port_pg_destroy() 107 mlxsw_reg_pbmc_lossy_buffer_pack(pbmc_pl, pg, 0); in mlxsw_sp_port_pg_destroy() 110 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pbmc), pbmc_pl); in mlxsw_sp_port_pg_destroy()
|
| D | spectrum_buffers.c | 304 char pbmc_pl[MLXSW_REG_PBMC_LEN]; in mlxsw_sp_port_pb_init() local 307 mlxsw_reg_pbmc_pack(pbmc_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_pb_init() 314 mlxsw_reg_pbmc_lossy_buffer_pack(pbmc_pl, i, size); in mlxsw_sp_port_pb_init() 316 mlxsw_reg_pbmc_lossy_buffer_pack(pbmc_pl, in mlxsw_sp_port_pb_init() 318 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pbmc), pbmc_pl); in mlxsw_sp_port_pb_init()
|
| D | spectrum.c | 914 static void mlxsw_sp_pg_buf_pack(char *pbmc_pl, int index, u16 size, u16 thres, in mlxsw_sp_pg_buf_pack() argument 918 mlxsw_reg_pbmc_lossy_buffer_pack(pbmc_pl, index, size); in mlxsw_sp_pg_buf_pack() 920 mlxsw_reg_pbmc_lossless_buffer_pack(pbmc_pl, index, size, in mlxsw_sp_pg_buf_pack() 931 char pbmc_pl[MLXSW_REG_PBMC_LEN]; in __mlxsw_sp_port_headroom_set() local 938 mlxsw_reg_pbmc_pack(pbmc_pl, mlxsw_sp_port->local_port, 0, 0); in __mlxsw_sp_port_headroom_set() 939 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pbmc), pbmc_pl); in __mlxsw_sp_port_headroom_set() 972 mlxsw_sp_pg_buf_pack(pbmc_pl, i, total_cells, in __mlxsw_sp_port_headroom_set() 976 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pbmc), pbmc_pl); in __mlxsw_sp_port_headroom_set()
|