Searched refs:qm_sg_bytes (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/crypto/caam/ |
D | caamalg_qi2.h | 112 int qm_sg_bytes; member 132 int qm_sg_bytes; member 147 int qm_sg_bytes; member
|
D | caamalg_qi2.c | 154 int qm_sg_bytes) in caam_unmap() argument 168 if (qm_sg_bytes) in caam_unmap() 169 dma_unmap_single(dev, qm_sg_dma, qm_sg_bytes, DMA_TO_DEVICE); in caam_unmap() 370 int qm_sg_index = 0, qm_sg_nents = 0, qm_sg_bytes; in aead_edesc_alloc() local 473 qm_sg_bytes = qm_sg_nents * sizeof(*sg_table); in aead_edesc_alloc() 474 if (unlikely(offsetof(struct aead_edesc, sgt) + qm_sg_bytes + ivsize > in aead_edesc_alloc() 535 qm_sg_dma = dma_map_single(dev, sg_table, qm_sg_bytes, DMA_TO_DEVICE); in aead_edesc_alloc() 546 edesc->qm_sg_bytes = qm_sg_bytes; in aead_edesc_alloc() 1127 int dst_sg_idx, qm_sg_ents, qm_sg_bytes; in skcipher_edesc_alloc() local 1184 qm_sg_bytes = qm_sg_ents * sizeof(struct dpaa2_sg_entry); in skcipher_edesc_alloc() [all …]
|
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 …]
|