Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/soc/fsl/dpio/
Dqbman-portal.c337 p->eqcr.pi_ring_size = 8; in qbman_swp_init()
339 p->eqcr.pi_ring_size = 32; in qbman_swp_init()
351 for (mask_size = p->eqcr.pi_ring_size; mask_size > 0; mask_size >>= 1) in qbman_swp_init()
352 p->eqcr.pi_ci_mask = (p->eqcr.pi_ci_mask << 1) + 1; in qbman_swp_init()
354 p->eqcr.pi = eqcr_pi & p->eqcr.pi_ci_mask; in qbman_swp_init()
355 p->eqcr.pi_vb = eqcr_pi & QB_VALID_BIT; in qbman_swp_init()
356 p->eqcr.ci = qbman_read_register(p, QBMAN_CINH_SWP_EQCR_CI) in qbman_swp_init()
357 & p->eqcr.pi_ci_mask; in qbman_swp_init()
358 p->eqcr.available = p->eqcr.pi_ring_size; in qbman_swp_init()
657 half_mask = (s->eqcr.pi_ci_mask>>1); in qbman_swp_enqueue_multiple_direct()
[all …]
Dqbman-portal.h158 } eqcr; member
/linux-6.1.9/drivers/soc/fsl/qbman/
Dqman.c356 struct qm_eqcr eqcr; member
411 static inline void eqcr_inc(struct qm_eqcr *eqcr) in eqcr_inc() argument
414 struct qm_eqcr_entry *partial = eqcr->cursor + 1; in eqcr_inc()
416 eqcr->cursor = eqcr_carryclear(partial); in eqcr_inc()
417 if (partial != eqcr->cursor) in eqcr_inc()
418 eqcr->vbit ^= QM_EQCR_VERB_VBIT; in eqcr_inc()
426 struct qm_eqcr *eqcr = &portal->eqcr; in qm_eqcr_init() local
430 eqcr->ring = portal->addr.ce + QM_CL_EQCR; in qm_eqcr_init()
431 eqcr->ci = qm_in(portal, QM_REG_EQCR_CI_CINH) & (QM_EQCR_SIZE - 1); in qm_eqcr_init()
434 eqcr->cursor = eqcr->ring + pi; in qm_eqcr_init()
[all …]