Home
last modified time | relevance | path

Searched refs:dw_dma_chan (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/dma/dw/
Dregs.h266 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 void (*encode_maxburst)(struct dw_dma_chan *dwc, u32 *maxburst);
[all …]
Ddw.c14 static void dw_dma_initialize_chan(struct dw_dma_chan *dwc) in dw_dma_initialize_chan()
32 static void dw_dma_suspend_chan(struct dw_dma_chan *dwc, bool drain) in dw_dma_suspend_chan()
39 static void dw_dma_resume_chan(struct dw_dma_chan *dwc, bool drain) in dw_dma_resume_chan()
46 static u32 dw_dma_bytes2block(struct dw_dma_chan *dwc, in dw_dma_bytes2block()
62 static size_t dw_dma_block2bytes(struct dw_dma_chan *dwc, u32 block, u32 width) in dw_dma_block2bytes()
67 static u32 dw_dma_prepare_ctllo(struct dw_dma_chan *dwc) in dw_dma_prepare_ctllo()
82 static void dw_dma_encode_maxburst(struct dw_dma_chan *dwc, u32 *maxburst) in dw_dma_encode_maxburst()
Dcore.c51 static struct dw_desc *dwc_first_active(struct dw_dma_chan *dwc) in dwc_first_active()
59 struct dw_dma_chan *dwc = to_dw_dma_chan(tx->chan); in dwc_tx_submit()
80 static struct dw_desc *dwc_desc_get(struct dw_dma_chan *dwc) in dwc_desc_get()
99 static void dwc_desc_put(struct dw_dma_chan *dwc, struct dw_desc *desc) in dwc_desc_put()
117 static void dwc_initialize(struct dw_dma_chan *dwc) in dwc_initialize()
130 static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc) in dwc_dump_chan_regs()
141 static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc) in dwc_chan_disable()
151 static inline void dwc_do_single_block(struct dw_dma_chan *dwc, in dwc_do_single_block()
174 static void dwc_dostart(struct dw_dma_chan *dwc, struct dw_desc *first) in dwc_dostart()
219 static void dwc_dostart_first_queued(struct dw_dma_chan *dwc) in dwc_dostart_first_queued()
[all …]
Didma32.c36 static unsigned int idma32_get_slave_devfn(struct dw_dma_chan *dwc) in idma32_get_slave_devfn()
46 static void idma32_initialize_chan_xbar(struct dw_dma_chan *dwc) in idma32_initialize_chan_xbar()
141 static void idma32_initialize_chan_generic(struct dw_dma_chan *dwc) in idma32_initialize_chan_generic()
161 static void idma32_suspend_chan(struct dw_dma_chan *dwc, bool drain) in idma32_suspend_chan()
171 static void idma32_resume_chan(struct dw_dma_chan *dwc, bool drain) in idma32_resume_chan()
181 static u32 idma32_bytes2block(struct dw_dma_chan *dwc, in idma32_bytes2block()
197 static size_t idma32_block2bytes(struct dw_dma_chan *dwc, u32 block, u32 width) in idma32_block2bytes()
202 static u32 idma32_prepare_ctllo(struct dw_dma_chan *dwc) in idma32_prepare_ctllo()
212 static void idma32_encode_maxburst(struct dw_dma_chan *dwc, u32 *maxburst) in idma32_encode_maxburst()