Lines Matching refs:iv_dma
805 dma_addr_t iv_dma; member
827 dma_addr_t iv_dma; member
874 int dst_nents, dma_addr_t iv_dma, int ivsize, in caam_unmap() argument
887 if (iv_dma) in caam_unmap()
888 dma_unmap_single(dev, iv_dma, ivsize, iv_dir); in caam_unmap()
901 edesc->iv_dma, ivsize, DMA_TO_DEVICE, edesc->qm_sg_dma, in aead_unmap()
913 edesc->iv_dma, ivsize, DMA_BIDIRECTIONAL, edesc->qm_sg_dma, in skcipher_unmap()
954 dma_addr_t qm_sg_dma, iv_dma = 0; in aead_edesc_alloc() local
1082 iv_dma = dma_map_single(qidev, iv, ivsize, DMA_TO_DEVICE); in aead_edesc_alloc()
1083 if (dma_mapping_error(qidev, iv_dma)) { in aead_edesc_alloc()
1094 edesc->iv_dma = iv_dma; in aead_edesc_alloc()
1105 iv_dma, ivsize, DMA_TO_DEVICE, 0, 0); in aead_edesc_alloc()
1113 dma_to_qm_sg_one(sg_table + qm_sg_index, iv_dma, ivsize, 0); in aead_edesc_alloc()
1127 iv_dma, ivsize, DMA_TO_DEVICE, 0, 0); in aead_edesc_alloc()
1264 dma_addr_t iv_dma; in skcipher_edesc_alloc() local
1365 iv_dma = dma_map_single(qidev, iv, ivsize, DMA_BIDIRECTIONAL); in skcipher_edesc_alloc()
1366 if (dma_mapping_error(qidev, iv_dma)) { in skcipher_edesc_alloc()
1374 edesc->iv_dma = iv_dma; in skcipher_edesc_alloc()
1376 dma_to_qm_sg_one(sg_table, iv_dma, ivsize, 0); in skcipher_edesc_alloc()
1382 dma_to_qm_sg_one(sg_table + dst_sg_idx + mapped_dst_nents, iv_dma, in skcipher_edesc_alloc()
1390 iv_dma, ivsize, DMA_BIDIRECTIONAL, 0, 0); in skcipher_edesc_alloc()