Searched refs:atdma (Results 1 – 2 of 2) sorted by relevance
/drivers/dma/ |
D | at_hdmac.c | 125 struct at_dma *atdma = to_at_dma(chan->device); in atc_alloc_descriptor() local 128 desc = dma_pool_zalloc(atdma->dma_desc_pool, gfp_flags, &phys); in atc_alloc_descriptor() 230 struct at_dma *atdma = to_at_dma(atchan->chan_common.device); in atc_dostart() local 261 dma_writel(atdma, CHER, atchan->mask); in atc_dostart() 456 struct at_dma *atdma = to_at_dma(atchan->chan_common.device); in atc_chain_complete() local 487 dma_pool_free(atdma->memset_pool, desc->memset_vaddr, in atc_chain_complete() 606 struct at_dma *atdma = (struct at_dma *)dev_id; in at_dma_interrupt() local 613 imr = dma_readl(atdma, EBCIMR); in at_dma_interrupt() 614 status = dma_readl(atdma, EBCISR); in at_dma_interrupt() 620 dev_vdbg(atdma->dma_common.dev, in at_dma_interrupt() [all …]
|
D | at_hdmac_regs.h | 359 #define dma_readl(atdma, name) \ argument 360 __raw_readl((atdma)->regs + AT_DMA_##name) 361 #define dma_writel(atdma, name, val) \ argument 362 __raw_writel((val), (atdma)->regs + AT_DMA_##name) 380 struct at_dma *atdma = to_at_dma(atchan->chan_common.device); in vdbg_dump_regs() local 385 dma_readl(atdma, EBCIMR), in vdbg_dump_regs() 386 dma_readl(atdma, CHSR)); in vdbg_dump_regs() 410 static void atc_setup_irq(struct at_dma *atdma, int chan_id, int on) in atc_setup_irq() argument 418 dma_writel(atdma, EBCIER, ebci); in atc_setup_irq() 420 dma_writel(atdma, EBCIDR, ebci); in atc_setup_irq() [all …]
|