Searched refs:dma_lch (Results 1 – 3 of 3) sorted by relevance
/drivers/crypto/stm32/ |
D | stm32-hash.c | 176 struct dma_chan *dma_lch; member 415 in_desc = dmaengine_prep_slave_sg(hdev->dma_lch, sg, 1, in stm32_hash_xmit_dma() 448 dma_async_issue_pending(hdev->dma_lch); in stm32_hash_xmit_dma() 454 if (dma_async_is_tx_complete(hdev->dma_lch, cookie, in stm32_hash_xmit_dma() 460 dmaengine_terminate_all(hdev->dma_lch); in stm32_hash_xmit_dma() 521 hdev->dma_lch = dma_request_slave_channel(hdev->dev, "in"); in stm32_hash_dma_init() 522 if (!hdev->dma_lch) { in stm32_hash_dma_init() 527 err = dmaengine_slave_config(hdev->dma_lch, &dma_conf); in stm32_hash_dma_init() 529 dma_release_channel(hdev->dma_lch); in stm32_hash_dma_init() 530 hdev->dma_lch = NULL; in stm32_hash_dma_init() [all …]
|
/drivers/crypto/ |
D | img-hash.c | 134 struct dma_chan *dma_lch; member 233 desc = dmaengine_prep_slave_sg(hdev->dma_lch, in img_hash_xmit_dma() 247 dma_async_issue_pending(hdev->dma_lch); in img_hash_xmit_dma() 335 hdev->dma_lch = dma_request_slave_channel(hdev->dev, "tx"); in img_hash_dma_init() 336 if (!hdev->dma_lch) { in img_hash_dma_init() 346 err = dmaengine_slave_config(hdev->dma_lch, &dma_conf); in img_hash_dma_init() 349 dma_release_channel(hdev->dma_lch); in img_hash_dma_init() 1020 dma_chan_name(hdev->dma_lch)); in img_hash_probe() 1037 dma_release_channel(hdev->dma_lch); in img_hash_probe() 1063 dma_release_channel(hdev->dma_lch); in img_hash_remove()
|
D | omap-sham.c | 223 struct dma_chan *dma_lch; member 604 ret = dmaengine_slave_config(dd->dma_lch, &cfg); in omap_sham_xmit_dma() 610 tx = dmaengine_prep_slave_sg(dd->dma_lch, ctx->sg, ctx->sg_len, in omap_sham_xmit_dma() 633 dma_async_issue_pending(dd->dma_lch); in omap_sham_xmit_dma() 2128 dd->dma_lch = dma_request_chan(dev, "rx"); in omap_sham_probe() 2129 if (IS_ERR(dd->dma_lch)) { in omap_sham_probe() 2130 err = PTR_ERR(dd->dma_lch); in omap_sham_probe() 2198 dma_release_channel(dd->dma_lch); in omap_sham_probe() 2224 dma_release_channel(dd->dma_lch); in omap_sham_remove()
|