Searched refs:qm_sg_bytes (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/crypto/caam/ |
| H A D | caamalg_qi2.c | 156 int qm_sg_bytes) in caam_unmap() argument 170 if (qm_sg_bytes) in caam_unmap() 171 dma_unmap_single(dev, qm_sg_dma, qm_sg_bytes, DMA_TO_DEVICE); in caam_unmap() 372 int qm_sg_index = 0, qm_sg_nents = 0, qm_sg_bytes; in aead_edesc_alloc() local 475 qm_sg_bytes = qm_sg_nents * sizeof(*sg_table); in aead_edesc_alloc() 476 if (unlikely(offsetof(struct aead_edesc, sgt) + qm_sg_bytes + ivsize > in aead_edesc_alloc() 537 qm_sg_dma = dma_map_single(dev, sg_table, qm_sg_bytes, DMA_TO_DEVICE); in aead_edesc_alloc() 548 edesc->qm_sg_bytes = qm_sg_bytes; in aead_edesc_alloc() 1129 int dst_sg_idx, qm_sg_ents, qm_sg_bytes; in skcipher_edesc_alloc() local 1186 qm_sg_bytes = qm_sg_ents * sizeof(struct dpaa2_sg_entry); in skcipher_edesc_alloc() [all …]
|
| H A D | caamalg_qi.c | 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() [all …]
|