Home
last modified time | relevance | path

Searched refs:iv_dma (Results 1 – 8 of 8) sorted by relevance

/drivers/crypto/caam/
Dcaamalg_qi.c800 dma_addr_t iv_dma; member
822 dma_addr_t iv_dma; member
869 int dst_nents, dma_addr_t iv_dma, int ivsize, in caam_unmap() argument
882 if (iv_dma) in caam_unmap()
883 dma_unmap_single(dev, iv_dma, ivsize, iv_dir); in caam_unmap()
896 edesc->iv_dma, ivsize, DMA_TO_DEVICE, edesc->qm_sg_dma, in aead_unmap()
908 edesc->iv_dma, ivsize, DMA_BIDIRECTIONAL, edesc->qm_sg_dma, in skcipher_unmap()
949 dma_addr_t qm_sg_dma, iv_dma = 0; in aead_edesc_alloc() local
1077 iv_dma = dma_map_single(qidev, iv, ivsize, DMA_TO_DEVICE); in aead_edesc_alloc()
1078 if (dma_mapping_error(qidev, iv_dma)) { in aead_edesc_alloc()
[all …]
Dcaamalg_qi2.h113 dma_addr_t iv_dma; member
133 dma_addr_t iv_dma; member
Dcaamalg.c919 dma_addr_t iv_dma; member
930 dma_addr_t iv_dma, int ivsize, dma_addr_t sec4_sg_dma, in caam_unmap() argument
942 if (iv_dma) in caam_unmap()
943 dma_unmap_single(dev, iv_dma, ivsize, DMA_BIDIRECTIONAL); in caam_unmap()
966 edesc->iv_dma, ivsize, in skcipher_unmap()
1608 dma_addr_t iv_dma = 0; in skcipher_edesc_alloc() local
1708 iv_dma = dma_map_single(jrdev, iv, ivsize, DMA_BIDIRECTIONAL); in skcipher_edesc_alloc()
1709 if (dma_mapping_error(jrdev, iv_dma)) { in skcipher_edesc_alloc()
1717 dma_to_sec4_sg_one(edesc->sec4_sg, iv_dma, ivsize, 0); in skcipher_edesc_alloc()
1729 mapped_dst_nents, iv_dma, ivsize, 0); in skcipher_edesc_alloc()
[all …]
Dcaamalg_qi2.c150 int dst_nents, dma_addr_t iv_dma, int ivsize, in caam_unmap() argument
163 if (iv_dma) in caam_unmap()
164 dma_unmap_single(dev, iv_dma, ivsize, iv_dir); in caam_unmap()
365 dma_addr_t qm_sg_dma, iv_dma = 0; in aead_edesc_alloc() local
488 iv_dma = dma_map_single(dev, iv, ivsize, DMA_TO_DEVICE); in aead_edesc_alloc()
489 if (dma_mapping_error(dev, iv_dma)) { in aead_edesc_alloc()
500 edesc->iv_dma = iv_dma; in aead_edesc_alloc()
516 iv_dma, ivsize, DMA_TO_DEVICE, 0, 0); in aead_edesc_alloc()
524 dma_to_qm_sg_one(sg_table + qm_sg_index, iv_dma, ivsize, 0); in aead_edesc_alloc()
538 iv_dma, ivsize, DMA_TO_DEVICE, 0, 0); in aead_edesc_alloc()
[all …]
/drivers/crypto/
Dtalitos.h63 dma_addr_t iv_dma; member
Dtalitos.c1035 dma_unmap_single(dev, edesc->iv_dma, ivsize, DMA_TO_DEVICE); in ipsec_esp_encrypt_done()
1239 to_talitos_ptr(civ_ptr, edesc->iv_dma, ivsize, is_sec1); in ipsec_esp()
1333 dma_addr_t iv_dma = 0; in talitos_edesc_alloc() local
1401 iv_dma = dma_map_single(dev, iv, ivsize, DMA_TO_DEVICE); in talitos_edesc_alloc()
1407 edesc->iv_dma = iv_dma; in talitos_edesc_alloc()
1588 to_talitos_ptr(&desc->ptr[1], edesc->iv_dma, ivsize, is_sec1); in common_nonsnoop()
/drivers/crypto/chelsio/
Dchcr_crypto.h184 dma_addr_t iv_dma; member
Dchcr_algo.c2599 reqctx->iv_dma = dma_map_single(dev, reqctx->iv, (IV + reqctx->b0_len), in chcr_aead_dma_map()
2601 if (dma_mapping_error(dev, reqctx->iv_dma)) in chcr_aead_dma_map()
2604 reqctx->b0_dma = reqctx->iv_dma + IV; in chcr_aead_dma_map()
2632 dma_unmap_single(dev, reqctx->iv_dma, IV, DMA_BIDIRECTIONAL); in chcr_aead_dma_map()
2661 dma_unmap_single(dev, reqctx->iv_dma, (IV + reqctx->b0_len), in chcr_aead_dma_unmap()
2718 dsgl_walk_add_page(&dsgl_walk, IV + reqctx->b0_len, reqctx->iv_dma); in chcr_add_aead_dst_ent()