Lines Matching refs:iv_dma
152 int dst_nents, dma_addr_t iv_dma, int ivsize, in caam_unmap() argument
165 if (iv_dma) in caam_unmap()
166 dma_unmap_single(dev, iv_dma, ivsize, iv_dir); in caam_unmap()
367 dma_addr_t qm_sg_dma, iv_dma = 0; in aead_edesc_alloc() local
490 iv_dma = dma_map_single(dev, iv, ivsize, DMA_TO_DEVICE); in aead_edesc_alloc()
491 if (dma_mapping_error(dev, iv_dma)) { in aead_edesc_alloc()
502 edesc->iv_dma = iv_dma; in aead_edesc_alloc()
518 iv_dma, ivsize, DMA_TO_DEVICE, 0, 0); in aead_edesc_alloc()
526 dma_to_qm_sg_one(sg_table + qm_sg_index, iv_dma, ivsize, 0); in aead_edesc_alloc()
540 iv_dma, ivsize, DMA_TO_DEVICE, 0, 0); in aead_edesc_alloc()
1124 dma_addr_t iv_dma; in skcipher_edesc_alloc() local
1208 iv_dma = dma_map_single(dev, iv, ivsize, DMA_BIDIRECTIONAL); in skcipher_edesc_alloc()
1209 if (dma_mapping_error(dev, iv_dma)) { in skcipher_edesc_alloc()
1219 edesc->iv_dma = iv_dma; in skcipher_edesc_alloc()
1222 dma_to_qm_sg_one(sg_table, iv_dma, ivsize, 0); in skcipher_edesc_alloc()
1228 dma_to_qm_sg_one(sg_table + dst_sg_idx + mapped_dst_nents, iv_dma, in skcipher_edesc_alloc()
1236 iv_dma, ivsize, DMA_BIDIRECTIONAL, 0, 0); in skcipher_edesc_alloc()
1268 edesc->iv_dma, ivsize, DMA_TO_DEVICE, edesc->qm_sg_dma, in aead_unmap()
1280 edesc->iv_dma, ivsize, DMA_BIDIRECTIONAL, edesc->qm_sg_dma, in skcipher_unmap()