Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/caam/
Dcaamalg_qi2.h113 int qm_sg_bytes; member
133 int qm_sg_bytes; member
148 int qm_sg_bytes; member
Dcaamalg_qi2.c145 int qm_sg_bytes) in caam_unmap() argument
159 if (qm_sg_bytes) in caam_unmap()
160 dma_unmap_single(dev, qm_sg_dma, qm_sg_bytes, DMA_TO_DEVICE); in caam_unmap()
366 int qm_sg_index = 0, qm_sg_nents = 0, qm_sg_bytes; in aead_edesc_alloc() local
469 qm_sg_bytes = qm_sg_nents * sizeof(*sg_table); in aead_edesc_alloc()
470 if (unlikely(offsetof(struct aead_edesc, sgt) + qm_sg_bytes + ivsize > in aead_edesc_alloc()
531 qm_sg_dma = dma_map_single(dev, sg_table, qm_sg_bytes, DMA_TO_DEVICE); in aead_edesc_alloc()
542 edesc->qm_sg_bytes = qm_sg_bytes; in aead_edesc_alloc()
1131 int dst_sg_idx, qm_sg_ents, qm_sg_bytes; in skcipher_edesc_alloc() local
1188 qm_sg_bytes = qm_sg_ents * sizeof(struct dpaa2_sg_entry); in skcipher_edesc_alloc()
[all …]
Dcaamalg_qi.c803 int qm_sg_bytes; member
825 int qm_sg_bytes; member
873 int qm_sg_bytes) in caam_unmap() argument
886 if (qm_sg_bytes) in caam_unmap()
887 dma_unmap_single(dev, qm_sg_dma, qm_sg_bytes, DMA_TO_DEVICE); in caam_unmap()
899 edesc->qm_sg_bytes); in aead_unmap()
911 edesc->qm_sg_bytes); in skcipher_unmap()
954 int qm_sg_index = 0, qm_sg_ents = 0, qm_sg_bytes; in aead_edesc_alloc() local
1062 qm_sg_bytes = qm_sg_ents * sizeof(*sg_table); in aead_edesc_alloc()
1063 if (unlikely(offsetof(struct aead_edesc, sgt) + qm_sg_bytes + ivsize > in aead_edesc_alloc()
[all …]