Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/soc/fsl/qbman/
Dqman.c175 #define QM_EQCR_SIZE 8 macro
392 #define EQCR_CARRY (uintptr_t)(QM_EQCR_SIZE << EQCR_SHIFT)
407 return ((uintptr_t)e >> EQCR_SHIFT) & (QM_EQCR_SIZE - 1); in eqcr_ptr2idx()
431 eqcr->ci = qm_in(portal, QM_REG_EQCR_CI_CINH) & (QM_EQCR_SIZE - 1); in qm_eqcr_init()
433 pi = qm_in(portal, QM_REG_EQCR_PI_CINH) & (QM_EQCR_SIZE - 1); in qm_eqcr_init()
435 eqcr->vbit = (qm_in(portal, QM_REG_EQCR_PI_CINH) & QM_EQCR_SIZE) ? in qm_eqcr_init()
437 eqcr->available = QM_EQCR_SIZE - 1 - in qm_eqcr_init()
438 dpaa_cyc_diff(QM_EQCR_SIZE, eqcr->ci, pi); in qm_eqcr_init()
455 u8 pi = qm_in(portal, QM_REG_EQCR_PI_CINH) & (QM_EQCR_SIZE - 1); in qm_eqcr_finish()
456 u8 ci = qm_in(portal, QM_REG_EQCR_CI_CINH) & (QM_EQCR_SIZE - 1); in qm_eqcr_finish()
[all …]