Home
last modified time | relevance | path

Searched refs:dst_nents (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/crypto/
H A Dtalitos.c1043 unsigned int dst_nents = edesc->dst_nents ? : 1; in talitos_sg_unmap() local
1045 if (is_sec1 && dst && dst_nents > 1) { in talitos_sg_unmap()
1048 sg_pcopy_from_buffer(dst, dst_nents, edesc->buf + offset, len, in talitos_sg_unmap()
1055 if (dst && (dst_nents == 1 || !is_sec1)) in talitos_sg_unmap()
1056 dma_unmap_sg(dev, dst, dst_nents, DMA_FROM_DEVICE); in talitos_sg_unmap()
1087 unsigned int dst_nents = edesc->dst_nents ? : 1; in ipsec_esp_unmap() local
1089 sg_pcopy_to_buffer(areq->dst, dst_nents, ctx->iv, ivsize, in ipsec_esp_unmap()
1340 sg_count = edesc->dst_nents ? : 1; in ipsec_esp()
1407 int src_nents, dst_nents, alloc_len, dma_len, src_len, dst_len; in talitos_edesc_alloc() local
1428 dst_nents = dst ? src_nents : 0; in talitos_edesc_alloc()
[all …]
/linux/drivers/crypto/qce/
H A Dcipher.h39 int dst_nents; member
H A Daead.h31 int dst_nents; member
/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_skcipher_algs.c332 int src_nents, dst_nents; in __virtio_crypto_skcipher_do_req() local
348 dst_nents = sg_nents(req->dst); in __virtio_crypto_skcipher_do_req()
351 src_nents, dst_nents); in __virtio_crypto_skcipher_do_req()
354 sg_total = src_nents + dst_nents + 3; in __virtio_crypto_skcipher_do_req()
/linux/drivers/crypto/caam/
H A Dcaampkc.h133 int dst_nents; member
/linux/drivers/crypto/ccp/
H A Dccp-dmaengine.c354 unsigned int dst_nents, in ccp_create_desc() argument
375 if (!dst_nents || !src_nents) in ccp_create_desc()
406 dst_nents--; in ccp_create_desc()
407 if (!dst_nents) in ccp_create_desc()
/linux/drivers/crypto/starfive/
H A Djh7110-aes.c506 unsigned int len, src_nents, dst_nents; in starfive_aes_map_sg() local
516 dst_nents = src_nents; in starfive_aes_map_sg()
532 dst_nents = dma_map_sg(cryp->dev, dtsg, 1, DMA_FROM_DEVICE); in starfive_aes_map_sg()
533 if (dst_nents == 0) in starfive_aes_map_sg()
/linux/drivers/crypto/bcm/
H A Dcipher.h295 int dst_nents; /* Number of dst entries with data */ member