Lines Matching refs:dma_lch
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()
932 if (hdev->dma_lch && stm32_hash_dma_aligned_data(req)) in stm32_hash_finup()
1536 if (hdev->dma_lch) in stm32_hash_probe()
1537 dma_release_channel(hdev->dma_lch); in stm32_hash_probe()
1568 if (hdev->dma_lch) in stm32_hash_remove()
1569 dma_release_channel(hdev->dma_lch); in stm32_hash_remove()