Home
last modified time | relevance | path

Searched refs:qm_sg_bytes (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/crypto/caam/
Dcaamalg_qi2.h114 int qm_sg_bytes; member
134 int qm_sg_bytes; member
149 int qm_sg_bytes; member
Dcaamalg_qi2.c152 int qm_sg_bytes) in caam_unmap() argument
166 if (qm_sg_bytes) in caam_unmap()
167 dma_unmap_single(dev, qm_sg_dma, qm_sg_bytes, DMA_TO_DEVICE); in caam_unmap()
368 int qm_sg_index = 0, qm_sg_nents = 0, qm_sg_bytes; in aead_edesc_alloc() local
471 qm_sg_bytes = qm_sg_nents * sizeof(*sg_table); in aead_edesc_alloc()
472 if (unlikely(offsetof(struct aead_edesc, sgt) + qm_sg_bytes + ivsize > in aead_edesc_alloc()
533 qm_sg_dma = dma_map_single(dev, sg_table, qm_sg_bytes, DMA_TO_DEVICE); in aead_edesc_alloc()
544 edesc->qm_sg_bytes = qm_sg_bytes; in aead_edesc_alloc()
1124 int dst_sg_idx, qm_sg_ents, qm_sg_bytes; in skcipher_edesc_alloc() local
1181 qm_sg_bytes = qm_sg_ents * sizeof(struct dpaa2_sg_entry); in skcipher_edesc_alloc()
[all …]
Dcaamalg_qi.c801 int qm_sg_bytes; member
823 int qm_sg_bytes; member
871 int qm_sg_bytes) in caam_unmap() argument
884 if (qm_sg_bytes) in caam_unmap()
885 dma_unmap_single(dev, qm_sg_dma, qm_sg_bytes, DMA_TO_DEVICE); in caam_unmap()
897 edesc->qm_sg_bytes); in aead_unmap()
909 edesc->qm_sg_bytes); in skcipher_unmap()
952 int qm_sg_index = 0, qm_sg_ents = 0, qm_sg_bytes; in aead_edesc_alloc() local
1060 qm_sg_bytes = qm_sg_ents * sizeof(*sg_table); in aead_edesc_alloc()
1061 if (unlikely(offsetof(struct aead_edesc, sgt) + qm_sg_bytes + ivsize > in aead_edesc_alloc()
[all …]