Lines Matching refs:bpid

63     p_Portal->depletionPoolsTable[p_BmPool->bpid] = p_BmPool;  in depletion_link()
64 bm_isr_bscn_mask(p_Portal->p_BmPortalLow, (uint8_t)p_BmPool->bpid, 1); in depletion_link()
73 p_Portal->depletionPoolsTable[p_BmPool->bpid] = NULL; in depletion_unlink()
74 bm_isr_bscn_mask(p_Portal->p_BmPortalLow, (uint8_t)p_BmPool->bpid, 0); in depletion_unlink()
90 return BmPortalRelease(h_BmPortal, p_BmPool->bpid, bufs, num, flags); in BmPoolRelease()
120 p_BmPool->bpid, in BmPoolRelease()
142 return BmPortalAcquire(h_BmPortal, p_BmPool->bpid, bufs, num); in BmPoolAcquire()
148 p_BmPool->bpid, in BmPoolAcquire()
175 BmUnSetPoolThresholds(p_BmPool->h_Bm, p_BmPool->bpid); in BmPoolFree()
186 BmBpidPut(p_BmPool->h_Bm, p_BmPool->bpid); in BmPoolFree()
255 BM_POOL_ConfigBpid(p_BmPool, p_BmPoolParam->bpid); in BM_POOL_Config()
276 …if((p_BmPool->bpid = (uint8_t)BmBpidGet(p_BmPool->h_Bm, FALSE, (uint32_t)0)) == (uint8_t)ILLEGAL_B… in BM_POOL_Init()
284 if (BmBpidGet(p_BmPool->h_Bm, TRUE, (uint32_t)p_BmPool->bpid) == (uint32_t)ILLEGAL_BASE) in BM_POOL_Init()
287 RETURN_ERROR(CRITICAL, E_INVALID_STATE, ("can't force pool id %d", p_BmPool->bpid)); in BM_POOL_Init()
292 …if(BmSetPoolThresholds(p_BmPool->h_Bm, p_BmPool->bpid, p_BmPool->p_BmPoolDriverParams->depletionTh… in BM_POOL_Init()
295 … RETURN_ERROR(MAJOR, E_INVALID_STATE, ("can't set thresh for pool bpid %d",p_BmPool->bpid)); in BM_POOL_Init()
334 t_Error BM_POOL_ConfigBpid(t_Handle h_BmPool, uint8_t bpid) in BM_POOL_ConfigBpid() argument
340 SANITY_CHECK_RETURN_ERROR(bpid < BM_MAX_NUM_OF_POOLS, E_INVALID_VALUE); in BM_POOL_ConfigBpid()
343 p_BmPool->bpid = bpid; in BM_POOL_ConfigBpid()
435 p_BmPool->bpid, in BM_POOL_GetBuf()
453 bufs[0].bpid = p_BmPool->bpid; in BM_POOL_PutBuf()
458 p_BmPool->bpid, (uint64_t)PTR_TO_UINT(p_Buff), physAddress)); in BM_POOL_PutBuf()
502 RETURN_ERROR(MAJOR, E_INVALID_STATE, ("run-out of buffers for bpid %d",p_BmPool->bpid)); in BM_POOL_FillBufs()
521 return p_BmPool->bpid; in BM_POOL_GetId()
558 return BmGetCounter(p_BmPool->h_Bm, e_BM_IM_COUNTERS_POOL_CONTENT, p_BmPool->bpid); in BM_POOL_GetCounter()
561 BmGetCounter(p_BmPool->h_Bm, e_BM_IM_COUNTERS_POOL_SW_DEPLETION, p_BmPool->bpid)); in BM_POOL_GetCounter()
564 BmGetCounter(p_BmPool->h_Bm, e_BM_IM_COUNTERS_POOL_HW_DEPLETION, p_BmPool->bpid)); in BM_POOL_GetCounter()