Searched refs:sbpm_pl (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_buffers.c | 240 char sbpm_pl[MLXSW_REG_SBPM_LEN]; in mlxsw_sp_sb_pm_write() local 244 mlxsw_reg_sbpm_pack(sbpm_pl, local_port, des->pool, des->dir, false, in mlxsw_sp_sb_pm_write() 246 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sbpm), sbpm_pl); in mlxsw_sp_sb_pm_write() 261 char sbpm_pl[MLXSW_REG_SBPM_LEN]; in mlxsw_sp_sb_pm_occ_clear() local 267 mlxsw_reg_sbpm_pack(sbpm_pl, local_port, des->pool, des->dir, in mlxsw_sp_sb_pm_occ_clear() 269 return mlxsw_reg_trans_query(mlxsw_sp->core, MLXSW_REG(sbpm), sbpm_pl, in mlxsw_sp_sb_pm_occ_clear() 274 char *sbpm_pl, size_t sbpm_pl_len, in mlxsw_sp_sb_pm_occ_query_cb() argument 279 mlxsw_reg_sbpm_unpack(sbpm_pl, &pm->occ.cur, &pm->occ.max); in mlxsw_sp_sb_pm_occ_query_cb() 287 char sbpm_pl[MLXSW_REG_SBPM_LEN]; in mlxsw_sp_sb_pm_occ_query() local 295 mlxsw_reg_sbpm_pack(sbpm_pl, local_port, des->pool, des->dir, in mlxsw_sp_sb_pm_occ_query() [all …]
|