Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/soc/fsl/qbman/
Dqman.c173 #define QM_EQCR_SIZE 8 macro
390 #define EQCR_CARRY (uintptr_t)(QM_EQCR_SIZE << EQCR_SHIFT)
405 return ((uintptr_t)e >> EQCR_SHIFT) & (QM_EQCR_SIZE - 1); in eqcr_ptr2idx()
429 eqcr->ci = qm_in(portal, QM_REG_EQCR_CI_CINH) & (QM_EQCR_SIZE - 1); in qm_eqcr_init()
431 pi = qm_in(portal, QM_REG_EQCR_PI_CINH) & (QM_EQCR_SIZE - 1); in qm_eqcr_init()
433 eqcr->vbit = (qm_in(portal, QM_REG_EQCR_PI_CINH) & QM_EQCR_SIZE) ? in qm_eqcr_init()
435 eqcr->available = QM_EQCR_SIZE - 1 - in qm_eqcr_init()
436 dpaa_cyc_diff(QM_EQCR_SIZE, eqcr->ci, pi); in qm_eqcr_init()
458 u8 pi = qm_in(portal, QM_REG_EQCR_PI_CINH) & (QM_EQCR_SIZE - 1); in qm_eqcr_finish()
459 u8 ci = qm_in(portal, QM_REG_EQCR_CI_CINH) & (QM_EQCR_SIZE - 1); in qm_eqcr_finish()
[all …]