Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/crypto/keembay/
Dkeembay-ocs-hcu-core.c93 unsigned int sg_dma_nents; member
201 if (rctx->sg_dma_nents) { in kmb_ocs_hcu_dma_cleanup()
202 dma_unmap_sg(dev, req->src, rctx->sg_dma_nents, DMA_TO_DEVICE); in kmb_ocs_hcu_dma_cleanup()
203 rctx->sg_dma_nents = 0; in kmb_ocs_hcu_dma_cleanup()
256 rctx->sg_dma_nents = dma_map_sg(dev, req->src, nents, in kmb_ocs_dma_prepare()
258 if (!rctx->sg_dma_nents) { in kmb_ocs_dma_prepare()
267 nents = rctx->sg_dma_nents; in kmb_ocs_dma_prepare()
305 for_each_sg(req->src, rctx->sg, rctx->sg_dma_nents, i) { in kmb_ocs_dma_prepare()