Home
last modified time | relevance | path

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

/drivers/soc/fsl/qbman/
Dbman.c103 #define BM_RCR_SIZE 8 macro
273 #define RCR_CARRY (uintptr_t)(BM_RCR_SIZE << RCR_SHIFT)
289 return ((uintptr_t)e >> RCR_SHIFT) & (BM_RCR_SIZE - 1); in rcr_ptr2idx()
315 return BM_RCR_SIZE - 1 - rcr->available; in bm_rcr_get_fill()
340 rcr->ci = bm_ce_in(portal, BM_CL_RCR_CI_CENA) & (BM_RCR_SIZE - 1); in bm_rcr_cce_update()
342 diff = dpaa_cyc_diff(BM_RCR_SIZE, old_ci, rcr->ci); in bm_rcr_cce_update()
388 rcr->ci = bm_in(portal, BM_REG_RCR_CI_CINH) & (BM_RCR_SIZE - 1); in bm_rcr_init()
389 pi = bm_in(portal, BM_REG_RCR_PI_CINH) & (BM_RCR_SIZE - 1); in bm_rcr_init()
391 rcr->vbit = (bm_in(portal, BM_REG_RCR_PI_CINH) & BM_RCR_SIZE) ? in bm_rcr_init()
393 rcr->available = BM_RCR_SIZE - 1 in bm_rcr_init()
[all …]