Lines Matching refs:qm_sg_bytes
806 int qm_sg_bytes; member
828 int qm_sg_bytes; member
876 int qm_sg_bytes) in caam_unmap() argument
889 if (qm_sg_bytes) in caam_unmap()
890 dma_unmap_single(dev, qm_sg_dma, qm_sg_bytes, DMA_TO_DEVICE); in caam_unmap()
902 edesc->qm_sg_bytes); in aead_unmap()
914 edesc->qm_sg_bytes); in skcipher_unmap()
957 int qm_sg_index = 0, qm_sg_ents = 0, qm_sg_bytes; in aead_edesc_alloc() local
1065 qm_sg_bytes = qm_sg_ents * sizeof(*sg_table); in aead_edesc_alloc()
1066 if (unlikely(offsetof(struct aead_edesc, sgt) + qm_sg_bytes + ivsize > in aead_edesc_alloc()
1122 qm_sg_dma = dma_map_single(qidev, sg_table, qm_sg_bytes, DMA_TO_DEVICE); in aead_edesc_alloc()
1133 edesc->qm_sg_bytes = qm_sg_bytes; in aead_edesc_alloc()
1212 return PTR_ALIGN((u8 *)&edesc->sgt[0] + edesc->qm_sg_bytes, in skcipher_edesc_iv()
1267 int dst_sg_idx, qm_sg_ents, qm_sg_bytes; in skcipher_edesc_alloc() local
1330 qm_sg_bytes = qm_sg_ents * sizeof(struct qm_sg_entry); in skcipher_edesc_alloc()
1332 len = offsetof(struct skcipher_edesc, sgt) + qm_sg_bytes; in skcipher_edesc_alloc()
1355 edesc->qm_sg_bytes = qm_sg_bytes; in skcipher_edesc_alloc()
1385 edesc->qm_sg_dma = dma_map_single(qidev, sg_table, edesc->qm_sg_bytes, in skcipher_edesc_alloc()