Lines Matching refs:virt_dma_chan
24 struct virt_dma_chan { struct
41 static inline struct virt_dma_chan *to_virt_chan(struct dma_chan *chan) in to_virt_chan() argument
43 return container_of(chan, struct virt_dma_chan, chan); in to_virt_chan()
46 void vchan_dma_desc_free_list(struct virt_dma_chan *vc, struct list_head *head);
47 void vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev);
48 struct virt_dma_desc *vchan_find_desc(struct virt_dma_chan *, dma_cookie_t);
58 static inline struct dma_async_tx_descriptor *vchan_tx_prep(struct virt_dma_chan *vc, in vchan_tx_prep()
81 static inline bool vchan_issue_pending(struct virt_dma_chan *vc) in vchan_issue_pending()
95 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); in vchan_cookie_complete()
113 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); in vchan_vdesc_fini()
127 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); in vchan_cyclic_callback()
141 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); in vchan_terminate_vdesc()
158 static inline struct virt_dma_desc *vchan_next_desc(struct virt_dma_chan *vc) in vchan_next_desc()
174 static inline void vchan_get_all_descriptors(struct virt_dma_chan *vc, in vchan_get_all_descriptors()
183 static inline void vchan_free_chan_resources(struct virt_dma_chan *vc) in vchan_free_chan_resources()
207 static inline void vchan_synchronize(struct virt_dma_chan *vc) in vchan_synchronize()