Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/crypto/
Dimg-hash.c136 struct dma_chan *dma_lch; member
235 desc = dmaengine_prep_slave_sg(hdev->dma_lch, in img_hash_xmit_dma()
249 dma_async_issue_pending(hdev->dma_lch); in img_hash_xmit_dma()
337 hdev->dma_lch = dma_request_chan(hdev->dev, "tx"); in img_hash_dma_init()
338 if (IS_ERR(hdev->dma_lch)) { in img_hash_dma_init()
340 return PTR_ERR(hdev->dma_lch); in img_hash_dma_init()
348 err = dmaengine_slave_config(hdev->dma_lch, &dma_conf); in img_hash_dma_init()
351 dma_release_channel(hdev->dma_lch); in img_hash_dma_init()
1017 dma_chan_name(hdev->dma_lch)); in img_hash_probe()
1034 dma_release_channel(hdev->dma_lch); in img_hash_probe()
[all …]
Domap-sham.c219 struct dma_chan *dma_lch; member
589 ret = dmaengine_slave_config(dd->dma_lch, &cfg); in omap_sham_xmit_dma()
595 tx = dmaengine_prep_slave_sg(dd->dma_lch, ctx->sg, ctx->sg_len, in omap_sham_xmit_dma()
618 dma_async_issue_pending(dd->dma_lch); in omap_sham_xmit_dma()
2104 dd->dma_lch = dma_request_chan(dev, "rx"); in omap_sham_probe()
2105 if (IS_ERR(dd->dma_lch)) { in omap_sham_probe()
2106 err = PTR_ERR(dd->dma_lch); in omap_sham_probe()
2196 dma_release_channel(dd->dma_lch); in omap_sham_probe()
2224 dma_release_channel(dd->dma_lch); in omap_sham_remove()
/linux-6.6.21/drivers/crypto/stm32/
Dstm32-hash.c206 struct dma_chan *dma_lch; member
526 in_desc = dmaengine_prep_slave_sg(hdev->dma_lch, sg, 1, in stm32_hash_xmit_dma()
560 dma_async_issue_pending(hdev->dma_lch); in stm32_hash_xmit_dma()
566 if (dma_async_is_tx_complete(hdev->dma_lch, cookie, in stm32_hash_xmit_dma()
572 dmaengine_terminate_all(hdev->dma_lch); in stm32_hash_xmit_dma()
636 hdev->dma_lch = chan; in stm32_hash_dma_init()
638 err = dmaengine_slave_config(hdev->dma_lch, &dma_conf); in stm32_hash_dma_init()
640 dma_release_channel(hdev->dma_lch); in stm32_hash_dma_init()
641 hdev->dma_lch = NULL; in stm32_hash_dma_init()
776 if (!hdev->dma_lch || req->nbytes <= rctx->state.blocklen) in stm32_hash_dma_aligned_data()
[all …]