Searched refs:fqd (Results 1 - 6 of 6) sorted by relevance

/linux-master/include/soc/fsl/
H A Dqman.h400 static inline u64 qm_fqd_stashing_get64(const struct qm_fqd *fqd) argument
402 return be64_to_cpu(fqd->context_a.opaque) & 0xffffffffffffULL;
405 static inline dma_addr_t qm_fqd_stashing_addr(const struct qm_fqd *fqd) argument
407 return be64_to_cpu(fqd->context_a.opaque) & 0xffffffffffffULL;
410 static inline u64 qm_fqd_context_a_get64(const struct qm_fqd *fqd) argument
412 return qm_fqd_stashing_get64(fqd);
415 static inline void qm_fqd_stashing_set64(struct qm_fqd *fqd, u64 addr) argument
417 fqd->context_a.context_hi = cpu_to_be16(upper_32_bits(addr));
418 fqd->context_a.context_lo = cpu_to_be32(lower_32_bits(addr));
421 static inline void qm_fqd_context_a_set64(struct qm_fqd *fqd, u6 argument
428 qm_fqd_set_taildrop(struct qm_fqd *fqd, u32 val, int roundup) argument
451 qm_fqd_get_taildrop(const struct qm_fqd *fqd) argument
459 qm_fqd_set_stashing(struct qm_fqd *fqd, u8 as, u8 ds, u8 cs) argument
468 qm_fqd_get_stashing(const struct qm_fqd *fqd) argument
473 qm_fqd_set_oac(struct qm_fqd *fqd, u8 val) argument
478 qm_fqd_set_oal(struct qm_fqd *fqd, s8 val) argument
483 qm_fqd_set_destwq(struct qm_fqd *fqd, int ch, int wq) argument
489 qm_fqd_get_chan(const struct qm_fqd *fqd) argument
494 qm_fqd_get_wq(const struct qm_fqd *fqd) argument
608 struct qm_fqd fqd; /* the FQD fields go here */ member in struct:qm_mcc_initfq
[all...]
/linux-master/drivers/crypto/caam/
H A Dqi.c202 opts.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_CPCSTASH | QM_FQCTRL_CGE);
203 qm_fqd_set_destwq(&opts.fqd, qm_channel_caam, 2);
204 opts.fqd.context_b = cpu_to_be32(qman_fq_fqid(rsp_fq));
205 qm_fqd_context_a_set64(&opts.fqd, hwdesc);
206 opts.fqd.cgid = qipriv.cgr.cgrid;
642 opts.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_CTXASTASHING |
644 qm_fqd_set_destwq(&opts.fqd, qman_affine_channel(cpu), 3);
645 opts.fqd.cgid = qipriv.cgr.cgrid;
646 opts.fqd.context_a.stashing.exclusive = QM_STASHING_EXCL_CTX |
648 qm_fqd_set_stashing(&opts.fqd,
[all...]
/linux-master/drivers/soc/fsl/qbman/
H A Dqman.c278 struct qm_fqd fqd; /* the FQD fields are here */ member in struct:qm_mcr_queryfq
1901 mcc->initfq.fqd.context_b = cpu_to_be32(fq_to_tag(fq));
1910 memset(&mcc->initfq.fqd.context_a, 0,
1911 sizeof(mcc->initfq.fqd.context_a));
1923 qm_fqd_stashing_set64(&mcc->initfq.fqd, phys_fq);
1935 qm_fqd_set_destwq(&mcc->initfq.fqd, p->config->channel, wq);
1952 if (be16_to_cpu(opts->fqd.fq_ctrl) & QM_FQCTRL_CGE)
1958 fq->cgr_groupid = opts->fqd.cgid;
2130 int qman_query_fq(struct qman_fq *fq, struct qm_fqd *fqd) argument
2147 *fqd
2968 struct qm_fqd fqd; local
3026 struct qm_fqd fqd; local
[all...]
H A Dqman_test_stash.c413 opts.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_CTXASTASHING);
414 qm_fqd_set_stashing(&opts.fqd, 0, STASH_DATA_CL, STASH_CTX_CL);
H A Dqman_priv.h214 * @fqd: storage for the queried FQD fields
216 int qman_query_fq(struct qman_fq *fq, struct qm_fqd *fqd);
/linux-master/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c1044 initfq.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_PREFERINCACHE);
1050 initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_AVOIDBLOCK);
1055 qm_fqd_set_destwq(&initfq.fqd, dpaa_fq->channel, dpaa_fq->wq);
1067 initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_CGE);
1068 initfq.fqd.cgid = (u8)priv->cgr_data.cgr.cgrid;
1079 qm_fqd_set_oac(&initfq.fqd, QM_OAC_CG);
1080 qm_fqd_set_oal(&initfq.fqd,
1088 qm_fqd_set_taildrop(&initfq.fqd, DPAA_FQ_TD, 1);
1089 initfq.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_TDE);
1106 qm_fqd_context_a_set64(&initfq.fqd,
[all...]

Completed in 299 milliseconds