Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/soc/fsl/dpio/
Dqbman-portal.c335 p->eqcr.pi_ring_size = 8; in qbman_swp_init()
337 p->eqcr.pi_ring_size = 32; in qbman_swp_init()
349 for (mask_size = p->eqcr.pi_ring_size; mask_size > 0; mask_size >>= 1) in qbman_swp_init()
350 p->eqcr.pi_ci_mask = (p->eqcr.pi_ci_mask << 1) + 1; in qbman_swp_init()
352 p->eqcr.pi = eqcr_pi & p->eqcr.pi_ci_mask; in qbman_swp_init()
353 p->eqcr.pi_vb = eqcr_pi & QB_VALID_BIT; in qbman_swp_init()
354 p->eqcr.ci = qbman_read_register(p, QBMAN_CINH_SWP_EQCR_CI) in qbman_swp_init()
355 & p->eqcr.pi_ci_mask; in qbman_swp_init()
356 p->eqcr.available = p->eqcr.pi_ring_size; in qbman_swp_init()
652 half_mask = (s->eqcr.pi_ci_mask>>1); in qbman_swp_enqueue_multiple_direct()
[all …]
Dqbman-portal.h156 } eqcr; member
/kernel/linux/linux-5.10/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 …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0036_linux_drivers_staging.patch32184 + struct qm_eqcr eqcr;
32205 +static inline void EQCR_INC(struct qm_eqcr *eqcr)
32210 + struct qm_eqcr_entry *partial = eqcr->cursor + 1;
32211 + eqcr->cursor = EQCR_CARRYCLEAR(partial);
32212 + if (partial != eqcr->cursor)
32213 + eqcr->vbit ^= QM_EQCR_VERB_VBIT;
32224 + register struct qm_eqcr *eqcr = &portal->eqcr;
32228 + eqcr->ring = portal->addr.addr_ce + QM_CL_EQCR;
32229 + eqcr->ci = qm_in(EQCR_CI_CINH) & (QM_EQCR_SIZE - 1);
32232 + eqcr->cursor = eqcr->ring + pi;
[all …]
D0033_linux_drivers_soc_scsi_spi_tee_thermal.patch394 half_mask = (s->eqcr.pi_ci_mask>>1);
408 eqcr_pi = s->eqcr.pi;
415 s->eqcr.pi = eqcr_pi & full_mask;
435 half_mask = (s->eqcr.pi_ci_mask>>1);
436 full_mask = s->eqcr.pi_ci_mask;
451 eqcr_pi = s->eqcr.pi;
459 s->eqcr.pi = eqcr_pi & full_mask;