Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/bus/dpaa/base/qbman/
H A Dbman.h98 #define BM_RCR_SIZE 8 macro
145 return ((uintptr_t)e >> 6) & (BM_RCR_SIZE - 1); in RCR_PTR2IDX()
174 rcr->ci = bm_in(RCR_CI_CINH) & (BM_RCR_SIZE - 1); in bm_rcr_init()
176 pi = bm_in(RCR_PI_CINH) & (BM_RCR_SIZE - 1); in bm_rcr_init()
179 rcr->available = BM_RCR_SIZE - 1 in bm_rcr_init()
180 - bm_cyc_diff(BM_RCR_SIZE, rcr->ci, pi); in bm_rcr_init()
195 u8 pi = bm_in(RCR_PI_CINH) & (BM_RCR_SIZE - 1); in bm_rcr_finish()
196 u8 ci = bm_in(RCR_CI_CINH) & (BM_RCR_SIZE - 1); in bm_rcr_finish()
329 rcr->ci = bm_in(RCR_CI_CINH) & (BM_RCR_SIZE - 1); in bm_rcr_cci_update()
353 rcr->ci = bm_cl_in(RCR_CI) & (BM_RCR_SIZE - 1); in bm_rcr_cce_update()
[all …]
/f-stack/freebsd/contrib/ncsw/Peripherals/BM/
H A Dbman_low.c158 (void *)((uintptr_t)(p) & (~(uintptr_t)(BM_RCR_SIZE << 6)))
163 return (uint8_t)(((uintptr_t)e >> 6) & (BM_RCR_SIZE - 1)); in RCR_PTR2IDX()
187 rcr->ci = (uint8_t)(bm_in(RCR_CI_CINH) & (BM_RCR_SIZE - 1)); in bm_rcr_init()
188 pi = (uint8_t)(bm_in(RCR_PI_CINH) & (BM_RCR_SIZE - 1)); in bm_rcr_init()
191 rcr->available = (uint8_t)(BM_RCR_SIZE - 1 - cyc_diff(BM_RCR_SIZE, rcr->ci, pi)); in bm_rcr_init()
208 uint8_t pi = (uint8_t)(bm_in(RCR_PI_CINH) & (BM_RCR_SIZE - 1)); in bm_rcr_finish()
318 rcr->ci = (uint8_t)(bm_in(RCR_CI_CINH) & (BM_RCR_SIZE - 1)); in bm_rcr_cci_update()
319 diff = cyc_diff(BM_RCR_SIZE, old_ci, rcr->ci); in bm_rcr_cci_update()
337 rcr->ci = (uint8_t)(bm_cl_in(RCR_CI) & (BM_RCR_SIZE - 1)); in bm_rcr_cce_update()
339 diff = cyc_diff(BM_RCR_SIZE, old_ci, rcr->ci); in bm_rcr_cce_update()
[all …]
H A Dfsl_bman.h62 #define BM_RCR_SIZE 8 macro
H A Dbm_portal.c317 if ((rcr_poll - tr_cons) > BM_RCR_SIZE) in rel_completed()