Lines Matching refs:req_fq
118 ret = qman_enqueue(req->drv_ctx->req_fq, &fd); in caam_qi_enqueue()
174 struct qman_fq *req_fq; in create_caam_req_fq() local
177 req_fq = kzalloc(sizeof(*req_fq), GFP_ATOMIC); in create_caam_req_fq()
178 if (!req_fq) in create_caam_req_fq()
181 req_fq->cb.ern = caam_fq_ern_cb; in create_caam_req_fq()
182 req_fq->cb.fqs = NULL; in create_caam_req_fq()
185 QMAN_FQ_FLAG_TO_DCPORTAL, req_fq); in create_caam_req_fq()
201 ret = qman_init_fq(req_fq, fq_sched_flag, &opts); in create_caam_req_fq()
207 dev_dbg(qidev, "Allocated request FQ %u for CPU %u\n", req_fq->fqid, in create_caam_req_fq()
209 return req_fq; in create_caam_req_fq()
212 qman_destroy_fq(req_fq); in create_caam_req_fq()
214 kfree(req_fq); in create_caam_req_fq()
333 old_fq = drv_ctx->req_fq; in caam_drv_ctx_update()
344 drv_ctx->req_fq = new_fq; in caam_drv_ctx_update()
352 drv_ctx->req_fq = old_fq; in caam_drv_ctx_update()
383 drv_ctx->req_fq = old_fq; in caam_drv_ctx_update()
451 drv_ctx->req_fq = create_caam_req_fq(qidev, drv_ctx->rsp_fq, hwdesc, in caam_drv_ctx_init()
453 if (IS_ERR(drv_ctx->req_fq)) { in caam_drv_ctx_init()
500 if (kill_fq(drv_ctx->qidev, drv_ctx->req_fq)) in caam_drv_ctx_rel()