Lines Matching refs:iv_dma
147 int dst_nents, dma_addr_t iv_dma, int ivsize, in caam_unmap() argument
160 if (iv_dma) in caam_unmap()
161 dma_unmap_single(dev, iv_dma, ivsize, iv_dir); in caam_unmap()
362 dma_addr_t qm_sg_dma, iv_dma = 0; in aead_edesc_alloc() local
485 iv_dma = dma_map_single(dev, iv, ivsize, DMA_TO_DEVICE); in aead_edesc_alloc()
486 if (dma_mapping_error(dev, iv_dma)) { in aead_edesc_alloc()
497 edesc->iv_dma = iv_dma; in aead_edesc_alloc()
513 iv_dma, ivsize, DMA_TO_DEVICE, 0, 0); in aead_edesc_alloc()
521 dma_to_qm_sg_one(sg_table + qm_sg_index, iv_dma, ivsize, 0); in aead_edesc_alloc()
535 iv_dma, ivsize, DMA_TO_DEVICE, 0, 0); in aead_edesc_alloc()
1118 dma_addr_t iv_dma; in skcipher_edesc_alloc() local
1202 iv_dma = dma_map_single(dev, iv, ivsize, DMA_BIDIRECTIONAL); in skcipher_edesc_alloc()
1203 if (dma_mapping_error(dev, iv_dma)) { in skcipher_edesc_alloc()
1213 edesc->iv_dma = iv_dma; in skcipher_edesc_alloc()
1216 dma_to_qm_sg_one(sg_table, iv_dma, ivsize, 0); in skcipher_edesc_alloc()
1222 dma_to_qm_sg_one(sg_table + dst_sg_idx + mapped_dst_nents, iv_dma, in skcipher_edesc_alloc()
1230 iv_dma, ivsize, DMA_BIDIRECTIONAL, 0, 0); in skcipher_edesc_alloc()
1262 edesc->iv_dma, ivsize, DMA_TO_DEVICE, edesc->qm_sg_dma, in aead_unmap()
1274 edesc->iv_dma, ivsize, DMA_BIDIRECTIONAL, edesc->qm_sg_dma, in skcipher_unmap()