Home
last modified time | relevance | path

Searched refs:sbpm (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dhash_utils.c1377 u32 **sbpm, *sbpp; in subpage_protection() local
1386 sbpm = spt->low_prot; in subpage_protection()
1388 sbpm = spt->protptrs[ea >> SBP_L3_SHIFT]; in subpage_protection()
1389 if (!sbpm) in subpage_protection()
1392 sbpp = sbpm[(ea >> SBP_L2_SHIFT) & (SBP_L2_COUNT - 1)]; in subpage_protection()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dreg.h12638 MLXSW_REG_DEFINE(sbpm, MLXSW_REG_SBPM_ID, MLXSW_REG_SBPM_LEN);
12646 MLXSW_ITEM32_LP(reg, sbpm, 0x00, 16, 0x00, 12);
12652 MLXSW_ITEM32(reg, sbpm, pool, 0x00, 8, 4);
12658 MLXSW_ITEM32(reg, sbpm, dir, 0x00, 0, 2);
12664 MLXSW_ITEM32(reg, sbpm, buff_occupancy, 0x10, 0, 24);
12672 MLXSW_ITEM32(reg, sbpm, clr, 0x14, 31, 1);
12679 MLXSW_ITEM32(reg, sbpm, max_buff_occupancy, 0x14, 0, 24);
12685 MLXSW_ITEM32(reg, sbpm, min_buff, 0x18, 0, 24);
12698 MLXSW_ITEM32(reg, sbpm, max_buff, 0x1C, 0, 24);
12704 MLXSW_REG_ZERO(sbpm, payload); in mlxsw_reg_sbpm_pack()
[all …]
H A Dspectrum_buffers.c261 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sbpm), sbpm_pl); in mlxsw_sp_sb_pm_write()
284 return mlxsw_reg_trans_query(mlxsw_sp->core, MLXSW_REG(sbpm), sbpm_pl, in mlxsw_sp_sb_pm_occ_clear()
312 return mlxsw_reg_trans_query(mlxsw_sp->core, MLXSW_REG(sbpm), sbpm_pl, in mlxsw_sp_sb_pm_occ_query()