Home
last modified time | relevance | path

Searched refs:atdma (Results 1 – 2 of 2) sorted by relevance

/drivers/dma/
Dat_hdmac.c89 struct at_dma *atdma = to_at_dma(chan->device); in atc_alloc_descriptor() local
92 desc = dma_pool_alloc(atdma->dma_desc_pool, gfp_flags, &phys); in atc_alloc_descriptor()
205 struct at_dma *atdma = to_at_dma(atchan->chan_common.device); in atc_dostart() local
230 dma_writel(atdma, CHER, atchan->mask); in atc_dostart()
271 struct at_dma *atdma = to_at_dma(chan->device); in atc_get_bytes_left() local
319 if (!(dma_readl(atdma, CHSR) & AT_DMA_EMPT(chan_id))) in atc_get_bytes_left()
509 struct at_dma *atdma = (struct at_dma *)dev_id; in at_dma_interrupt() local
516 imr = dma_readl(atdma, EBCIMR); in at_dma_interrupt()
517 status = dma_readl(atdma, EBCISR); in at_dma_interrupt()
523 dev_vdbg(atdma->dma_common.dev, in at_dma_interrupt()
[all …]
Dat_hdmac_regs.h333 #define dma_readl(atdma, name) \ argument
334 __raw_readl((atdma)->regs + AT_DMA_##name)
335 #define dma_writel(atdma, name, val) \ argument
336 __raw_writel((val), (atdma)->regs + AT_DMA_##name)
354 struct at_dma *atdma = to_at_dma(atchan->chan_common.device); in vdbg_dump_regs() local
359 dma_readl(atdma, EBCIMR), in vdbg_dump_regs()
360 dma_readl(atdma, CHSR)); in vdbg_dump_regs()
384 static void atc_setup_irq(struct at_dma *atdma, int chan_id, int on) in atc_setup_irq() argument
392 dma_writel(atdma, EBCIER, ebci); in atc_setup_irq()
394 dma_writel(atdma, EBCIDR, ebci); in atc_setup_irq()
[all …]