Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/soc/fsl/qbman/
Dqman.c174 #define QM_DQRR_SIZE 16 macro
576 #define DQRR_CARRY (uintptr_t)(QM_DQRR_SIZE << DQRR_SHIFT)
590 return ((uintptr_t)e >> DQRR_SHIFT) & (QM_DQRR_SIZE - 1); in dqrr_ptr2idx()
601 ((mf & (QM_DQRR_SIZE - 1)) << 20)); in qm_dqrr_set_maxfill()
618 dqrr->pi = qm_in(portal, QM_REG_DQRR_PI_CINH) & (QM_DQRR_SIZE - 1); in qm_dqrr_init()
619 dqrr->ci = qm_in(portal, QM_REG_DQRR_CI_CINH) & (QM_DQRR_SIZE - 1); in qm_dqrr_init()
621 dqrr->fill = dpaa_cyc_diff(QM_DQRR_SIZE, dqrr->ci, dqrr->pi); in qm_dqrr_init()
622 dqrr->vbit = (qm_in(portal, QM_REG_DQRR_PI_CINH) & QM_DQRR_SIZE) ? in qm_dqrr_init()
631 for (cfg = 0; cfg < QM_DQRR_SIZE; cfg++) in qm_dqrr_init()
634 ((max_fill & (QM_DQRR_SIZE - 1)) << 20) | /* DQRR_MF */ in qm_dqrr_init()
[all …]