Home
last modified time | relevance | path

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

/linux-6.1.9/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
378 int in_sg_len, int out_sg_len) in omap_des_crypt_dma() argument
434 tx_out = dmaengine_prep_slave_sg(dd->dma_lch_out, out_sg, out_sg_len, in omap_des_crypt_dma()
473 err = dma_map_sg(dd->dev, dd->out_sg, dd->out_sg_len, in omap_des_crypt_dma_start()
482 dd->out_sg_len); in omap_des_crypt_dma_start()
485 dma_unmap_sg(dd->dev, dd->out_sg, dd->out_sg_len, in omap_des_crypt_dma_start()
567 dd->out_sg_len = sg_nents_for_len(dd->out_sg, dd->total); in omap_des_prepare_req()
568 if (dd->out_sg_len < 0) in omap_des_prepare_req()
569 return dd->out_sg_len; in omap_des_prepare_req()
604 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