60 vd->
tx.flags = tx_flags;
84 static inline void vchan_cookie_complete(
struct virt_dma_desc *vd)
88 dma_cookie_complete(&vd->
tx);
89 dev_vdbg(vc->
chan.device->dev,
"txd %p[%x]: marked complete\n",
93 tasklet_schedule(&vc->
task);
100 static inline void vchan_cyclic_callback(
struct virt_dma_desc *vd)
105 tasklet_schedule(&vc->
task);
132 static inline void vchan_get_all_descriptors(
struct virt_dma_chan *vc,
140 static inline void vchan_free_chan_resources(
struct virt_dma_chan *vc)
146 vchan_get_all_descriptors(vc, &
head);
147 spin_unlock_irqrestore(&vc->
lock, flags);