Home
last modified time | relevance | path

Searched refs:fqd (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v4.19/include/soc/fsl/
Dqman.h399 static inline u64 qm_fqd_stashing_get64(const struct qm_fqd *fqd) in qm_fqd_stashing_get64() argument
401 return be64_to_cpu(fqd->context_a.opaque) & 0xffffffffffffULL; in qm_fqd_stashing_get64()
404 static inline dma_addr_t qm_fqd_stashing_addr(const struct qm_fqd *fqd) in qm_fqd_stashing_addr() argument
406 return be64_to_cpu(fqd->context_a.opaque) & 0xffffffffffffULL; in qm_fqd_stashing_addr()
409 static inline u64 qm_fqd_context_a_get64(const struct qm_fqd *fqd) in qm_fqd_context_a_get64() argument
411 return qm_fqd_stashing_get64(fqd); in qm_fqd_context_a_get64()
414 static inline void qm_fqd_stashing_set64(struct qm_fqd *fqd, u64 addr) in qm_fqd_stashing_set64() argument
416 fqd->context_a.context_hi = cpu_to_be16(upper_32_bits(addr)); in qm_fqd_stashing_set64()
417 fqd->context_a.context_lo = cpu_to_be32(lower_32_bits(addr)); in qm_fqd_stashing_set64()
420 static inline void qm_fqd_context_a_set64(struct qm_fqd *fqd, u64 addr) in qm_fqd_context_a_set64() argument
[all …]
/Linux-v4.19/drivers/crypto/caam/
Dqi.c193 opts.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_CPCSTASH | QM_FQCTRL_CGE); in create_caam_req_fq()
194 qm_fqd_set_destwq(&opts.fqd, qm_channel_caam, 2); in create_caam_req_fq()
195 opts.fqd.context_b = cpu_to_be32(qman_fq_fqid(rsp_fq)); in create_caam_req_fq()
196 qm_fqd_context_a_set64(&opts.fqd, hwdesc); in create_caam_req_fq()
197 opts.fqd.cgid = qipriv.cgr.cgrid; in create_caam_req_fq()
635 opts.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_CTXASTASHING | in alloc_rsp_fq_cpu()
637 qm_fqd_set_destwq(&opts.fqd, qman_affine_channel(cpu), 3); in alloc_rsp_fq_cpu()
638 opts.fqd.cgid = qipriv.cgr.cgrid; in alloc_rsp_fq_cpu()
639 opts.fqd.context_a.stashing.exclusive = QM_STASHING_EXCL_CTX | in alloc_rsp_fq_cpu()
641 qm_fqd_set_stashing(&opts.fqd, 0, 1, 1); in alloc_rsp_fq_cpu()
/Linux-v4.19/drivers/soc/fsl/qbman/
Dqman.c276 struct qm_fqd fqd; /* the FQD fields are here */ member
1803 mcc->initfq.fqd.context_b = cpu_to_be32(fq_to_tag(fq)); in qman_init_fq()
1812 memset(&mcc->initfq.fqd.context_a, 0, in qman_init_fq()
1813 sizeof(mcc->initfq.fqd.context_a)); in qman_init_fq()
1825 qm_fqd_stashing_set64(&mcc->initfq.fqd, phys_fq); in qman_init_fq()
1837 qm_fqd_set_destwq(&mcc->initfq.fqd, p->config->channel, wq); in qman_init_fq()
1854 if (be16_to_cpu(opts->fqd.fq_ctrl) & QM_FQCTRL_CGE) in qman_init_fq()
1860 fq->cgr_groupid = opts->fqd.cgid; in qman_init_fq()
2032 int qman_query_fq(struct qman_fq *fq, struct qm_fqd *fqd) in qman_query_fq() argument
2049 *fqd = mcr->queryfq.fqd; in qman_query_fq()
[all …]
Dqman_test_stash.c411 opts.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_CTXASTASHING); in init_handler()
412 qm_fqd_set_stashing(&opts.fqd, 0, STASH_DATA_CL, STASH_CTX_CL); in init_handler()
Dqman_priv.h209 int qman_query_fq(struct qman_fq *fq, struct qm_fqd *fqd);
/Linux-v4.19/Documentation/devicetree/bindings/soc/fsl/
Dqman.txt67 nodes (described below). The qman-fqd node must be
87 The QMan FQD memory node must be named "qman-fqd"
94 Definition: PPC platforms: Must include "fsl,qman-fqd"
131 qman_fqd: qman-fqd {
/Linux-v4.19/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c1000 initfq.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_PREFERINCACHE); in dpaa_fq_init()
1006 initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_AVOIDBLOCK); in dpaa_fq_init()
1011 qm_fqd_set_destwq(&initfq.fqd, dpaa_fq->channel, dpaa_fq->wq); in dpaa_fq_init()
1023 initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_CGE); in dpaa_fq_init()
1024 initfq.fqd.cgid = (u8)priv->cgr_data.cgr.cgrid; in dpaa_fq_init()
1035 qm_fqd_set_oac(&initfq.fqd, QM_OAC_CG); in dpaa_fq_init()
1036 qm_fqd_set_oal(&initfq.fqd, in dpaa_fq_init()
1044 qm_fqd_set_taildrop(&initfq.fqd, DPAA_FQ_TD, 1); in dpaa_fq_init()
1045 initfq.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_TDE); in dpaa_fq_init()
1062 qm_fqd_context_a_set64(&initfq.fqd, in dpaa_fq_init()
[all …]
/Linux-v4.19/arch/powerpc/boot/dts/fsl/
Dcyrus_p5020.dts37 qman_fqd: qman-fqd {
Dkmcoge4.dts37 qman_fqd: qman-fqd {
Doca4080.dts61 qman_fqd: qman-fqd {
Dkmcent2.dts34 qman_fqd: qman-fqd {
Dt208xrdb.dtsi51 qman_fqd: qman-fqd {
Dt1023rdb.dts54 qman_fqd: qman-fqd {
Dt1024rdb.dts58 qman_fqd: qman-fqd {
Dt1024qds.dts54 qman_fqd: qman-fqd {
Db4qds.dtsi116 qman_fqd: qman-fqd {
Dt104xrdb.dtsi51 qman_fqd: qman-fqd {
Dt208xqds.dtsi51 qman_fqd: qman-fqd {
Dt104xd4rdb.dtsi45 qman_fqd: qman-fqd {
Dp2041rdb.dts70 qman_fqd: qman-fqd {
Dp1023rdb.dts59 qman_fqd: qman-fqd {
Dt4240rdb.dts92 qman_fqd: qman-fqd {
Dp1023si-post.dtsi41 compatible = "fsl,qman-fqd";
Dp3041ds.dts71 qman_fqd: qman-fqd {
Dp4080ds.dts71 qman_fqd: qman-fqd {

12