Lines Matching refs:ctx_dma
110 dma_addr_t ctx_dma; member
146 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, in map_seq_out_ptr_ctx()
148 if (dma_mapping_error(jrdev, state->ctx_dma)) { in map_seq_out_ptr_ctx()
150 state->ctx_dma = 0; in map_seq_out_ptr_ctx()
154 append_seq_out_ptr(desc, state->ctx_dma, ctx_len, 0); in map_seq_out_ptr_ctx()
188 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, ctx_len, flag); in ctx_map_to_sec4_sg()
189 if (dma_mapping_error(jrdev, state->ctx_dma)) { in ctx_map_to_sec4_sg()
191 state->ctx_dma = 0; in ctx_map_to_sec4_sg()
195 dma_to_sec4_sg_one(sec4_sg, state->ctx_dma, ctx_len, 0); in ctx_map_to_sec4_sg()
568 if (state->ctx_dma) { in ahash_unmap_ctx()
569 dma_unmap_single(dev, state->ctx_dma, state->ctx_dma_len, flag); in ahash_unmap_ctx()
570 state->ctx_dma = 0; in ahash_unmap_ctx()
912 append_seq_out_ptr(desc, state->ctx_dma, ctx->ctx_len, 0); in ahash_update_ctx()
984 append_seq_out_ptr(desc, state->ctx_dma, digestsize, 0); in ahash_final_ctx()
1058 append_seq_out_ptr(desc, state->ctx_dma, digestsize, 0); in ahash_finup_ctx()
1504 state->ctx_dma = 0; in ahash_init()