Lines Matching refs:vc
220 struct virt_dma_chan vc; member
375 return container_of(chan, struct s3c24xx_dma_chan, vc.chan); in to_s3c24xx_dma_chan()
399 spin_lock_irqsave(&s3cchan->vc.lock, flags); in s3c24xx_dma_set_runtime_config()
409 spin_unlock_irqrestore(&s3cchan->vc.lock, flags); in s3c24xx_dma_set_runtime_config()
514 struct virt_dma_desc *vd = vchan_next_desc(&s3cchan->vc); in s3c24xx_dma_start_next_txd()
535 vchan_get_all_descriptors(&s3cchan->vc, &head); in s3c24xx_dma_free_txd_list()
536 vchan_dma_desc_free_list(&s3cchan->vc, &head); in s3c24xx_dma_free_txd_list()
598 list_for_each_entry(p, &s3cdma->memcpy.channels, vc.chan.device_node) in s3c24xx_dma_phy_free()
606 vc.chan.device_node) in s3c24xx_dma_phy_free()
624 spin_lock(&next->vc.lock); in s3c24xx_dma_phy_free()
629 spin_unlock(&next->vc.lock); in s3c24xx_dma_phy_free()
678 spin_lock(&s3cchan->vc.lock); in s3c24xx_dma_irq()
695 if (vchan_next_desc(&s3cchan->vc)) in s3c24xx_dma_irq()
707 spin_unlock(&s3cchan->vc.lock); in s3c24xx_dma_irq()
723 spin_lock_irqsave(&s3cchan->vc.lock, flags); in s3c24xx_dma_terminate_all()
747 spin_unlock_irqrestore(&s3cchan->vc.lock, flags); in s3c24xx_dma_terminate_all()
769 spin_lock_irqsave(&s3cchan->vc.lock, flags); in s3c24xx_dma_tx_status()
772 spin_unlock_irqrestore(&s3cchan->vc.lock, flags); in s3c24xx_dma_tx_status()
781 spin_unlock_irqrestore(&s3cchan->vc.lock, flags); in s3c24xx_dma_tx_status()
785 vd = vchan_find_desc(&s3cchan->vc, cookie); in s3c24xx_dma_tx_status()
805 spin_unlock_irqrestore(&s3cchan->vc.lock, flags); in s3c24xx_dma_tx_status()
879 return vchan_tx_prep(&s3cchan->vc, &txd->vd, flags); in s3c24xx_dma_prep_memcpy()
976 return vchan_tx_prep(&s3cchan->vc, &txd->vd, flags); in s3c24xx_dma_prep_dma_cyclic()
1065 return vchan_tx_prep(&s3cchan->vc, &txd->vd, flags); in s3c24xx_dma_prep_slave_sg()
1077 spin_lock_irqsave(&s3cchan->vc.lock, flags); in s3c24xx_dma_issue_pending()
1078 if (vchan_issue_pending(&s3cchan->vc)) { in s3c24xx_dma_issue_pending()
1082 spin_unlock_irqrestore(&s3cchan->vc.lock, flags); in s3c24xx_dma_issue_pending()
1132 chan->vc.desc_free = s3c24xx_dma_desc_free; in s3c24xx_dma_init_virtual_channels()
1133 vchan_init(&chan->vc, dmadev); in s3c24xx_dma_init_virtual_channels()
1146 next, &dmadev->channels, vc.chan.device_node) in s3c24xx_dma_free_virtual_channels()
1147 list_del(&chan->vc.chan.device_node); in s3c24xx_dma_free_virtual_channels()