Searched refs:QM_MR_SIZE (Results 1 – 1 of 1) sorted by relevance
175 #define QM_MR_SIZE 8 macro738 #define MR_CARRY (uintptr_t)(QM_MR_SIZE << MR_SHIFT)751 return ((uintptr_t)e >> MR_SHIFT) & (QM_MR_SIZE - 1); in mr_ptr2idx()766 mr->pi = qm_in(portal, QM_REG_MR_PI_CINH) & (QM_MR_SIZE - 1); in qm_mr_init()767 mr->ci = qm_in(portal, QM_REG_MR_CI_CINH) & (QM_MR_SIZE - 1); in qm_mr_init()769 mr->fill = dpaa_cyc_diff(QM_MR_SIZE, mr->ci, mr->pi); in qm_mr_init()770 mr->vbit = (qm_in(portal, QM_REG_MR_PI_CINH) & QM_MR_SIZE) in qm_mr_init()817 mr->pi = (mr->pi + 1) & (QM_MR_SIZE - 1); in qm_mr_pvb_update()831 mr->ci = (mr->ci + num) & (QM_MR_SIZE - 1); in qm_mr_cci_consume()