Lines Matching refs:vchan
31 return container_of(chan, struct qdma_queue, vchan.chan); in to_qdma_queue()
470 q->vchan.desc_free = qdma_free_vdesc; in qdma_alloc_queues()
471 vchan_init(&q->vchan, &qdev->dma_dev); in qdma_alloc_queues()
549 vchan_free_chan_resources(&queue->vchan); in qdma_free_queue_resources()
613 if (!vchan_next_desc(&queue->vchan)) in qdma_xfer_start()
633 spin_lock_irqsave(&queue->vchan.lock, flags); in qdma_issue_pending()
634 if (vchan_issue_pending(&queue->vchan)) { in qdma_issue_pending()
642 spin_unlock_irqrestore(&queue->vchan.lock, flags); in qdma_issue_pending()
709 struct virt_dma_chan *vc = &q->vchan; in qdma_fill_pending_vdesc()
782 tx = vchan_tx_prep(&q->vchan, &vdesc->vdesc, flags); in qdma_prep_device_sg()
864 spin_lock_irqsave(&q->vchan.lock, flags); in qdma_queue_isr()
867 vd = vchan_next_desc(&q->vchan); in qdma_queue_isr()
876 vd = vchan_next_desc(&q->vchan); in qdma_queue_isr()
890 spin_unlock_irqrestore(&q->vchan.lock, flags); in qdma_queue_isr()