Lines Matching refs:virt_dma_chan
22 struct virt_dma_chan { struct
39 static inline struct virt_dma_chan *to_virt_chan(struct dma_chan *chan) in to_virt_chan() argument
41 return container_of(chan, struct virt_dma_chan, chan); in to_virt_chan()
44 void vchan_dma_desc_free_list(struct virt_dma_chan *vc, struct list_head *head);
45 void vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev);
46 struct virt_dma_desc *vchan_find_desc(struct virt_dma_chan *, dma_cookie_t);
56 static inline struct dma_async_tx_descriptor *vchan_tx_prep(struct virt_dma_chan *vc, in vchan_tx_prep()
82 static inline bool vchan_issue_pending(struct virt_dma_chan *vc) in vchan_issue_pending()
96 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); in vchan_cookie_complete()
114 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); in vchan_vdesc_fini()
133 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); in vchan_cyclic_callback()
147 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); in vchan_terminate_vdesc()
161 static inline struct virt_dma_desc *vchan_next_desc(struct virt_dma_chan *vc) in vchan_next_desc()
177 static inline void vchan_get_all_descriptors(struct virt_dma_chan *vc, in vchan_get_all_descriptors()
187 static inline void vchan_free_chan_resources(struct virt_dma_chan *vc) in vchan_free_chan_resources()
211 static inline void vchan_synchronize(struct virt_dma_chan *vc) in vchan_synchronize()