Lines Matching refs:dwc
298 __dwc_regs(struct dw_dma_chan *dwc) in __dwc_regs() argument
300 return dwc->ch_regs; in __dwc_regs()
303 #define channel_readl(dwc, name) \ argument
304 readl(&(__dwc_regs(dwc)->name))
305 #define channel_writel(dwc, name, val) \ argument
306 writel((val), &(__dwc_regs(dwc)->name))
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 void (*encode_maxburst)(struct dw_dma_chan *dwc, u32 *maxburst);
331 u32 (*bytes2block)(struct dw_dma_chan *dwc, size_t bytes,
333 size_t (*block2bytes)(struct dw_dma_chan *dwc, u32 block, u32 width);