Lines Matching defs:opts
182 struct qm_mcc_initfq opts;
198 memset(&opts, 0, sizeof(opts));
199 opts.we_mask = cpu_to_be16(QM_INITFQ_WE_FQCTRL | QM_INITFQ_WE_DESTWQ |
202 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;
208 ret = qman_init_fq(req_fq, fq_sched_flag, &opts);
620 struct qm_mcc_initfq opts;
638 memset(&opts, 0, sizeof(opts));
639 opts.we_mask = cpu_to_be16(QM_INITFQ_WE_FQCTRL | QM_INITFQ_WE_DESTWQ |
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, 0, 1, 1);
650 ret = qman_init_fq(fq, QMAN_INITFQ_FLAG_SCHED, &opts);
666 struct qm_mcc_initcgr opts;
677 memset(&opts, 0, sizeof(opts));
678 opts.we_mask = cpu_to_be16(QM_CGR_WE_CSCN_EN | QM_CGR_WE_CS_THRES |
680 opts.cgr.cscn_en = QM_CGR_EN;
681 opts.cgr.mode = QMAN_CGR_MODE_FRAME;
682 qm_cgr_cs_thres_set64(&opts.cgr.cs_thres, val, 1);
684 ret = qman_create_cgr(&qipriv.cgr, QMAN_CGR_FLAG_USE_INIT, &opts);