Lines Matching refs:req_ctx

355 	struct caam_request *req_ctx = aead_request_ctx_dma(req);
356 struct dpaa2_fl_entry *in_fle = &req_ctx->fd_flt[1];
357 struct dpaa2_fl_entry *out_fle = &req_ctx->fd_flt[0];
552 memset(&req_ctx->fd_flt, 0, sizeof(req_ctx->fd_flt));
1115 struct caam_request *req_ctx = skcipher_request_ctx_dma(req);
1116 struct dpaa2_fl_entry *in_fle = &req_ctx->fd_flt[1];
1117 struct dpaa2_fl_entry *out_fle = &req_ctx->fd_flt[0];
1241 memset(&req_ctx->fd_flt, 0, sizeof(req_ctx->fd_flt));
1289 struct caam_request *req_ctx = to_caam_req(areq);
1290 struct aead_edesc *edesc = req_ctx->edesc;
1310 struct caam_request *req_ctx = to_caam_req(areq);
1311 struct aead_edesc *edesc = req_ctx->edesc;
1396 struct caam_request *req_ctx = to_caam_req(areq);
1399 struct skcipher_edesc *edesc = req_ctx->edesc;
1434 struct caam_request *req_ctx = to_caam_req(areq);
1437 struct skcipher_edesc *edesc = req_ctx->edesc;
3217 struct caam_request *req_ctx;
3226 req_ctx = kzalloc(sizeof(*req_ctx), GFP_KERNEL);
3227 if (!req_ctx)
3230 in_fle = &req_ctx->fd_flt[1];
3231 out_fle = &req_ctx->fd_flt[0];
3281 req_ctx->flc = flc;
3282 req_ctx->flc_dma = flc_dma;
3283 req_ctx->cbk = split_key_sh_done;
3284 req_ctx->ctx = &result;
3286 ret = dpaa2_caam_enqueue(ctx->dev, req_ctx);
3303 kfree(req_ctx);
3534 struct caam_request *req_ctx = &state->caam_req;
3535 struct dpaa2_fl_entry *in_fle = &req_ctx->fd_flt[1];
3536 struct dpaa2_fl_entry *out_fle = &req_ctx->fd_flt[0];
3611 memset(&req_ctx->fd_flt, 0, sizeof(req_ctx->fd_flt));
3620 req_ctx->flc = &ctx->flc[UPDATE];
3621 req_ctx->flc_dma = ctx->flc_dma[UPDATE];
3622 req_ctx->cbk = ahash_done_bi;
3623 req_ctx->ctx = &req->base;
3624 req_ctx->edesc = edesc;
3626 ret = dpaa2_caam_enqueue(ctx->dev, req_ctx);
3653 struct caam_request *req_ctx = &state->caam_req;
3654 struct dpaa2_fl_entry *in_fle = &req_ctx->fd_flt[1];
3655 struct dpaa2_fl_entry *out_fle = &req_ctx->fd_flt[0];
3693 memset(&req_ctx->fd_flt, 0, sizeof(req_ctx->fd_flt));
3702 req_ctx->flc = &ctx->flc[FINALIZE];
3703 req_ctx->flc_dma = ctx->flc_dma[FINALIZE];
3704 req_ctx->cbk = ahash_done_ctx_src;
3705 req_ctx->ctx = &req->base;
3706 req_ctx->edesc = edesc;
3708 ret = dpaa2_caam_enqueue(ctx->dev, req_ctx);
3724 struct caam_request *req_ctx = &state->caam_req;
3725 struct dpaa2_fl_entry *in_fle = &req_ctx->fd_flt[1];
3726 struct dpaa2_fl_entry *out_fle = &req_ctx->fd_flt[0];
3787 memset(&req_ctx->fd_flt, 0, sizeof(req_ctx->fd_flt));
3796 req_ctx->flc = &ctx->flc[FINALIZE];
3797 req_ctx->flc_dma = ctx->flc_dma[FINALIZE];
3798 req_ctx->cbk = ahash_done_ctx_src;
3799 req_ctx->ctx = &req->base;
3800 req_ctx->edesc = edesc;
3802 ret = dpaa2_caam_enqueue(ctx->dev, req_ctx);
3818 struct caam_request *req_ctx = &state->caam_req;
3819 struct dpaa2_fl_entry *in_fle = &req_ctx->fd_flt[1];
3820 struct dpaa2_fl_entry *out_fle = &req_ctx->fd_flt[0];
3855 memset(&req_ctx->fd_flt, 0, sizeof(req_ctx->fd_flt));
3892 req_ctx->flc = &ctx->flc[DIGEST];
3893 req_ctx->flc_dma = ctx->flc_dma[DIGEST];
3894 req_ctx->cbk = ahash_done;
3895 req_ctx->ctx = &req->base;
3896 req_ctx->edesc = edesc;
3897 ret = dpaa2_caam_enqueue(ctx->dev, req_ctx);
3913 struct caam_request *req_ctx = &state->caam_req;
3914 struct dpaa2_fl_entry *in_fle = &req_ctx->fd_flt[1];
3915 struct dpaa2_fl_entry *out_fle = &req_ctx->fd_flt[0];
3947 memset(&req_ctx->fd_flt, 0, sizeof(req_ctx->fd_flt));
3964 req_ctx->flc = &ctx->flc[DIGEST];
3965 req_ctx->flc_dma = ctx->flc_dma[DIGEST];
3966 req_ctx->cbk = ahash_done;
3967 req_ctx->ctx = &req->base;
3968 req_ctx->edesc = edesc;
3970 ret = dpaa2_caam_enqueue(ctx->dev, req_ctx);
3986 struct caam_request *req_ctx = &state->caam_req;
3987 struct dpaa2_fl_entry *in_fle = &req_ctx->fd_flt[1];
3988 struct dpaa2_fl_entry *out_fle = &req_ctx->fd_flt[0];
4061 memset(&req_ctx->fd_flt, 0, sizeof(req_ctx->fd_flt));
4070 req_ctx->flc = &ctx->flc[UPDATE_FIRST];
4071 req_ctx->flc_dma = ctx->flc_dma[UPDATE_FIRST];
4072 req_ctx->cbk = ahash_done_ctx_dst;
4073 req_ctx->ctx = &req->base;
4074 req_ctx->edesc = edesc;
4076 ret = dpaa2_caam_enqueue(ctx->dev, req_ctx);
4107 struct caam_request *req_ctx = &state->caam_req;
4108 struct dpaa2_fl_entry *in_fle = &req_ctx->fd_flt[1];
4109 struct dpaa2_fl_entry *out_fle = &req_ctx->fd_flt[0];
4172 memset(&req_ctx->fd_flt, 0, sizeof(req_ctx->fd_flt));
4181 req_ctx->flc = &ctx->flc[DIGEST];
4182 req_ctx->flc_dma = ctx->flc_dma[DIGEST];
4183 req_ctx->cbk = ahash_done;
4184 req_ctx->ctx = &req->base;
4185 req_ctx->edesc = edesc;
4186 ret = dpaa2_caam_enqueue(ctx->dev, req_ctx);
4203 struct caam_request *req_ctx = &state->caam_req;
4204 struct dpaa2_fl_entry *in_fle = &req_ctx->fd_flt[1];
4205 struct dpaa2_fl_entry *out_fle = &req_ctx->fd_flt[0];
4252 memset(&req_ctx->fd_flt, 0, sizeof(req_ctx->fd_flt));
4292 req_ctx->flc = &ctx->flc[UPDATE_FIRST];
4293 req_ctx->flc_dma = ctx->flc_dma[UPDATE_FIRST];
4294 req_ctx->cbk = ahash_done_ctx_dst;
4295 req_ctx->ctx = &req->base;
4296 req_ctx->edesc = edesc;
4298 ret = dpaa2_caam_enqueue(ctx->dev, req_ctx);