Lines Matching refs:opts

182 	struct qm_mcc_initfq opts;  in create_caam_req_fq()  local
198 memset(&opts, 0, sizeof(opts)); in create_caam_req_fq()
199 opts.we_mask = cpu_to_be16(QM_INITFQ_WE_FQCTRL | QM_INITFQ_WE_DESTWQ | in create_caam_req_fq()
202 opts.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_CPCSTASH | QM_FQCTRL_CGE); in create_caam_req_fq()
203 qm_fqd_set_destwq(&opts.fqd, qm_channel_caam, 2); in create_caam_req_fq()
204 opts.fqd.context_b = cpu_to_be32(qman_fq_fqid(rsp_fq)); in create_caam_req_fq()
205 qm_fqd_context_a_set64(&opts.fqd, hwdesc); in create_caam_req_fq()
206 opts.fqd.cgid = qipriv.cgr.cgrid; in create_caam_req_fq()
208 ret = qman_init_fq(req_fq, fq_sched_flag, &opts); in create_caam_req_fq()
620 struct qm_mcc_initfq opts; in alloc_rsp_fq_cpu() local
638 memset(&opts, 0, sizeof(opts)); in alloc_rsp_fq_cpu()
639 opts.we_mask = cpu_to_be16(QM_INITFQ_WE_FQCTRL | QM_INITFQ_WE_DESTWQ | in alloc_rsp_fq_cpu()
642 opts.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_CTXASTASHING | in alloc_rsp_fq_cpu()
644 qm_fqd_set_destwq(&opts.fqd, qman_affine_channel(cpu), 3); in alloc_rsp_fq_cpu()
645 opts.fqd.cgid = qipriv.cgr.cgrid; in alloc_rsp_fq_cpu()
646 opts.fqd.context_a.stashing.exclusive = QM_STASHING_EXCL_CTX | in alloc_rsp_fq_cpu()
648 qm_fqd_set_stashing(&opts.fqd, 0, 1, 1); in alloc_rsp_fq_cpu()
650 ret = qman_init_fq(fq, QMAN_INITFQ_FLAG_SCHED, &opts); in alloc_rsp_fq_cpu()
666 struct qm_mcc_initcgr opts; in init_cgr() local
677 memset(&opts, 0, sizeof(opts)); in init_cgr()
678 opts.we_mask = cpu_to_be16(QM_CGR_WE_CSCN_EN | QM_CGR_WE_CS_THRES | in init_cgr()
680 opts.cgr.cscn_en = QM_CGR_EN; in init_cgr()
681 opts.cgr.mode = QMAN_CGR_MODE_FRAME; in init_cgr()
682 qm_cgr_cs_thres_set64(&opts.cgr.cs_thres, val, 1); in init_cgr()
684 ret = qman_create_cgr(&qipriv.cgr, QMAN_CGR_FLAG_USE_INIT, &opts); in init_cgr()