Home
last modified time | relevance | path

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

/openbmc/linux/drivers/dma/dw/
H A Dregs.h266 struct dw_dma_chan { struct
298 __dwc_regs(struct dw_dma_chan *dwc) in __dwc_regs() argument
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);
331 u32 (*bytes2block)(struct dw_dma_chan *dwc, size_t bytes,
[all …]
H A 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()
H A Dcore.c57 struct dw_dma_chan *dwc = to_dw_dma_chan(tx->chan); in dwc_tx_submit()
115 static void dwc_initialize(struct dw_dma_chan *dwc) in dwc_initialize()
467 struct dw_dma_chan *dwc; in dw_dma_tasklet()
541 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); in dwc_prep_dma_memcpy()
619 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); in dwc_prep_slave_sg()
765 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); in dw_dma_filter()
784 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); in dwc_verify_p_buswidth()
816 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); in dwc_verify_m_buswidth()
851 struct dw_dma_chan *dwc = to_dw_dma_chan(chan); in dwc_config()
1225 struct dw_dma_chan *dwc = &dw->chan[i]; in do_dma_probe()
[all …]
H A 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()