Lines Matching refs:flc_dma
83 dma_addr_t flc_dma[NUM_OP]; member
251 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in aead_set_sh_desc()
272 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in aead_set_sh_desc()
606 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in chachapoly_set_sh_desc()
615 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in chachapoly_set_sh_desc()
681 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in gcm_set_sh_desc()
701 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in gcm_set_sh_desc()
775 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in rfc4106_set_sh_desc()
795 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in rfc4106_set_sh_desc()
876 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in rfc4543_set_sh_desc()
896 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in rfc4543_set_sh_desc()
969 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in skcipher_setkey()
979 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in skcipher_setkey()
1096 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in xts_skcipher_setkey()
1105 dma_sync_single_for_device(dev, ctx->flc_dma[DECRYPT], in xts_skcipher_setkey()
1340 caam_req->flc_dma = ctx->flc_dma[ENCRYPT]; in aead_encrypt()
1368 caam_req->flc_dma = ctx->flc_dma[DECRYPT]; in aead_decrypt()
1512 caam_req->flc_dma = ctx->flc_dma[ENCRYPT]; in skcipher_encrypt()
1562 caam_req->flc_dma = ctx->flc_dma[DECRYPT]; in skcipher_decrypt()
1590 offsetof(struct caam_ctx, flc_dma), in caam_cra_init()
1598 ctx->flc_dma[i] = dma_addr + i * sizeof(ctx->flc[i]); in caam_cra_init()
1655 dma_unmap_single_attrs(ctx->dev, ctx->flc_dma[0], in caam_exit_common()
1656 offsetof(struct caam_ctx, flc_dma), ctx->dir, in caam_exit_common()
3067 dma_addr_t flc_dma[HASH_NUM_OP]; member
3152 dma_sync_single_for_device(ctx->dev, ctx->flc_dma[UPDATE], in ahash_set_sh_desc()
3164 dma_sync_single_for_device(ctx->dev, ctx->flc_dma[UPDATE_FIRST], in ahash_set_sh_desc()
3176 dma_sync_single_for_device(ctx->dev, ctx->flc_dma[FINALIZE], in ahash_set_sh_desc()
3188 dma_sync_single_for_device(ctx->dev, ctx->flc_dma[DIGEST], in ahash_set_sh_desc()
3222 dma_addr_t flc_dma; in hash_digest_key() local
3256 flc_dma = dma_map_single(ctx->dev, flc, sizeof(flc->flc) + in hash_digest_key()
3258 if (dma_mapping_error(ctx->dev, flc_dma)) { in hash_digest_key()
3282 req_ctx->flc_dma = flc_dma; in hash_digest_key()
3296 dma_unmap_single(ctx->dev, flc_dma, sizeof(flc->flc) + desc_bytes(desc), in hash_digest_key()
3621 req_ctx->flc_dma = ctx->flc_dma[UPDATE]; in ahash_update_ctx()
3703 req_ctx->flc_dma = ctx->flc_dma[FINALIZE]; in ahash_final_ctx()
3797 req_ctx->flc_dma = ctx->flc_dma[FINALIZE]; in ahash_finup_ctx()
3893 req_ctx->flc_dma = ctx->flc_dma[DIGEST]; in ahash_digest()
3965 req_ctx->flc_dma = ctx->flc_dma[DIGEST]; in ahash_final_no_ctx()
4071 req_ctx->flc_dma = ctx->flc_dma[UPDATE_FIRST]; in ahash_update_no_ctx()
4182 req_ctx->flc_dma = ctx->flc_dma[DIGEST]; in ahash_finup_no_ctx()
4293 req_ctx->flc_dma = ctx->flc_dma[UPDATE_FIRST]; in ahash_update_first()
4599 ctx->flc_dma[i] = dma_addr + i * sizeof(ctx->flc[i]); in caam_hash_cra_init()
4621 dma_unmap_single_attrs(ctx->dev, ctx->flc_dma[0], sizeof(ctx->flc), in caam_hash_cra_exit()
5469 dpaa2_fl_set_flc(&req->fd_flt[1], req->flc_dma); in dpaa2_caam_enqueue()
5482 dpaa2_fd_set_flc(&fd, req->flc_dma); in dpaa2_caam_enqueue()