Lines Matching refs:req_fq
125 ret = qman_enqueue(req->drv_ctx->req_fq, &fd); in caam_qi_enqueue()
181 struct qman_fq *req_fq; in create_caam_req_fq() local
184 req_fq = kzalloc(sizeof(*req_fq), GFP_ATOMIC); in create_caam_req_fq()
185 if (!req_fq) in create_caam_req_fq()
188 req_fq->cb.ern = caam_fq_ern_cb; in create_caam_req_fq()
189 req_fq->cb.fqs = NULL; in create_caam_req_fq()
192 QMAN_FQ_FLAG_TO_DCPORTAL, req_fq); in create_caam_req_fq()
208 ret = qman_init_fq(req_fq, fq_sched_flag, &opts); in create_caam_req_fq()
214 dev_dbg(qidev, "Allocated request FQ %u for CPU %u\n", req_fq->fqid, in create_caam_req_fq()
216 return req_fq; in create_caam_req_fq()
219 qman_destroy_fq(req_fq); in create_caam_req_fq()
221 kfree(req_fq); in create_caam_req_fq()
340 old_fq = drv_ctx->req_fq; in caam_drv_ctx_update()
351 drv_ctx->req_fq = new_fq; in caam_drv_ctx_update()
359 drv_ctx->req_fq = old_fq; in caam_drv_ctx_update()
390 drv_ctx->req_fq = old_fq; in caam_drv_ctx_update()
458 drv_ctx->req_fq = create_caam_req_fq(qidev, drv_ctx->rsp_fq, hwdesc, in caam_drv_ctx_init()
460 if (IS_ERR(drv_ctx->req_fq)) { in caam_drv_ctx_init()
507 if (kill_fq(drv_ctx->qidev, drv_ctx->req_fq)) in caam_drv_ctx_rel()