Searched refs:pbmc_pl (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_buffers.c | 353 static void mlxsw_sp_hdroom_buf_pack(char *pbmc_pl, int index, u16 size, u16 thres, bool lossy) in mlxsw_sp_hdroom_buf_pack() argument 356 mlxsw_reg_pbmc_lossy_buffer_pack(pbmc_pl, index, size); in mlxsw_sp_hdroom_buf_pack() 358 mlxsw_reg_pbmc_lossless_buffer_pack(pbmc_pl, index, size, in mlxsw_sp_hdroom_buf_pack() 454 char pbmc_pl[MLXSW_REG_PBMC_LEN]; in mlxsw_sp_hdroom_configure_buffers() local 463 mlxsw_reg_pbmc_pack(pbmc_pl, mlxsw_sp_port->local_port, 0xffff, 0xffff / 2); in mlxsw_sp_hdroom_configure_buffers() 470 mlxsw_sp_hdroom_buf_pack(pbmc_pl, i, buf->size_cells, buf->thres_cells, buf->lossy); in mlxsw_sp_hdroom_configure_buffers() 473 mlxsw_reg_pbmc_lossy_buffer_pack(pbmc_pl, MLXSW_REG_PBMC_PORT_SHARED_BUF_IDX, 0); in mlxsw_sp_hdroom_configure_buffers() 474 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pbmc), pbmc_pl); in mlxsw_sp_hdroom_configure_buffers()
|