Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/soc/fsl/qbman/
Dqman.c177 #define QM_MR_SIZE 8 macro
741 #define MR_CARRY (uintptr_t)(QM_MR_SIZE << MR_SHIFT)
754 return ((uintptr_t)e >> MR_SHIFT) & (QM_MR_SIZE - 1); in mr_ptr2idx()
769 mr->pi = qm_in(portal, QM_REG_MR_PI_CINH) & (QM_MR_SIZE - 1); in qm_mr_init()
770 mr->ci = qm_in(portal, QM_REG_MR_CI_CINH) & (QM_MR_SIZE - 1); in qm_mr_init()
772 mr->fill = dpaa_cyc_diff(QM_MR_SIZE, mr->ci, mr->pi); in qm_mr_init()
773 mr->vbit = (qm_in(portal, QM_REG_MR_PI_CINH) & QM_MR_SIZE) in qm_mr_init()
820 mr->pi = (mr->pi + 1) & (QM_MR_SIZE - 1); in qm_mr_pvb_update()
834 mr->ci = (mr->ci + num) & (QM_MR_SIZE - 1); in qm_mr_cci_consume()