fqd 199 drivers/crypto/caam/qi.c opts.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_CPCSTASH | QM_FQCTRL_CGE); fqd 200 drivers/crypto/caam/qi.c qm_fqd_set_destwq(&opts.fqd, qm_channel_caam, 2); fqd 201 drivers/crypto/caam/qi.c opts.fqd.context_b = cpu_to_be32(qman_fq_fqid(rsp_fq)); fqd 202 drivers/crypto/caam/qi.c qm_fqd_context_a_set64(&opts.fqd, hwdesc); fqd 203 drivers/crypto/caam/qi.c opts.fqd.cgid = qipriv.cgr.cgrid; fqd 628 drivers/crypto/caam/qi.c opts.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_CTXASTASHING | fqd 630 drivers/crypto/caam/qi.c qm_fqd_set_destwq(&opts.fqd, qman_affine_channel(cpu), 3); fqd 631 drivers/crypto/caam/qi.c opts.fqd.cgid = qipriv.cgr.cgrid; fqd 632 drivers/crypto/caam/qi.c opts.fqd.context_a.stashing.exclusive = QM_STASHING_EXCL_CTX | fqd 634 drivers/crypto/caam/qi.c qm_fqd_set_stashing(&opts.fqd, 0, 1, 1); fqd 1000 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c initfq.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_PREFERINCACHE); fqd 1006 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_AVOIDBLOCK); fqd 1011 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c qm_fqd_set_destwq(&initfq.fqd, dpaa_fq->channel, dpaa_fq->wq); fqd 1023 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_CGE); fqd 1024 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c initfq.fqd.cgid = (u8)priv->cgr_data.cgr.cgrid; fqd 1035 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c qm_fqd_set_oac(&initfq.fqd, QM_OAC_CG); fqd 1036 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c qm_fqd_set_oal(&initfq.fqd, fqd 1044 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c qm_fqd_set_taildrop(&initfq.fqd, DPAA_FQ_TD, 1); fqd 1045 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c initfq.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_TDE); fqd 1062 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c qm_fqd_context_a_set64(&initfq.fqd, fqd 1073 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_CGE); fqd 1074 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c initfq.fqd.cgid = (u8)priv->ingress_cgr.cgrid; fqd 1079 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c qm_fqd_set_oac(&initfq.fqd, QM_OAC_CG); fqd 1080 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c qm_fqd_set_oal(&initfq.fqd, fqd 1089 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_HOLDACTIVE | fqd 1091 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c initfq.fqd.context_a.stashing.exclusive = fqd 1094 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c qm_fqd_set_stashing(&initfq.fqd, 1, 2, fqd 278 drivers/soc/fsl/qbman/qman.c struct qm_fqd fqd; /* the FQD fields are here */ fqd 1896 drivers/soc/fsl/qbman/qman.c mcc->initfq.fqd.context_b = cpu_to_be32(fq_to_tag(fq)); fqd 1905 drivers/soc/fsl/qbman/qman.c memset(&mcc->initfq.fqd.context_a, 0, fqd 1906 drivers/soc/fsl/qbman/qman.c sizeof(mcc->initfq.fqd.context_a)); fqd 1918 drivers/soc/fsl/qbman/qman.c qm_fqd_stashing_set64(&mcc->initfq.fqd, phys_fq); fqd 1930 drivers/soc/fsl/qbman/qman.c qm_fqd_set_destwq(&mcc->initfq.fqd, p->config->channel, wq); fqd 1947 drivers/soc/fsl/qbman/qman.c if (be16_to_cpu(opts->fqd.fq_ctrl) & QM_FQCTRL_CGE) fqd 1953 drivers/soc/fsl/qbman/qman.c fq->cgr_groupid = opts->fqd.cgid; fqd 2125 drivers/soc/fsl/qbman/qman.c int qman_query_fq(struct qman_fq *fq, struct qm_fqd *fqd) fqd 2142 drivers/soc/fsl/qbman/qman.c *fqd = mcr->queryfq.fqd; fqd 2655 drivers/soc/fsl/qbman/qman.c channel = qm_fqd_get_chan(&mcr->queryfq.fqd); fqd 2656 drivers/soc/fsl/qbman/qman.c wq = qm_fqd_get_wq(&mcr->queryfq.fqd); fqd 2910 drivers/soc/fsl/qbman/qman.c struct qm_fqd fqd; fqd 2912 drivers/soc/fsl/qbman/qman.c err = qman_query_fq(&fq, &fqd); fqd 2915 drivers/soc/fsl/qbman/qman.c if (qm_fqd_get_chan(&fqd) == qp) { fqd 2968 drivers/soc/fsl/qbman/qman.c struct qm_fqd fqd; fqd 2970 drivers/soc/fsl/qbman/qman.c err = qman_query_fq(&fq, &fqd); fqd 2973 drivers/soc/fsl/qbman/qman.c if (be16_to_cpu(fqd.fq_ctrl) & QM_FQCTRL_CGE && fqd 2974 drivers/soc/fsl/qbman/qman.c fqd.cgid == cgrid) { fqd 216 drivers/soc/fsl/qbman/qman_priv.h int qman_query_fq(struct qman_fq *fq, struct qm_fqd *fqd); fqd 411 drivers/soc/fsl/qbman/qman_test_stash.c opts.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_CTXASTASHING); fqd 412 drivers/soc/fsl/qbman/qman_test_stash.c qm_fqd_set_stashing(&opts.fqd, 0, STASH_DATA_CL, STASH_CTX_CL); fqd 399 include/soc/fsl/qman.h static inline u64 qm_fqd_stashing_get64(const struct qm_fqd *fqd) fqd 401 include/soc/fsl/qman.h return be64_to_cpu(fqd->context_a.opaque) & 0xffffffffffffULL; fqd 404 include/soc/fsl/qman.h static inline dma_addr_t qm_fqd_stashing_addr(const struct qm_fqd *fqd) fqd 406 include/soc/fsl/qman.h return be64_to_cpu(fqd->context_a.opaque) & 0xffffffffffffULL; fqd 409 include/soc/fsl/qman.h static inline u64 qm_fqd_context_a_get64(const struct qm_fqd *fqd) fqd 411 include/soc/fsl/qman.h return qm_fqd_stashing_get64(fqd); fqd 414 include/soc/fsl/qman.h static inline void qm_fqd_stashing_set64(struct qm_fqd *fqd, u64 addr) fqd 416 include/soc/fsl/qman.h fqd->context_a.context_hi = cpu_to_be16(upper_32_bits(addr)); fqd 417 include/soc/fsl/qman.h fqd->context_a.context_lo = cpu_to_be32(lower_32_bits(addr)); fqd 420 include/soc/fsl/qman.h static inline void qm_fqd_context_a_set64(struct qm_fqd *fqd, u64 addr) fqd 422 include/soc/fsl/qman.h fqd->context_a.hi = cpu_to_be32(upper_32_bits(addr)); fqd 423 include/soc/fsl/qman.h fqd->context_a.lo = cpu_to_be32(lower_32_bits(addr)); fqd 427 include/soc/fsl/qman.h static inline int qm_fqd_set_taildrop(struct qm_fqd *fqd, u32 val, fqd 446 include/soc/fsl/qman.h fqd->td = cpu_to_be16(td); fqd 450 include/soc/fsl/qman.h static inline int qm_fqd_get_taildrop(const struct qm_fqd *fqd) fqd 452 include/soc/fsl/qman.h int td = be16_to_cpu(fqd->td); fqd 458 include/soc/fsl/qman.h static inline void qm_fqd_set_stashing(struct qm_fqd *fqd, u8 as, u8 ds, u8 cs) fqd 460 include/soc/fsl/qman.h struct qm_fqd_stashing *st = &fqd->context_a.stashing; fqd 467 include/soc/fsl/qman.h static inline u8 qm_fqd_get_stashing(const struct qm_fqd *fqd) fqd 469 include/soc/fsl/qman.h return fqd->context_a.stashing.cl; fqd 472 include/soc/fsl/qman.h static inline void qm_fqd_set_oac(struct qm_fqd *fqd, u8 val) fqd 474 include/soc/fsl/qman.h fqd->oac_init.oac = val << QM_FQD_OAC_OFF; fqd 477 include/soc/fsl/qman.h static inline void qm_fqd_set_oal(struct qm_fqd *fqd, s8 val) fqd 479 include/soc/fsl/qman.h fqd->oac_init.oal = val; fqd 482 include/soc/fsl/qman.h static inline void qm_fqd_set_destwq(struct qm_fqd *fqd, int ch, int wq) fqd 484 include/soc/fsl/qman.h fqd->dest_wq = cpu_to_be16((ch << QM_FQD_CHAN_OFF) | fqd 488 include/soc/fsl/qman.h static inline int qm_fqd_get_chan(const struct qm_fqd *fqd) fqd 490 include/soc/fsl/qman.h return be16_to_cpu(fqd->dest_wq) >> QM_FQD_CHAN_OFF; fqd 493 include/soc/fsl/qman.h static inline int qm_fqd_get_wq(const struct qm_fqd *fqd) fqd 495 include/soc/fsl/qman.h return be16_to_cpu(fqd->dest_wq) & QM_FQD_WQ_MASK; fqd 607 include/soc/fsl/qman.h struct qm_fqd fqd; /* the FQD fields go here */