Lines Matching refs:vdesc
118 struct virt_dma_desc *vdesc; in hsu_dma_start_transfer() local
121 vdesc = vchan_next_desc(&hsuc->vchan); in hsu_dma_start_transfer()
122 if (!vdesc) { in hsu_dma_start_transfer()
127 list_del(&vdesc->node); in hsu_dma_start_transfer()
128 hsuc->desc = to_hsu_dma_desc(vdesc); in hsu_dma_start_transfer()
232 vchan_cookie_complete(&desc->vdesc); in hsu_dma_do_irq()
261 static void hsu_dma_desc_free(struct virt_dma_desc *vdesc) in hsu_dma_desc_free() argument
263 struct hsu_dma_desc *desc = to_hsu_dma_desc(vdesc); in hsu_dma_desc_free()
295 return vchan_tx_prep(&hsuc->vchan, &desc->vdesc, flags); in hsu_dma_prep_slave_sg()
330 struct virt_dma_desc *vdesc; in hsu_dma_tx_status() local
340 vdesc = vchan_find_desc(&hsuc->vchan, cookie); in hsu_dma_tx_status()
341 if (hsuc->desc && cookie == hsuc->desc->vdesc.tx.cookie) { in hsu_dma_tx_status()
345 } else if (vdesc) { in hsu_dma_tx_status()
346 bytes = to_hsu_dma_desc(vdesc)->length; in hsu_dma_tx_status()
404 hsu_dma_desc_free(&hsuc->desc->vdesc); in hsu_dma_terminate_all()