Lines Matching refs:ctx_dma
120 dma_addr_t ctx_dma; member
173 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, in map_seq_out_ptr_ctx()
175 if (dma_mapping_error(jrdev, state->ctx_dma)) { in map_seq_out_ptr_ctx()
177 state->ctx_dma = 0; in map_seq_out_ptr_ctx()
181 append_seq_out_ptr(desc, state->ctx_dma, ctx_len, 0); in map_seq_out_ptr_ctx()
226 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, ctx_len, flag); in ctx_map_to_sec4_sg()
227 if (dma_mapping_error(jrdev, state->ctx_dma)) { in ctx_map_to_sec4_sg()
229 state->ctx_dma = 0; in ctx_map_to_sec4_sg()
233 dma_to_sec4_sg_one(sec4_sg, state->ctx_dma, ctx_len, 0); in ctx_map_to_sec4_sg()
534 if (state->ctx_dma) { in ahash_unmap_ctx()
535 dma_unmap_single(dev, state->ctx_dma, ctx->ctx_len, flag); in ahash_unmap_ctx()
536 state->ctx_dma = 0; in ahash_unmap_ctx()
835 append_seq_out_ptr(desc, state->ctx_dma, ctx->ctx_len, 0); in ahash_update_ctx()
1504 state->ctx_dma = 0; in ahash_init()