Lines Matching refs:vchan

129 	struct virt_dma_chan vchan;  member
166 return container_of(chan, struct jz4780_dma_chan, vchan.chan); in to_jz4780_dma_chan()
178 return container_of(jzchan->vchan.chan.device, struct jz4780_dma_dev, in jz4780_dma_chan_parent()
395 return vchan_tx_prep(&jzchan->vchan, &desc->vdesc, flags); in jz4780_dma_prep_slave_sg()
447 return vchan_tx_prep(&jzchan->vchan, &desc->vdesc, flags); in jz4780_dma_prep_dma_cyclic()
475 return vchan_tx_prep(&jzchan->vchan, &desc->vdesc, flags); in jz4780_dma_prep_dma_memcpy()
486 vdesc = vchan_next_desc(&jzchan->vchan); in jz4780_dma_begin()
558 spin_lock_irqsave(&jzchan->vchan.lock, flags); in jz4780_dma_issue_pending()
560 if (vchan_issue_pending(&jzchan->vchan) && !jzchan->desc) in jz4780_dma_issue_pending()
563 spin_unlock_irqrestore(&jzchan->vchan.lock, flags); in jz4780_dma_issue_pending()
573 spin_lock_irqsave(&jzchan->vchan.lock, flags); in jz4780_dma_terminate_all()
584 vchan_get_all_descriptors(&jzchan->vchan, &head); in jz4780_dma_terminate_all()
586 spin_unlock_irqrestore(&jzchan->vchan.lock, flags); in jz4780_dma_terminate_all()
588 vchan_dma_desc_free_list(&jzchan->vchan, &head); in jz4780_dma_terminate_all()
597 vchan_synchronize(&jzchan->vchan); in jz4780_dma_synchronize()
642 spin_lock_irqsave(&jzchan->vchan.lock, flags); in jz4780_dma_tx_status()
648 vdesc = vchan_find_desc(&jzchan->vchan, cookie); in jz4780_dma_tx_status()
664 spin_unlock_irqrestore(&jzchan->vchan.lock, flags); in jz4780_dma_tx_status()
676 spin_lock(&jzchan->vchan.lock); in jz4780_dma_chan_irq()
682 dev_warn(&jzchan->vchan.chan.dev->device, in jz4780_dma_chan_irq()
687 dev_warn(&jzchan->vchan.chan.dev->device, in jz4780_dma_chan_irq()
716 dev_err(&jzchan->vchan.chan.dev->device, in jz4780_dma_chan_irq()
720 spin_unlock(&jzchan->vchan.lock); in jz4780_dma_chan_irq()
772 vchan_free_chan_resources(&jzchan->vchan); in jz4780_dma_free_chan_resources()
828 &jzdma->chan[data.channel].vchan.chan); in jz4780_of_dma_xlate()
936 vchan_init(&jzchan->vchan, dd); in jz4780_dma_probe()
937 jzchan->vchan.desc_free = jz4780_dma_desc_free; in jz4780_dma_probe()
989 tasklet_kill(&jzdma->chan[i].vchan.task); in jz4780_dma_remove()