Lines Matching refs:vdesc

171 	struct virt_dma_desc		vdesc;  member
718 return container_of(tx, struct edma_desc, vdesc.tx); in to_edma_desc()
721 static void edma_desc_free(struct virt_dma_desc *vdesc) in edma_desc_free() argument
723 kfree(container_of(vdesc, struct edma_desc, vdesc)); in edma_desc_free()
730 struct virt_dma_desc *vdesc; in edma_execute() local
737 vdesc = vchan_next_desc(&echan->vchan); in edma_execute()
738 if (!vdesc) in edma_execute()
740 list_del(&vdesc->node); in edma_execute()
741 echan->edesc = to_edma_desc(&vdesc->tx); in edma_execute()
839 vchan_terminate_vdesc(&echan->edesc->vdesc); in edma_terminate_all()
1111 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_slave_sg()
1227 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_dma_memcpy()
1302 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_dma_interleaved()
1459 return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); in edma_prep_dma_cyclic()
1471 vchan_cyclic_callback(&edesc->vdesc); in edma_completion_handler()
1477 vchan_cookie_complete(&edesc->vdesc); in edma_completion_handler()
1883 if (echan->edesc && echan->edesc->vdesc.tx.cookie == cookie) { in edma_tx_status()
1886 struct virt_dma_desc *vdesc = vchan_find_desc(&echan->vchan, in edma_tx_status() local
1889 if (vdesc) in edma_tx_status()
1890 txstate->residue = to_edma_desc(&vdesc->tx)->residue; in edma_tx_status()
1901 echan->edesc->vdesc.tx.cookie == cookie) { in edma_tx_status()
1903 vchan_cookie_complete(&echan->edesc->vdesc); in edma_tx_status()