Lines Matching refs:vchan

210 	struct virt_dma_chan		vchan;  member
729 return container_of(c, struct edma_chan, vchan.chan); in to_edma_chan()
748 struct device *dev = echan->vchan.chan.device->dev; in edma_execute()
753 vdesc = vchan_next_desc(&echan->vchan); in edma_execute()
842 spin_lock_irqsave(&echan->vchan.lock, flags); in edma_terminate_all()
862 vchan_get_all_descriptors(&echan->vchan, &head); in edma_terminate_all()
863 spin_unlock_irqrestore(&echan->vchan.lock, flags); in edma_terminate_all()
864 vchan_dma_desc_free_list(&echan->vchan, &head); in edma_terminate_all()
1118 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()
1359 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_dma_cyclic()
1364 struct device *dev = echan->vchan.chan.device->dev; in edma_completion_handler()
1370 spin_lock(&echan->vchan.lock); in edma_completion_handler()
1373 spin_unlock(&echan->vchan.lock); in edma_completion_handler()
1396 spin_unlock(&echan->vchan.lock); in edma_completion_handler()
1448 struct device *dev = echan->vchan.chan.device->dev; in edma_error_handler()
1454 spin_lock(&echan->vchan.lock); in edma_error_handler()
1483 spin_unlock(&echan->vchan.lock); in edma_error_handler()
1644 vchan_free_chan_resources(&echan->vchan); in edma_free_chan_resources()
1677 spin_lock_irqsave(&echan->vchan.lock, flags); in edma_issue_pending()
1678 if (vchan_issue_pending(&echan->vchan) && !echan->edesc) in edma_issue_pending()
1680 spin_unlock_irqrestore(&echan->vchan.lock, flags); in edma_issue_pending()
1745 spin_lock_irqsave(&echan->vchan.lock, flags); in edma_tx_status()
1748 else if ((vdesc = vchan_find_desc(&echan->vchan, cookie))) in edma_tx_status()
1750 spin_unlock_irqrestore(&echan->vchan.lock, flags); in edma_tx_status()
1842 echan->vchan.desc_free = edma_desc_free; in edma_dma_init()
1845 vchan_init(&echan->vchan, m_ddev); in edma_dma_init()
1847 vchan_init(&echan->vchan, s_ddev); in edma_dma_init()
2081 chan = &echan->vchan.chan; in of_edma_xlate()