Home
last modified time | relevance | path

Searched refs:sec4_sg_dma (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/crypto/caam/
H A Dcaampkc.c58 dma_unmap_single(dev, edesc->sec4_sg_dma, edesc->sec4_sg_bytes, in rsa_io_unmap()
350 edesc->sec4_sg_dma = dma_map_single(dev, edesc->sec4_sg, in rsa_edesc_alloc()
352 if (dma_mapping_error(dev, edesc->sec4_sg_dma)) { in rsa_edesc_alloc()
430 pdb->f_dma = edesc->sec4_sg_dma; in set_rsa_pub_pdb()
438 pdb->g_dma = edesc->sec4_sg_dma + in set_rsa_pub_pdb()
475 pdb->g_dma = edesc->sec4_sg_dma; in set_rsa_priv_f1_pdb()
486 pdb->f_dma = edesc->sec4_sg_dma + in set_rsa_priv_f1_pdb()
541 pdb->g_dma = edesc->sec4_sg_dma; in set_rsa_priv_f2_pdb()
551 pdb->f_dma = edesc->sec4_sg_dma + in set_rsa_priv_f2_pdb()
630 pdb->g_dma = edesc->sec4_sg_dma; in set_rsa_priv_f3_pdb()
[all …]
H A Dcaampkc.h138 dma_addr_t sec4_sg_dma; member
H A Dcaamhash.c543 dma_addr_t sec4_sg_dma; member
561 dma_unmap_single(dev, edesc->sec4_sg_dma, in ahash_unmap()
747 edesc->sec4_sg_dma = src_dma; in ahash_edesc_add_src()
908 edesc->sec4_sg_dma = dma_map_single(jrdev, edesc->sec4_sg, in ahash_update_ctx()
911 if (dma_mapping_error(jrdev, edesc->sec4_sg_dma)) { in ahash_update_ctx()
917 append_seq_in_ptr(desc, edesc->sec4_sg_dma, ctx->ctx_len + in ahash_update_ctx()
982 edesc->sec4_sg_dma = dma_map_single(jrdev, edesc->sec4_sg, in ahash_final_ctx()
984 if (dma_mapping_error(jrdev, edesc->sec4_sg_dma)) { in ahash_final_ctx()
1273 edesc->sec4_sg_dma = dma_map_single(jrdev, edesc->sec4_sg, in ahash_update_no_ctx()
1276 if (dma_mapping_error(jrdev, edesc->sec4_sg_dma)) { in ahash_update_no_ctx()
[all …]
H A Dcaamalg.c904 dma_addr_t sec4_sg_dma; member
931 dma_addr_t sec4_sg_dma; member
954 dma_unmap_single(dev, sec4_sg_dma, sec4_sg_bytes, in caam_unmap()
964 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in aead_unmap()
976 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in skcipher_unmap()
1096 src_dma = edesc->sec4_sg_dma; in init_aead_job()
1115 dst_dma = edesc->sec4_sg_dma + in init_aead_job()
1279 src_dma = edesc->sec4_sg_dma; in init_skcipher_job()
1294 dst_dma = edesc->sec4_sg_dma + sec4_sg_index * in init_skcipher_job()
1433 if (dma_mapping_error(jrdev, edesc->sec4_sg_dma)) { in aead_edesc_alloc()
[all …]