Home
last modified time | relevance | path

Searched refs:in_sg_len (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/crypto/
Domap-des.c159 int in_sg_len; member
373 int in_sg_len, int out_sg_len) in omap_des_crypt_dma() argument
391 dma_sync_sg_for_device(dd->dev, dd->in_sg, in_sg_len, DMA_TO_DEVICE); in omap_des_crypt_dma()
410 tx_in = dmaengine_prep_slave_sg(dd->dma_lch_in, in_sg, in_sg_len, in omap_des_crypt_dma()
461 err = dma_map_sg(dd->dev, dd->in_sg, dd->in_sg_len, in omap_des_crypt_dma_start()
476 err = omap_des_crypt_dma(tfm, dd->in_sg, dd->out_sg, dd->in_sg_len, in omap_des_crypt_dma_start()
479 dma_unmap_sg(dd->dev, dd->in_sg, dd->in_sg_len, DMA_TO_DEVICE); in omap_des_crypt_dma_start()
553 dd->in_sg_len = sg_nents_for_len(dd->in_sg, dd->total); in omap_des_prepare_req()
554 if (dd->in_sg_len < 0) in omap_des_prepare_req()
555 return dd->in_sg_len; in omap_des_prepare_req()
[all …]
Domap-aes.c268 int in_sg_len, int out_sg_len) in omap_aes_crypt_dma() argument
285 dma_sync_sg_for_device(dd->dev, dd->in_sg, in_sg_len, DMA_TO_DEVICE); in omap_aes_crypt_dma()
304 tx_in = dmaengine_prep_slave_sg(dd->dma_lch_in, in_sg, in_sg_len, in omap_aes_crypt_dma()
367 err = dma_map_sg(dd->dev, dd->in_sg, dd->in_sg_len, in omap_aes_crypt_dma_start()
384 err = omap_aes_crypt_dma(dd, dd->in_sg, dd->out_sg, dd->in_sg_len, in omap_aes_crypt_dma_start()
387 dma_unmap_sg(dd->dev, dd->in_sg, dd->in_sg_len, DMA_TO_DEVICE); in omap_aes_crypt_dma_start()
460 dd->in_sg_len = sg_nents_for_len(dd->in_sg, dd->total); in omap_aes_prepare_req()
461 if (dd->in_sg_len < 0) in omap_aes_prepare_req()
462 return dd->in_sg_len; in omap_aes_prepare_req()
508 dma_unmap_sg(dd->dev, dd->in_sg, dd->in_sg_len, DMA_TO_DEVICE); in omap_aes_done_task()
Domap-aes-gcm.c59 dma_unmap_sg(dd->dev, dd->in_sg, dd->in_sg_len, DMA_TO_DEVICE); in omap_aes_gcm_done_task()
171 dd->in_sg_len = sg_nents_for_len(dd->in_sg, alen + clen); in omap_aes_gcm_copy_buffers()
375 if (dd->in_sg_len) in omap_aes_gcm_crypt_req()
Domap-aes.h193 int in_sg_len; member
/linux-6.12.1/drivers/crypto/stm32/
Dstm32-cryp.c216 size_t in_sg_len; member
927 dma_unmap_sg(cryp->dev, cryp->in_sg, cryp->in_sg_len, DMA_TO_DEVICE); in stm32_cryp_dma_callback()
1020 ret = dma_map_sg(cryp->dev, cryp->in_sg, cryp->in_sg_len, DMA_TO_DEVICE); in stm32_cryp_dma_start()
1033 dma_sync_sg_for_device(cryp->dev, cryp->in_sg, cryp->in_sg_len, DMA_TO_DEVICE); in stm32_cryp_dma_start()
1035 tx_in = dmaengine_prep_slave_sg(cryp->dma_lch_in, cryp->in_sg, cryp->in_sg_len, in stm32_cryp_dma_start()
1564 ret = stm32_cryp_truncate_sg(&cryp->in_sg, &cryp->in_sg_len, in_sg, 0, align_size); in stm32_cryp_cipher_prepare()
1583 cryp->in_sg_len = (size_t)ret; in stm32_cryp_cipher_prepare()
1635 ret = stm32_cryp_truncate_sg(&cryp->in_sg, &cryp->in_sg_len, in_sg, skip, align_size); in stm32_cryp_aead_prepare()
/linux-6.12.1/drivers/crypto/starfive/
Djh7110-cryp.h223 unsigned long in_sg_len; member
Djh7110-hash.c229 for_each_sg(rctx->in_sg, tsg, rctx->in_sg_len, i) { in starfive_hash_one_request()
337 rctx->in_sg_len = sg_nents_for_len(rctx->in_sg, rctx->total); in starfive_hash_digest()