Searched refs:pbmc_pl (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/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 | 191 char pbmc_pl[MLXSW_REG_PBMC_LEN]; in mlxsw_sp_port_pb_init() local 194 mlxsw_reg_pbmc_pack(pbmc_pl, mlxsw_sp_port->local_port, in mlxsw_sp_port_pb_init() 201 mlxsw_reg_pbmc_lossy_buffer_pack(pbmc_pl, i, size); in mlxsw_sp_port_pb_init() 203 mlxsw_reg_pbmc_lossy_buffer_pack(pbmc_pl, in mlxsw_sp_port_pb_init() 205 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pbmc), pbmc_pl); in mlxsw_sp_port_pb_init()
|
D | spectrum.c | 811 static void mlxsw_sp_pg_buf_pack(char *pbmc_pl, int index, u16 size, u16 thres, in mlxsw_sp_pg_buf_pack() argument 815 mlxsw_reg_pbmc_lossy_buffer_pack(pbmc_pl, index, size); in mlxsw_sp_pg_buf_pack() 817 mlxsw_reg_pbmc_lossless_buffer_pack(pbmc_pl, index, size, in mlxsw_sp_pg_buf_pack() 828 char pbmc_pl[MLXSW_REG_PBMC_LEN]; in __mlxsw_sp_port_headroom_set() local 831 mlxsw_reg_pbmc_pack(pbmc_pl, mlxsw_sp_port->local_port, 0, 0); in __mlxsw_sp_port_headroom_set() 832 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pbmc), pbmc_pl); in __mlxsw_sp_port_headroom_set() 857 mlxsw_sp_pg_buf_pack(pbmc_pl, i, thres + delay, thres, lossy); in __mlxsw_sp_port_headroom_set() 860 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pbmc), pbmc_pl); in __mlxsw_sp_port_headroom_set()
|