Lines Matching refs:vchan

177 	struct virt_dma_chan		vchan;  member
297 return container_of(chan, struct fsl_qdma_chan, vchan.chan); in to_fsl_qdma_chan()
314 spin_lock_irqsave(&fsl_chan->vchan.lock, flags); in fsl_qdma_free_chan_resources()
315 vchan_get_all_descriptors(&fsl_chan->vchan, &head); in fsl_qdma_free_chan_resources()
316 spin_unlock_irqrestore(&fsl_chan->vchan.lock, flags); in fsl_qdma_free_chan_resources()
318 vchan_dma_desc_free_list(&fsl_chan->vchan, &head); in fsl_qdma_free_chan_resources()
731 spin_lock(&fsl_comp->qchan->vchan.lock); in fsl_qdma_queue_transfer_complete()
734 spin_unlock(&fsl_comp->qchan->vchan.lock); in fsl_qdma_queue_transfer_complete()
987 return vchan_tx_prep(&fsl_chan->vchan, &fsl_comp->vdesc, flags); in fsl_qdma_prep_memcpy()
1001 vdesc = vchan_next_desc(&fsl_chan->vchan); in fsl_qdma_enqueue_desc()
1041 spin_lock(&fsl_chan->vchan.lock); in fsl_qdma_issue_pending()
1042 if (vchan_issue_pending(&fsl_chan->vchan)) in fsl_qdma_issue_pending()
1044 spin_unlock(&fsl_chan->vchan.lock); in fsl_qdma_issue_pending()
1052 vchan_synchronize(&fsl_chan->vchan); in fsl_qdma_synchronize()
1061 spin_lock_irqsave(&fsl_chan->vchan.lock, flags); in fsl_qdma_terminate_all()
1062 vchan_get_all_descriptors(&fsl_chan->vchan, &head); in fsl_qdma_terminate_all()
1063 spin_unlock_irqrestore(&fsl_chan->vchan.lock, flags); in fsl_qdma_terminate_all()
1064 vchan_dma_desc_free_list(&fsl_chan->vchan, &head); in fsl_qdma_terminate_all()
1215 fsl_chan->vchan.desc_free = fsl_qdma_free_desc; in fsl_qdma_probe()
1216 vchan_init(&fsl_chan->vchan, &fsl_qdma->dma_dev); in fsl_qdma_probe()
1264 &dmadev->channels, vchan.chan.device_node) { in fsl_qdma_cleanup_vchan()
1265 list_del(&chan->vchan.chan.device_node); in fsl_qdma_cleanup_vchan()
1266 tasklet_kill(&chan->vchan.task); in fsl_qdma_cleanup_vchan()