Lines Matching refs:qm_sg_dma
807 dma_addr_t qm_sg_dma; member
829 dma_addr_t qm_sg_dma; member
875 enum dma_data_direction iv_dir, dma_addr_t qm_sg_dma, in caam_unmap() argument
890 dma_unmap_single(dev, qm_sg_dma, qm_sg_bytes, DMA_TO_DEVICE); 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
1122 qm_sg_dma = dma_map_single(qidev, sg_table, qm_sg_bytes, DMA_TO_DEVICE); in aead_edesc_alloc()
1123 if (dma_mapping_error(qidev, qm_sg_dma)) { in aead_edesc_alloc()
1132 edesc->qm_sg_dma = qm_sg_dma; in aead_edesc_alloc()
1140 dma_to_qm_sg_one_last_ext(&fd_sgt[1], qm_sg_dma, in_len, 0); in aead_edesc_alloc()
1147 dma_to_qm_sg_one_ext(&fd_sgt[0], qm_sg_dma + in aead_edesc_alloc()
1154 dma_to_qm_sg_one_ext(&fd_sgt[0], qm_sg_dma + sizeof(*sg_table) * in aead_edesc_alloc()
1385 edesc->qm_sg_dma = dma_map_single(qidev, sg_table, edesc->qm_sg_bytes, in skcipher_edesc_alloc()
1387 if (dma_mapping_error(qidev, edesc->qm_sg_dma)) { in skcipher_edesc_alloc()
1397 dma_to_qm_sg_one_last_ext(&fd_sgt[1], edesc->qm_sg_dma, in skcipher_edesc_alloc()
1401 dma_to_qm_sg_one_ext(&fd_sgt[0], edesc->qm_sg_dma + in skcipher_edesc_alloc()
1405 dma_to_qm_sg_one_ext(&fd_sgt[0], edesc->qm_sg_dma + dst_sg_idx * in skcipher_edesc_alloc()