Lines Matching defs:chan
160 struct dma_chan chan; member
214 #define for_each_rcar_dmac_chan(i, dmac, chan) \ argument
328 static u32 rcar_dmac_chan_read(struct rcar_dmac_chan *chan, u32 reg) in rcar_dmac_chan_read()
336 static void rcar_dmac_chan_write(struct rcar_dmac_chan *chan, u32 reg, u32 data) in rcar_dmac_chan_write()
345 struct rcar_dmac_chan *chan) in rcar_dmac_chan_clear()
355 struct rcar_dmac_chan *chan; in rcar_dmac_chan_clear_all() local
370 static bool rcar_dmac_chan_is_busy(struct rcar_dmac_chan *chan) in rcar_dmac_chan_is_busy()
377 static void rcar_dmac_chan_start_xfer(struct rcar_dmac_chan *chan) in rcar_dmac_chan_start_xfer()
500 struct rcar_dmac_chan *chan = to_rcar_dmac_chan(tx->chan); in rcar_dmac_tx_submit() local
530 static int rcar_dmac_desc_alloc(struct rcar_dmac_chan *chan, gfp_t gfp) in rcar_dmac_desc_alloc()
571 static void rcar_dmac_desc_put(struct rcar_dmac_chan *chan, in rcar_dmac_desc_put()
582 static void rcar_dmac_desc_recycle_acked(struct rcar_dmac_chan *chan) in rcar_dmac_desc_recycle_acked()
623 static struct rcar_dmac_desc *rcar_dmac_desc_get(struct rcar_dmac_chan *chan) in rcar_dmac_desc_get()
661 static int rcar_dmac_xfer_chunk_alloc(struct rcar_dmac_chan *chan, gfp_t gfp) in rcar_dmac_xfer_chunk_alloc()
696 rcar_dmac_xfer_chunk_get(struct rcar_dmac_chan *chan) in rcar_dmac_xfer_chunk_get()
727 static void rcar_dmac_realloc_hwdesc(struct rcar_dmac_chan *chan, in rcar_dmac_realloc_hwdesc()
759 static int rcar_dmac_fill_hwdesc(struct rcar_dmac_chan *chan, in rcar_dmac_fill_hwdesc()
784 static void rcar_dmac_chcr_de_barrier(struct rcar_dmac_chan *chan) in rcar_dmac_chcr_de_barrier()
803 static void rcar_dmac_clear_chcr_de(struct rcar_dmac_chan *chan) in rcar_dmac_clear_chcr_de()
814 static void rcar_dmac_chan_halt(struct rcar_dmac_chan *chan) in rcar_dmac_chan_halt()
825 static void rcar_dmac_chan_reinit(struct rcar_dmac_chan *chan) in rcar_dmac_chan_reinit()
851 struct rcar_dmac_chan *chan; in rcar_dmac_stop_all_chan() local
863 static int rcar_dmac_chan_pause(struct dma_chan *chan) in rcar_dmac_chan_pause()
879 static void rcar_dmac_chan_configure_desc(struct rcar_dmac_chan *chan, in rcar_dmac_chan_configure_desc()
928 rcar_dmac_chan_prep_sg(struct rcar_dmac_chan *chan, struct scatterlist *sgl, in rcar_dmac_chan_prep_sg()
1054 static int rcar_dmac_alloc_chan_resources(struct dma_chan *chan) in rcar_dmac_alloc_chan_resources()
1074 static void rcar_dmac_free_chan_resources(struct dma_chan *chan) in rcar_dmac_free_chan_resources()
1127 rcar_dmac_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dma_dest, in rcar_dmac_prep_dma_memcpy()
1146 static int rcar_dmac_map_slave_addr(struct dma_chan *chan, in rcar_dmac_map_slave_addr()
1200 rcar_dmac_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl, in rcar_dmac_prep_slave_sg()
1224 rcar_dmac_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr, in rcar_dmac_prep_dma_cyclic()
1279 static int rcar_dmac_device_config(struct dma_chan *chan, in rcar_dmac_device_config()
1296 static int rcar_dmac_chan_terminate_all(struct dma_chan *chan) in rcar_dmac_chan_terminate_all()
1315 static unsigned int rcar_dmac_chan_get_residue(struct rcar_dmac_chan *chan, in rcar_dmac_chan_get_residue()
1422 static enum dma_status rcar_dmac_tx_status(struct dma_chan *chan, in rcar_dmac_tx_status()
1450 static void rcar_dmac_issue_pending(struct dma_chan *chan) in rcar_dmac_issue_pending()
1481 static void rcar_dmac_device_synchronize(struct dma_chan *chan) in rcar_dmac_device_synchronize()
1492 static irqreturn_t rcar_dmac_isr_desc_stage_end(struct rcar_dmac_chan *chan) in rcar_dmac_isr_desc_stage_end()
1514 static irqreturn_t rcar_dmac_isr_transfer_end(struct rcar_dmac_chan *chan) in rcar_dmac_isr_transfer_end()
1580 struct rcar_dmac_chan *chan = dev; in rcar_dmac_isr_channel() local
1629 struct rcar_dmac_chan *chan = dev; in rcar_dmac_isr_channel_thread() local
1684 static bool rcar_dmac_chan_filter(struct dma_chan *chan, void *arg) in rcar_dmac_chan_filter()
1706 struct dma_chan *chan; in rcar_dmac_of_xlate() local
1765 struct dma_chan *chan = &rchan->chan; in rcar_dmac_chan_probe() local
1854 struct rcar_dmac_chan *chan; in rcar_dmac_probe() local