Home
last modified time | relevance | path

Searched refs:out_sg_len (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/crypto/
Domap-aes.c270 int in_sg_len, int out_sg_len) in omap_aes_crypt_dma() argument
278 if (out_sg_len) in omap_aes_crypt_dma()
319 if (out_sg_len) { in omap_aes_crypt_dma()
328 out_sg_len, in omap_aes_crypt_dma()
353 if (out_sg_len) in omap_aes_crypt_dma()
376 if (dd->out_sg_len) { in omap_aes_crypt_dma_start()
377 err = dma_map_sg(dd->dev, dd->out_sg, dd->out_sg_len, in omap_aes_crypt_dma_start()
387 dd->out_sg_len); in omap_aes_crypt_dma_start()
390 if (dd->out_sg_len) in omap_aes_crypt_dma_start()
391 dma_unmap_sg(dd->dev, dd->out_sg, dd->out_sg_len, in omap_aes_crypt_dma_start()
[all …]
Domap-des.c165 int out_sg_len; member
379 int in_sg_len, int out_sg_len) in omap_des_crypt_dma() argument
435 tx_out = dmaengine_prep_slave_sg(dd->dma_lch_out, out_sg, out_sg_len, in omap_des_crypt_dma()
474 err = dma_map_sg(dd->dev, dd->out_sg, dd->out_sg_len, in omap_des_crypt_dma_start()
483 dd->out_sg_len); in omap_des_crypt_dma_start()
486 dma_unmap_sg(dd->dev, dd->out_sg, dd->out_sg_len, in omap_des_crypt_dma_start()
568 dd->out_sg_len = sg_nents_for_len(dd->out_sg, dd->total); in omap_des_prepare_req()
569 if (dd->out_sg_len < 0) in omap_des_prepare_req()
570 return dd->out_sg_len; in omap_des_prepare_req()
605 dma_sync_sg_for_device(dd->dev, dd->out_sg, dd->out_sg_len, in omap_des_done_task()
[all …]
Domap-aes-gcm.c54 dma_sync_sg_for_device(dd->dev, dd->out_sg, dd->out_sg_len, in omap_aes_gcm_done_task()
57 dma_unmap_sg(dd->dev, dd->out_sg, dd->out_sg_len, DMA_FROM_DEVICE); in omap_aes_gcm_done_task()
169 dd->out_sg_len = sg_nents_for_len(dd->out_sg, clen); in omap_aes_gcm_copy_buffers()
Domap-aes.h196 int out_sg_len; member
/Linux-v5.10/drivers/crypto/stm32/
Dstm32-cryp.c161 int out_sg_len; member
376 cryp->out_sg_len = 1; in stm32_cryp_copy_sgs()
997 cryp->out_sg_len = sg_nents_for_len(cryp->out_sg, cryp->total_out); in stm32_cryp_prepare_req()
998 if (cryp->out_sg_len < 0) { in stm32_cryp_prepare_req()
1000 ret = cryp->out_sg_len; in stm32_cryp_prepare_req()