Home
last modified time | relevance | path

Searched refs:h_Bm (Results 1 – 7 of 7) sorted by relevance

/src/sys/contrib/ncsw/inc/Peripherals/
H A Dbm_ext.h163 t_Error BM_Init(t_Handle h_Bm);
176 t_Error BM_Free(t_Handle h_Bm);
201 t_Error BM_ConfigFbprThreshold(t_Handle h_Bm, uint32_t threshold);
242 t_Error BM_DumpRegs(t_Handle h_Bm);
257 t_Error BM_SetException(t_Handle h_Bm, e_BmExceptions exception, bool enable);
269 void BM_ErrorIsr(t_Handle h_Bm);
281 uint32_t BM_GetCounter(t_Handle h_Bm, e_BmCounters counter);
295 t_Error BM_GetRevision(t_Handle h_Bm, t_BmRevisionInfo *p_BmRevisionInfo);
323 t_Handle h_Bm; /**< Bm Handle */ member
424 t_Handle h_Bm; /**< A handle to a BM Module. */ member
/src/sys/contrib/ncsw/Peripherals/BM/
H A Dbm.c52 t_Error BM_ConfigException(t_Handle h_Bm, e_BmExceptions exception, bool enable);
76 static t_Error BmHandleIpcMsgCB(t_Handle h_Bm, in BmHandleIpcMsgCB() argument
82 t_Bm *p_Bm = (t_Bm*)h_Bm; in BmHandleIpcMsgCB()
145 p_IpcReply->error = (uint32_t)BmGetRevision(h_Bm, &revInfo); in BmHandleIpcMsgCB()
213 static t_Error BmSetPool(t_Handle h_Bm, in BmSetPool() argument
220 t_Bm *p_Bm = (t_Bm*)h_Bm; in BmSetPool()
237 t_Error BmSetPoolThresholds(t_Handle h_Bm, uint8_t bpid, const uint32_t *thresholds) in BmSetPoolThresholds() argument
239 t_Bm *p_Bm = (t_Bm*)h_Bm; in BmSetPoolThresholds()
246 return BmSetPool(h_Bm, in BmSetPoolThresholds()
278 t_Error BmUnSetPoolThresholds(t_Handle h_Bm, uint8_t bpid) in BmUnSetPoolThresholds() argument
[all …]
H A Dbm_pool.c175 BmUnSetPoolThresholds(p_BmPool->h_Bm, p_BmPool->bpid); in BmPoolFree()
186 BmBpidPut(p_BmPool->h_Bm, p_BmPool->bpid); in BmPoolFree()
206 SANITY_CHECK_RETURN_VALUE(p_BmPoolParam->h_Bm, E_INVALID_HANDLE, NULL); in BM_POOL_Config()
230 p_BmPool->h_Bm = p_BmPoolParam->h_Bm; in BM_POOL_Config()
238 p_BmPool->h_BmPortal = BmGetPortalHandle(p_BmPool->h_Bm); 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()
292 …if(BmSetPoolThresholds(p_BmPool->h_Bm, p_BmPool->bpid, p_BmPool->p_BmPoolDriverParams->depletionTh… in BM_POOL_Init()
420 SANITY_CHECK_RETURN_VALUE(p_BmPool->h_Bm, E_INVALID_HANDLE, NULL); in BM_POOL_GetBuf()
421 h_BmPortal = BmGetPortalHandle(p_BmPool->h_Bm); in BM_POOL_GetBuf()
[all …]
H A Dbm.h229 t_Handle h_Bm; member
262 t_Handle h_Bm; member
311 static __inline__ void BmSetPortalHandle(t_Handle h_Bm, t_Handle h_Portal, e_DpaaSwPortal portalId) in BmSetPortalHandle() argument
313 ASSERT_COND(!((t_Bm*)h_Bm)->h_Portals[portalId] || !h_Portal); in BmSetPortalHandle()
314 ((t_Bm*)h_Bm)->h_Portals[portalId] = h_Portal; in BmSetPortalHandle()
317 static __inline__ t_Handle BmGetPortalHandle(t_Handle h_Bm) in BmGetPortalHandle() argument
319 t_Bm *p_Bm = (t_Bm*)h_Bm; in BmGetPortalHandle()
446 t_Error BmSetPoolThresholds(t_Handle h_Bm, uint8_t bpid, const uint32_t *thresholds);
447 t_Error BmUnSetPoolThresholds(t_Handle h_Bm, uint8_t bpid);
451 uint32_t BmGetCounter(t_Handle h_Bm, e_BmInterModuleCounters counter, uint8_t bpid);
[all …]
H A Dbm_portal.c461 SANITY_CHECK_RETURN_VALUE(p_BmPortalParam->h_Bm, E_INVALID_HANDLE, NULL); in BM_PORTAL_Config()
495 p_BmPortal->h_Bm = p_BmPortalParam->h_Bm; in BM_PORTAL_Config()
519 BmSetPortalHandle(p_BmPortal->h_Bm, (t_Handle)p_BmPortal, (e_DpaaSwPortal)p_BmPortal->cpu); in BM_PORTAL_Init()
545 BmSetPortalHandle(p_BmPortal->h_Bm, NULL, (e_DpaaSwPortal)p_BmPortal->cpu); in BM_PORTAL_Free()
/src/sys/dev/dpaa/
H A Dbman_portals.c152 bpp.h_Bm = bsc->sc_bh; in bman_portal_setup()
H A Dbman.c213 bpp.h_Bm = sc->sc_bh; in bman_pool_create()