Lines Matching refs:dw_dma_chan
266 struct dw_dma_chan { struct
298 __dwc_regs(struct dw_dma_chan *dwc) in __dwc_regs() argument
308 static inline struct dw_dma_chan *to_dw_dma_chan(struct dma_chan *chan) in to_dw_dma_chan()
310 return container_of(chan, struct dw_dma_chan, chan); in to_dw_dma_chan()
321 struct dw_dma_chan *chan;
326 void (*initialize_chan)(struct dw_dma_chan *dwc);
327 void (*suspend_chan)(struct dw_dma_chan *dwc, bool drain);
328 void (*resume_chan)(struct dw_dma_chan *dwc, bool drain);
329 u32 (*prepare_ctllo)(struct dw_dma_chan *dwc);
330 u32 (*bytes2block)(struct dw_dma_chan *dwc, size_t bytes,
332 size_t (*block2bytes)(struct dw_dma_chan *dwc, u32 block, u32 width);