Lines Matching refs:vd
25 struct virt_dma_desc *vd = to_virt_desc(tx); in vchan_tx_submit() local
32 list_add_tail(&vd->node, &vc->desc_submitted); in vchan_tx_submit()
36 vc, vd, cookie); in vchan_tx_submit()
45 struct virt_dma_desc *vd; in vchan_find_desc() local
47 list_for_each_entry(vd, &vc->desc_issued, node) in vchan_find_desc()
48 if (vd->tx.cookie == cookie) in vchan_find_desc()
49 return vd; in vchan_find_desc()
62 struct virt_dma_desc *vd; in vchan_complete() local
69 vd = vc->cyclic; in vchan_complete()
70 if (vd) { in vchan_complete()
72 cb = vd->tx.callback; in vchan_complete()
73 cb_data = vd->tx.callback_param; in vchan_complete()
81 vd = list_first_entry(&head, struct virt_dma_desc, node); in vchan_complete()
82 cb = vd->tx.callback; in vchan_complete()
83 cb_data = vd->tx.callback_param; in vchan_complete()
85 list_del(&vd->node); in vchan_complete()
87 vc->desc_free(vd); in vchan_complete()
97 struct virt_dma_desc *vd = list_first_entry(head, in vchan_dma_desc_free_list() local
99 list_del(&vd->node); in vchan_dma_desc_free_list()
100 dev_dbg(vc->chan.device->dev, "txd %p: freeing\n", vd); in vchan_dma_desc_free_list()
101 vc->desc_free(vd); in vchan_dma_desc_free_list()