Lines Matching refs:req_fq
126 ret = qman_enqueue(req->drv_ctx->req_fq, &fd); in caam_qi_enqueue()
178 struct qman_fq *req_fq; in create_caam_req_fq() local
181 req_fq = kzalloc(sizeof(*req_fq), GFP_ATOMIC); in create_caam_req_fq()
182 if (!req_fq) in create_caam_req_fq()
185 req_fq->cb.ern = caam_fq_ern_cb; in create_caam_req_fq()
186 req_fq->cb.fqs = NULL; in create_caam_req_fq()
189 QMAN_FQ_FLAG_TO_DCPORTAL, req_fq); in create_caam_req_fq()
205 ret = qman_init_fq(req_fq, fq_sched_flag, &opts); in create_caam_req_fq()
211 dev_dbg(qidev, "Allocated request FQ %u for CPU %u\n", req_fq->fqid, in create_caam_req_fq()
213 return req_fq; in create_caam_req_fq()
216 qman_destroy_fq(req_fq); in create_caam_req_fq()
218 kfree(req_fq); in create_caam_req_fq()
329 old_fq = drv_ctx->req_fq; in caam_drv_ctx_update()
340 drv_ctx->req_fq = new_fq; in caam_drv_ctx_update()
348 drv_ctx->req_fq = old_fq; in caam_drv_ctx_update()
379 drv_ctx->req_fq = old_fq; in caam_drv_ctx_update()
447 drv_ctx->req_fq = create_caam_req_fq(qidev, drv_ctx->rsp_fq, hwdesc, in caam_drv_ctx_init()
449 if (IS_ERR(drv_ctx->req_fq)) { in caam_drv_ctx_init()
493 if (kill_fq(drv_ctx->qidev, drv_ctx->req_fq)) in caam_drv_ctx_rel()