/linux/drivers/crypto/caam/ |
A D | caamalg_qi.c | 800 dma_addr_t iv_dma; member 822 dma_addr_t iv_dma; member 882 if (iv_dma) in caam_unmap() 949 dma_addr_t qm_sg_dma, iv_dma = 0; in aead_edesc_alloc() local 1078 if (dma_mapping_error(qidev, iv_dma)) { in aead_edesc_alloc() 1089 edesc->iv_dma = iv_dma; in aead_edesc_alloc() 1100 iv_dma, ivsize, DMA_TO_DEVICE, 0, 0); in aead_edesc_alloc() 1122 iv_dma, ivsize, DMA_TO_DEVICE, 0, 0); in aead_edesc_alloc() 1254 dma_addr_t iv_dma; in skcipher_edesc_alloc() local 1344 if (dma_mapping_error(qidev, iv_dma)) { in skcipher_edesc_alloc() [all …]
|
A D | caamalg_qi2.h | 113 dma_addr_t iv_dma; member 133 dma_addr_t iv_dma; member
|
A D | caamalg.c | 918 dma_addr_t iv_dma; member 929 dma_addr_t iv_dma, int ivsize, dma_addr_t sec4_sg_dma, in caam_unmap() argument 941 if (iv_dma) in caam_unmap() 942 dma_unmap_single(dev, iv_dma, ivsize, DMA_BIDIRECTIONAL); in caam_unmap() 965 edesc->iv_dma, ivsize, in skcipher_unmap() 1604 dma_addr_t iv_dma = 0; in skcipher_edesc_alloc() local 1705 if (dma_mapping_error(jrdev, iv_dma)) { in skcipher_edesc_alloc() 1713 dma_to_sec4_sg_one(edesc->sec4_sg, iv_dma, ivsize, 0); in skcipher_edesc_alloc() 1725 mapped_dst_nents, iv_dma, ivsize, 0); in skcipher_edesc_alloc() 1738 dst_nents, iv_dma, ivsize, 0, 0); in skcipher_edesc_alloc() [all …]
|
A D | caamalg_qi2.c | 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 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() 538 iv_dma, ivsize, DMA_TO_DEVICE, 0, 0); in aead_edesc_alloc() 1121 dma_addr_t iv_dma; in skcipher_edesc_alloc() local 1206 if (dma_mapping_error(dev, iv_dma)) { in skcipher_edesc_alloc() 1216 edesc->iv_dma = iv_dma; in skcipher_edesc_alloc() [all …]
|
/linux/drivers/crypto/ |
A D | talitos.h | 63 dma_addr_t iv_dma; member
|
A D | talitos.c | 1035 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()
|
/linux/drivers/crypto/chelsio/ |
A D | chcr_crypto.h | 184 dma_addr_t iv_dma; member
|
A D | chcr_algo.c | 2599 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()
|