Lines Matching refs:iv_dma
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()
1089 edesc->iv_dma = iv_dma; in aead_edesc_alloc()
1100 iv_dma, ivsize, DMA_TO_DEVICE, 0, 0); in aead_edesc_alloc()
1108 dma_to_qm_sg_one(sg_table + qm_sg_index, iv_dma, ivsize, 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
1343 iv_dma = dma_map_single(qidev, iv, ivsize, DMA_BIDIRECTIONAL); in skcipher_edesc_alloc()
1344 if (dma_mapping_error(qidev, iv_dma)) { in skcipher_edesc_alloc()
1354 edesc->iv_dma = iv_dma; in skcipher_edesc_alloc()
1360 dma_to_qm_sg_one(sg_table, iv_dma, ivsize, 0); in skcipher_edesc_alloc()
1366 dma_to_qm_sg_one(sg_table + dst_sg_idx + mapped_dst_nents, iv_dma, in skcipher_edesc_alloc()
1374 iv_dma, ivsize, DMA_BIDIRECTIONAL, 0, 0); in skcipher_edesc_alloc()