Lines Matching refs:vd
21 static inline struct pt_dma_desc *to_pt_desc(struct virt_dma_desc *vd)
23 return container_of(vd, struct pt_dma_desc, vd);
40 static void pt_do_cleanup(struct virt_dma_desc *vd)
42 struct pt_dma_desc *desc = to_pt_desc(vd);
73 struct virt_dma_desc *vd = vchan_next_desc(&chan->vc);
75 return vd ? to_pt_desc(vd) : NULL;
82 struct virt_dma_desc *vd;
94 tx_desc = &desc->vd.tx;
95 vd = &desc->vd;
109 list_del(&desc->vd.node);
123 vchan_vdesc_fini(vd);
140 dma_chan = desc->vd.tx.chan;
171 vchan_tx_prep(&chan->vc, &desc->vd, flags);
221 return &desc->vd.tx;
234 return &desc->vd.tx;