Lines Matching refs:qm_sg_bytes
735 int qm_sg_bytes; member
757 int qm_sg_bytes; member
807 int qm_sg_bytes) in caam_unmap() argument
821 if (qm_sg_bytes) in caam_unmap()
822 dma_unmap_single(dev, qm_sg_dma, qm_sg_bytes, DMA_TO_DEVICE); in caam_unmap()
834 edesc->qm_sg_dma, edesc->qm_sg_bytes); in aead_unmap()
847 edesc->qm_sg_dma, edesc->qm_sg_bytes); in ablkcipher_unmap()
901 int qm_sg_index = 0, qm_sg_ents = 0, qm_sg_bytes; in aead_edesc_alloc() local
991 qm_sg_bytes = qm_sg_ents * sizeof(*sg_table); in aead_edesc_alloc()
992 if (unlikely(offsetof(struct aead_edesc, sgt) + qm_sg_bytes + ivsize > in aead_edesc_alloc()
1049 qm_sg_dma = dma_map_single(qidev, sg_table, qm_sg_bytes, DMA_TO_DEVICE); in aead_edesc_alloc()
1060 edesc->qm_sg_bytes = qm_sg_bytes; in aead_edesc_alloc()
1177 iv = (u8 *)edesc->sgt + edesc->qm_sg_bytes; in ablkcipher_done()
1206 int dst_sg_idx, qm_sg_ents, qm_sg_bytes; in ablkcipher_edesc_alloc() local
1257 qm_sg_bytes = qm_sg_ents * sizeof(struct qm_sg_entry); in ablkcipher_edesc_alloc()
1258 if (unlikely(offsetof(struct ablkcipher_edesc, sgt) + qm_sg_bytes + in ablkcipher_edesc_alloc()
1293 edesc->qm_sg_bytes = qm_sg_bytes; in ablkcipher_edesc_alloc()
1305 edesc->qm_sg_dma = dma_map_single(qidev, sg_table, edesc->qm_sg_bytes, in ablkcipher_edesc_alloc()
1349 int dst_sg_idx, qm_sg_ents, qm_sg_bytes; in ablkcipher_giv_edesc_alloc() local
1401 qm_sg_bytes = qm_sg_ents * sizeof(struct qm_sg_entry); in ablkcipher_giv_edesc_alloc()
1402 if (unlikely(offsetof(struct ablkcipher_edesc, sgt) + qm_sg_bytes + in ablkcipher_giv_edesc_alloc()
1435 edesc->qm_sg_bytes = qm_sg_bytes; in ablkcipher_giv_edesc_alloc()
1447 edesc->qm_sg_dma = dma_map_single(qidev, sg_table, edesc->qm_sg_bytes, in ablkcipher_giv_edesc_alloc()