Searched refs:dw_dma_chan (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/dma/dw/ |
H A D | core.c | 49 static struct dw_desc *dwc_first_active(struct dw_dma_chan *dwc) in dwc_first_active() 57 struct dw_dma_chan *dwc = to_dw_dma_chan(tx->chan); in dwc_tx_submit() 78 static struct dw_desc *dwc_desc_get(struct dw_dma_chan *dwc) in dwc_desc_get() 97 static void dwc_desc_put(struct dw_dma_chan *dwc, struct dw_desc *desc) in dwc_desc_put() 115 static void dwc_initialize(struct dw_dma_chan *dwc) in dwc_initialize() 128 static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc) in dwc_dump_chan_regs() 139 static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc) in dwc_chan_disable() 149 static inline void dwc_do_single_block(struct dw_dma_chan *dwc, in dwc_do_single_block() 172 static void dwc_dostart(struct dw_dma_chan *dwc, struct dw_desc *first) in dwc_dostart() 217 static void dwc_dostart_first_queued(struct dw_dma_chan *dwc) in dwc_dostart_first_queued() [all …]
|
H A D | regs.h | 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, [all …]
|
H A D | idma32.c | 36 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() 207 static u32 idma32_prepare_ctllo(struct dw_dma_chan *dwc) in idma32_prepare_ctllo()
|
H A D | dw.c | 14 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() 76 static u32 dw_dma_prepare_ctllo(struct dw_dma_chan *dwc) in dw_dma_prepare_ctllo()
|