Lines Matching refs:vd
84 struct virt_dma_desc vd; member
116 static inline struct hisi_dma_desc *to_hisi_dma_desc(struct virt_dma_desc *vd) in to_hisi_dma_desc() argument
118 return container_of(vd, struct hisi_dma_desc, vd); in to_hisi_dma_desc()
235 static void hisi_dma_desc_free(struct virt_dma_desc *vd) in hisi_dma_desc_free() argument
237 kfree(to_hisi_dma_desc(vd)); in hisi_dma_desc_free()
255 return vchan_tx_prep(&chan->vc, &desc->vd, flags); in hisi_dma_prep_dma_memcpy()
270 struct virt_dma_desc *vd; in hisi_dma_start_transfer() local
272 vd = vchan_next_desc(&chan->vc); in hisi_dma_start_transfer()
273 if (!vd) { in hisi_dma_start_transfer()
277 list_del(&vd->node); in hisi_dma_start_transfer()
278 desc = to_hisi_dma_desc(vd); in hisi_dma_start_transfer()
321 vchan_terminate_vdesc(&chan->desc->vd); in hisi_dma_terminate_all()
442 vchan_cookie_complete(&desc->vd); in hisi_dma_irq()