• Home
  • Raw
  • Download

Lines Matching refs:cid

128 		int cid, int burst_mode, void __iomem *base);
134 int cid, int burst_mode, void __iomem *base);
164 int cid, int burst_mode, void __iomem *base) in sirfsoc_dma_execute_hw_a7v2() argument
195 int cid, int burst_mode, void __iomem *base) in sirfsoc_dma_execute_hw_a7v1() argument
198 writel_relaxed((1 << cid), base + SIRFSOC_DMA_EARLY_RESP_SET); in sirfsoc_dma_execute_hw_a7v1()
199 writel_relaxed(sdesc->width, base + SIRFSOC_DMA_WIDTH_0 + cid * 4); in sirfsoc_dma_execute_hw_a7v1()
200 writel_relaxed(cid | (burst_mode << SIRFSOC_DMA_MODE_CTRL_BIT) | in sirfsoc_dma_execute_hw_a7v1()
202 base + cid * 0x10 + SIRFSOC_DMA_CH_CTRL); in sirfsoc_dma_execute_hw_a7v1()
203 writel_relaxed(sdesc->xlen, base + cid * 0x10 + SIRFSOC_DMA_CH_XLEN); in sirfsoc_dma_execute_hw_a7v1()
204 writel_relaxed(sdesc->ylen, base + cid * 0x10 + SIRFSOC_DMA_CH_YLEN); in sirfsoc_dma_execute_hw_a7v1()
206 (1 << cid), base + SIRFSOC_DMA_INT_EN); in sirfsoc_dma_execute_hw_a7v1()
207 writel(sdesc->addr >> 2, base + cid * 0x10 + SIRFSOC_DMA_CH_ADDR); in sirfsoc_dma_execute_hw_a7v1()
209 writel((1 << cid) | 1 << (cid + 16) | in sirfsoc_dma_execute_hw_a7v1()
217 int cid, int burst_mode, void __iomem *base) in sirfsoc_dma_execute_hw_a6() argument
219 writel_relaxed(sdesc->width, base + SIRFSOC_DMA_WIDTH_0 + cid * 4); in sirfsoc_dma_execute_hw_a6()
220 writel_relaxed(cid | (burst_mode << SIRFSOC_DMA_MODE_CTRL_BIT) | in sirfsoc_dma_execute_hw_a6()
222 base + cid * 0x10 + SIRFSOC_DMA_CH_CTRL); in sirfsoc_dma_execute_hw_a6()
223 writel_relaxed(sdesc->xlen, base + cid * 0x10 + SIRFSOC_DMA_CH_XLEN); in sirfsoc_dma_execute_hw_a6()
224 writel_relaxed(sdesc->ylen, base + cid * 0x10 + SIRFSOC_DMA_CH_YLEN); in sirfsoc_dma_execute_hw_a6()
226 (1 << cid), base + SIRFSOC_DMA_INT_EN); in sirfsoc_dma_execute_hw_a6()
227 writel(sdesc->addr >> 2, base + cid * 0x10 + SIRFSOC_DMA_CH_ADDR); in sirfsoc_dma_execute_hw_a6()
229 writel((1 << cid) | 1 << (cid + 16) | in sirfsoc_dma_execute_hw_a6()
240 int cid = schan->chan.chan_id; in sirfsoc_dma_execute() local
255 cid = 0; in sirfsoc_dma_execute()
258 sdma->exec_desc(sdesc, cid, schan->mode, base); in sirfsoc_dma_execute()
447 int cid = schan->chan.chan_id; in sirfsoc_dma_terminate_all() local
454 writel_relaxed(1 << cid, sdma->base + SIRFSOC_DMA_INT_EN_CLR); in sirfsoc_dma_terminate_all()
455 writel_relaxed(1 << cid, sdma->base + SIRFSOC_DMA_CH_INT); in sirfsoc_dma_terminate_all()
456 writel_relaxed((1 << cid) | 1 << (cid + 16), in sirfsoc_dma_terminate_all()
459 writel_relaxed(1 << cid, sdma->base + SIRFSOC_DMA_CH_VALID); in sirfsoc_dma_terminate_all()
470 ~(1 << cid), sdma->base + SIRFSOC_DMA_INT_EN); in sirfsoc_dma_terminate_all()
473 ~((1 << cid) | 1 << (cid + 16)), in sirfsoc_dma_terminate_all()
475 writel_relaxed(1 << cid, sdma->base + SIRFSOC_DMA_CH_VALID); in sirfsoc_dma_terminate_all()
493 int cid = schan->chan.chan_id; in sirfsoc_dma_pause_chan() local
500 writel_relaxed((1 << cid) | 1 << (cid + 16), in sirfsoc_dma_pause_chan()
510 ~((1 << cid) | 1 << (cid + 16)), in sirfsoc_dma_pause_chan()
527 int cid = schan->chan.chan_id; in sirfsoc_dma_resume_chan() local
533 writel_relaxed((1 << cid) | 1 << (cid + 16), in sirfsoc_dma_resume_chan()
543 ((1 << cid) | 1 << (cid + 16)), in sirfsoc_dma_resume_chan()
649 int cid = schan->chan.chan_id; in sirfsoc_dma_tx_status() local
672 cid = 0; in sirfsoc_dma_tx_status()
678 sdma->base + cid * 0x10 + SIRFSOC_DMA_CH_ADDR) << 2; in sirfsoc_dma_tx_status()