Lines Matching refs:vchan

216 	struct virt_dma_chan		vchan;  member
704 return container_of(c, struct edma_chan, vchan.chan); in to_edma_chan()
723 struct device *dev = echan->vchan.chan.device->dev; in edma_execute()
728 vdesc = vchan_next_desc(&echan->vchan); in edma_execute()
817 spin_lock_irqsave(&echan->vchan.lock, flags); in edma_terminate_all()
834 vchan_get_all_descriptors(&echan->vchan, &head); in edma_terminate_all()
835 spin_unlock_irqrestore(&echan->vchan.lock, flags); in edma_terminate_all()
836 vchan_dma_desc_free_list(&echan->vchan, &head); in edma_terminate_all()
845 vchan_synchronize(&echan->vchan); in edma_synchronize()
1102 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_slave_sg()
1218 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_dma_memcpy()
1293 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_dma_interleaved()
1450 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_dma_cyclic()
1455 struct device *dev = echan->vchan.chan.device->dev; in edma_completion_handler()
1458 spin_lock(&echan->vchan.lock); in edma_completion_handler()
1463 spin_unlock(&echan->vchan.lock); in edma_completion_handler()
1487 spin_unlock(&echan->vchan.lock); in edma_completion_handler()
1539 struct device *dev = echan->vchan.chan.device->dev; in edma_error_handler()
1546 spin_lock(&echan->vchan.lock); in edma_error_handler()
1576 spin_unlock(&echan->vchan.lock); in edma_error_handler()
1718 vchan_free_chan_resources(&echan->vchan); in edma_free_chan_resources()
1750 spin_lock_irqsave(&echan->vchan.lock, flags); in edma_issue_pending()
1751 if (vchan_issue_pending(&echan->vchan) && !echan->edesc) in edma_issue_pending()
1753 spin_unlock_irqrestore(&echan->vchan.lock, flags); in edma_issue_pending()
1804 dev_dbg_ratelimited(echan->vchan.chan.device->dev, in edma_residue()
1873 spin_lock_irqsave(&echan->vchan.lock, flags); in edma_tx_status()
1877 struct virt_dma_desc *vdesc = vchan_find_desc(&echan->vchan, in edma_tx_status()
1900 spin_unlock_irqrestore(&echan->vchan.lock, flags); in edma_tx_status()
2005 echan->vchan.desc_free = edma_desc_free; in edma_dma_init()
2008 vchan_init(&echan->vchan, m_ddev); in edma_dma_init()
2010 vchan_init(&echan->vchan, s_ddev); in edma_dma_init()
2243 chan = &echan->vchan.chan; in of_edma_xlate()
2547 &dmadev->channels, vchan.chan.device_node) { in edma_cleanupp_vchan()
2548 list_del(&echan->vchan.chan.device_node); in edma_cleanupp_vchan()
2549 tasklet_kill(&echan->vchan.task); in edma_cleanupp_vchan()