/linux-6.1.9/drivers/crypto/caam/ |
D | caamalg_qi2.h | 113 dma_addr_t iv_dma; member 133 dma_addr_t iv_dma; member
|
D | caamalg_qi.c | 800 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 …]
|
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() 1607 dma_addr_t iv_dma = 0; in skcipher_edesc_alloc() local 1707 iv_dma = dma_map_single(jrdev, iv, ivsize, DMA_BIDIRECTIONAL); in skcipher_edesc_alloc() 1708 if (dma_mapping_error(jrdev, iv_dma)) { in skcipher_edesc_alloc() 1716 dma_to_sec4_sg_one(edesc->sec4_sg, iv_dma, ivsize, 0); in skcipher_edesc_alloc() 1728 mapped_dst_nents, iv_dma, ivsize, 0); in skcipher_edesc_alloc() [all …]
|
D | caamalg_qi2.c | 150 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 …]
|
/linux-6.1.9/drivers/crypto/ |
D | talitos.h | 63 dma_addr_t iv_dma; member
|
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-6.1.9/drivers/crypto/chelsio/ |
D | chcr_crypto.h | 184 dma_addr_t iv_dma; member
|
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()
|