Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/soc/fsl/dpio/
Dqbman-portal.c175 p->dqrr.next_idx = 0; in qbman_swp_init()
176 p->dqrr.valid_bit = QB_VALID_BIT; in qbman_swp_init()
179 p->dqrr.dqrr_size = 4; in qbman_swp_init()
180 p->dqrr.reset_bug = 1; in qbman_swp_init()
182 p->dqrr.dqrr_size = 8; in qbman_swp_init()
183 p->dqrr.reset_bug = 0; in qbman_swp_init()
192 reg = qbman_set_swp_cfg(p->dqrr.dqrr_size, in qbman_swp_init()
710 if (unlikely(s->dqrr.reset_bug)) { in qbman_swp_dqrr_next()
723 if (pi == s->dqrr.next_idx) in qbman_swp_dqrr_next()
734 if (s->dqrr.next_idx == (s->dqrr.dqrr_size - 1)) { in qbman_swp_dqrr_next()
[all …]
Dqbman-portal.h134 } dqrr; member
/Linux-v5.4/drivers/soc/fsl/qbman/
Dqman.c357 struct qm_dqrr dqrr; member
612 struct qm_dqrr *dqrr = &portal->dqrr; in qm_dqrr_init() local
619 dqrr->ring = portal->addr.ce + QM_CL_DQRR; in qm_dqrr_init()
620 dqrr->pi = qm_in(portal, QM_REG_DQRR_PI_CINH) & (QM_DQRR_SIZE - 1); in qm_dqrr_init()
621 dqrr->ci = qm_in(portal, QM_REG_DQRR_CI_CINH) & (QM_DQRR_SIZE - 1); in qm_dqrr_init()
622 dqrr->cursor = dqrr->ring + dqrr->ci; in qm_dqrr_init()
623 dqrr->fill = dpaa_cyc_diff(QM_DQRR_SIZE, dqrr->ci, dqrr->pi); in qm_dqrr_init()
624 dqrr->vbit = (qm_in(portal, QM_REG_DQRR_PI_CINH) & QM_DQRR_SIZE) ? in qm_dqrr_init()
626 dqrr->ithresh = qm_in(portal, QM_REG_DQRR_ITR); in qm_dqrr_init()
628 dqrr->dmode = dmode; in qm_dqrr_init()
[all …]
Dqman_test_stash.c278 const struct qm_dqrr_entry *dqrr) in normal_dqrr() argument
282 if (process_frame_data(handler, &dqrr->fd)) { in normal_dqrr()
286 if (qman_enqueue(&handler->tx, &dqrr->fd)) { in normal_dqrr()
296 const struct qm_dqrr_entry *dqrr) in special_dqrr() argument
300 process_frame_data(handler, &dqrr->fd); in special_dqrr()
302 if (qman_enqueue(&handler->tx, &dqrr->fd)) { in special_dqrr()
400 handler->rx.cb.dqrr = special_dqrr; in init_handler()
402 handler->rx.cb.dqrr = normal_dqrr; in init_handler()
Dqman_test_api.c56 .cb.dqrr = cb_dqrr,
/Linux-v5.4/drivers/crypto/caam/
Dqi.c560 const struct qm_dqrr_entry *dqrr) in caam_rsp_fq_dqrr_cb() argument
572 fd = &dqrr->fd; in caam_rsp_fq_dqrr_cb()
614 fq->cb.dqrr = caam_rsp_fq_dqrr_cb; in alloc_rsp_fq_cpu()
/Linux-v5.4/include/soc/fsl/
Dqman.h691 const struct qm_dqrr_entry *dqrr);
754 qman_cb_dqrr dqrr; /* for dequeued frames */ member
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c2438 .rx_defq = { .cb = { .dqrr = rx_default_dqrr } },
2439 .tx_defq = { .cb = { .dqrr = conf_dflt_dqrr } },
2440 .rx_errq = { .cb = { .dqrr = rx_error_dqrr } },
2441 .tx_errq = { .cb = { .dqrr = conf_error_dqrr } },