Lines Matching refs:vc
235 struct virt_dma_chan vc; member
301 return container_of(chan, struct pl08x_dma_chan, vc.chan); in to_pl08x_chan()
400 struct virt_dma_desc *vd = vchan_next_desc(&plchan->vc); in pl08x_start_next_txd()
696 list_for_each_entry(p, &pl08x->memcpy.channels, vc.chan.device_node) in pl08x_phy_free()
703 list_for_each_entry(p, &pl08x->slave.channels, vc.chan.device_node) in pl08x_phy_free()
720 spin_lock(&next->vc.lock); in pl08x_phy_free()
725 spin_unlock(&next->vc.lock); in pl08x_phy_free()
1189 vchan_get_all_descriptors(&plchan->vc, &head); in pl08x_free_txd_list()
1190 vchan_dma_desc_free_list(&plchan->vc, &head); in pl08x_free_txd_list()
1238 spin_lock_irqsave(&plchan->vc.lock, flags); in pl08x_dma_tx_status()
1241 vd = vchan_find_desc(&plchan->vc, cookie); in pl08x_dma_tx_status()
1253 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_dma_tx_status()
1397 spin_lock_irqsave(&plchan->vc.lock, flags); in pl08x_issue_pending()
1398 if (vchan_issue_pending(&plchan->vc)) { in pl08x_issue_pending()
1402 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_issue_pending()
1470 return vchan_tx_prep(&plchan->vc, &txd->vd, flags); in pl08x_prep_dma_memcpy()
1623 return vchan_tx_prep(&plchan->vc, &txd->vd, flags); in pl08x_prep_slave_sg()
1666 return vchan_tx_prep(&plchan->vc, &txd->vd, flags); in pl08x_prep_dma_cyclic()
1701 spin_lock_irqsave(&plchan->vc.lock, flags); in pl08x_terminate_all()
1703 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_terminate_all()
1724 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_terminate_all()
1738 spin_lock_irqsave(&plchan->vc.lock, flags); in pl08x_pause()
1740 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_pause()
1747 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_pause()
1761 spin_lock_irqsave(&plchan->vc.lock, flags); in pl08x_resume()
1763 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_resume()
1770 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_resume()
1841 spin_lock(&plchan->vc.lock); in pl08x_irq()
1859 if (vchan_next_desc(&plchan->vc)) in pl08x_irq()
1864 spin_unlock(&plchan->vc.lock); in pl08x_irq()
1925 chan->vc.desc_free = pl08x_desc_free; in pl08x_dma_init_virtual_channels()
1926 vchan_init(&chan->vc, dmadev); in pl08x_dma_init_virtual_channels()
1939 next, &dmadev->channels, vc.chan.device_node) { in pl08x_free_virtual_channels()
1940 list_del(&chan->vc.chan.device_node); in pl08x_free_virtual_channels()
1993 list_for_each_entry(chan, &pl08x->memcpy.channels, vc.chan.device_node) { in pl08x_debugfs_show()
2001 list_for_each_entry(chan, &pl08x->slave.channels, vc.chan.device_node) { in pl08x_debugfs_show()
2041 list_for_each_entry(chan, &pl08x->slave.channels, vc.chan.device_node) { in pl08x_find_chan_id()
2043 return &chan->vc.chan; in pl08x_find_chan_id()
2082 chan->vc.desc_free = pl08x_desc_free; in pl08x_of_xlate()
2084 vchan_init(&chan->vc, &pl08x->slave); in pl08x_of_xlate()
2086 return dma_get_slave_channel(&chan->vc.chan); in pl08x_of_xlate()