Searched refs:pg_buff (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_buffers.c | 154 static bool mlxsw_sp_sb_cm_exists(u8 pg_buff, enum mlxsw_reg_sbxx_dir dir) in mlxsw_sp_sb_cm_exists() argument 157 return pg_buff < MLXSW_SP_SB_ING_TC_COUNT; in mlxsw_sp_sb_cm_exists() 159 return pg_buff < MLXSW_SP_SB_EG_TC_COUNT; in mlxsw_sp_sb_cm_exists() 163 u16 local_port, u8 pg_buff, in mlxsw_sp_sb_cm_get() argument 168 WARN_ON(!mlxsw_sp_sb_cm_exists(pg_buff, dir)); in mlxsw_sp_sb_cm_get() 170 return &sb_port->ing_cms[pg_buff]; in mlxsw_sp_sb_cm_get() 172 return &sb_port->eg_cms[pg_buff]; in mlxsw_sp_sb_cm_get() 221 u8 pg_buff, u32 min_buff, u32 max_buff, in mlxsw_sp_sb_cm_write() argument 230 mlxsw_reg_sbcm_pack(sbcm_pl, local_port, pg_buff, des->dir, in mlxsw_sp_sb_cm_write() 236 if (mlxsw_sp_sb_cm_exists(pg_buff, des->dir)) { in mlxsw_sp_sb_cm_write() [all …]
|
D | reg.h | 12398 MLXSW_ITEM32(reg, sbcm, pg_buff, 0x00, 8, 6); 12442 static inline void mlxsw_reg_sbcm_pack(char *payload, u16 local_port, u8 pg_buff, in mlxsw_reg_sbcm_pack() argument 12449 mlxsw_reg_sbcm_pg_buff_set(payload, pg_buff); in mlxsw_reg_sbcm_pack()
|