Home
last modified time | relevance | path

Searched refs:to_sg (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/crypto/ti/
H A Ddthev2-common.c54 struct scatterlist *from_sg, *to_sg; in dthe_copy_sg() local
57 for (to_sg = dst, from_sg = src; buflen && from_sg; buflen -= sglen) { in dthe_copy_sg()
61 sg_set_buf(to_sg, sg_virt(from_sg), sglen); in dthe_copy_sg()
63 to_sg = sg_next(to_sg); in dthe_copy_sg()
66 return to_sg; in dthe_copy_sg()
H A Ddthev2-aes.c617 struct scatterlist *to_sg; in dthe_aead_prep_aad() local
632 to_sg = dthe_copy_sg(aad_sg, sg, assoclen); in dthe_aead_prep_aad()
637 sg_set_buf(to_sg, pad_buf, pad_len); in dthe_aead_prep_aad()
665 struct scatterlist *to_sg; in dthe_aead_prep_crypt() local
690 to_sg = dthe_copy_sg(crypt_sg, out_sg[0], cryptlen); in dthe_aead_prep_crypt()
694 sg_set_buf(to_sg, pad_buf, pad_len); in dthe_aead_prep_crypt()
/linux/drivers/dma-buf/
H A Ddma-buf.c879 struct scatterlist *to_sg, *from_sg; in dma_buf_wrap_sg_table() local
900 to_sg = to->wrapper.sgl; in dma_buf_wrap_sg_table()
902 to_sg->offset = 0; in dma_buf_wrap_sg_table()
903 to_sg->length = 0; in dma_buf_wrap_sg_table()
904 sg_assign_page(to_sg, NULL); in dma_buf_wrap_sg_table()
905 sg_dma_address(to_sg) = sg_dma_address(from_sg); in dma_buf_wrap_sg_table()
906 sg_dma_len(to_sg) = sg_dma_len(from_sg); in dma_buf_wrap_sg_table()
907 to_sg = sg_next(to_sg); in dma_buf_wrap_sg_table()
/linux/drivers/crypto/bcm/
H A Dutil.c133 u32 spu_msg_sg_add(struct scatterlist **to_sg, in spu_msg_sg_add() argument
138 struct scatterlist *to = *to_sg; in spu_msg_sg_add()
165 *to_sg = to; in spu_msg_sg_add()
H A Dutil.h95 u32 spu_msg_sg_add(struct scatterlist **to_sg,
/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_req.h590 static inline struct scatterlist *create_multi_sg(struct scatterlist *to_sg, in create_multi_sg() argument
594 struct scatterlist *sg = to_sg; in create_multi_sg()