Lines Matching refs:vc
233 struct virt_dma_chan vc; member
299 return container_of(chan, struct pl08x_dma_chan, vc.chan); in to_pl08x_chan()
398 struct virt_dma_desc *vd = vchan_next_desc(&plchan->vc); in pl08x_start_next_txd()
694 list_for_each_entry(p, &pl08x->memcpy.channels, vc.chan.device_node) in pl08x_phy_free()
701 list_for_each_entry(p, &pl08x->slave.channels, vc.chan.device_node) in pl08x_phy_free()
718 spin_lock(&next->vc.lock); in pl08x_phy_free()
723 spin_unlock(&next->vc.lock); in pl08x_phy_free()
1187 vchan_get_all_descriptors(&plchan->vc, &head); in pl08x_free_txd_list()
1188 vchan_dma_desc_free_list(&plchan->vc, &head); in pl08x_free_txd_list()
1236 spin_lock_irqsave(&plchan->vc.lock, flags); in pl08x_dma_tx_status()
1239 vd = vchan_find_desc(&plchan->vc, cookie); in pl08x_dma_tx_status()
1251 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_dma_tx_status()
1395 spin_lock_irqsave(&plchan->vc.lock, flags); in pl08x_issue_pending()
1396 if (vchan_issue_pending(&plchan->vc)) { in pl08x_issue_pending()
1400 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_issue_pending()
1468 return vchan_tx_prep(&plchan->vc, &txd->vd, flags); in pl08x_prep_dma_memcpy()
1621 return vchan_tx_prep(&plchan->vc, &txd->vd, flags); in pl08x_prep_slave_sg()
1664 return vchan_tx_prep(&plchan->vc, &txd->vd, flags); in pl08x_prep_dma_cyclic()
1699 spin_lock_irqsave(&plchan->vc.lock, flags); in pl08x_terminate_all()
1701 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_terminate_all()
1722 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_terminate_all()
1736 spin_lock_irqsave(&plchan->vc.lock, flags); in pl08x_pause()
1738 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_pause()
1745 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_pause()
1759 spin_lock_irqsave(&plchan->vc.lock, flags); in pl08x_resume()
1761 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_resume()
1768 spin_unlock_irqrestore(&plchan->vc.lock, flags); in pl08x_resume()
1839 spin_lock(&plchan->vc.lock); in pl08x_irq()
1857 if (vchan_next_desc(&plchan->vc)) in pl08x_irq()
1862 spin_unlock(&plchan->vc.lock); in pl08x_irq()
1923 chan->vc.desc_free = pl08x_desc_free; in pl08x_dma_init_virtual_channels()
1924 vchan_init(&chan->vc, dmadev); in pl08x_dma_init_virtual_channels()
1937 next, &dmadev->channels, vc.chan.device_node) { in pl08x_free_virtual_channels()
1938 list_del(&chan->vc.chan.device_node); in pl08x_free_virtual_channels()
1991 list_for_each_entry(chan, &pl08x->memcpy.channels, vc.chan.device_node) { in pl08x_debugfs_show()
1999 list_for_each_entry(chan, &pl08x->slave.channels, vc.chan.device_node) { in pl08x_debugfs_show()