Searched refs:chn_base (Results 1 – 2 of 2) sorted by relevance
196 void __iomem *chn_base; member254 u32 orig = readl(schan->chn_base + reg); in sprd_dma_chn_update()258 writel(tmp, schan->chn_base + reg); in sprd_dma_chn_update()350 pause = readl(schan->chn_base + SPRD_DMA_CHN_PAUSE); in sprd_dma_pause_resume()368 u32 cfg = readl(schan->chn_base + SPRD_DMA_CHN_CFG); in sprd_dma_stop_and_disable()381 addr = readl(schan->chn_base + SPRD_DMA_CHN_SRC_ADDR); in sprd_dma_get_src_addr()382 addr_high = readl(schan->chn_base + SPRD_DMA_CHN_WARP_PTR) & in sprd_dma_get_src_addr()392 addr = readl(schan->chn_base + SPRD_DMA_CHN_DES_ADDR); in sprd_dma_get_dst_addr()393 addr_high = readl(schan->chn_base + SPRD_DMA_CHN_WARP_TO) & in sprd_dma_get_dst_addr()402 u32 intc_sts = readl(schan->chn_base + SPRD_DMA_CHN_INTC) & in sprd_dma_get_int_type()[all …]
150 void __iomem *chn_base; member186 return readl(jzdma->chn_base + reg + JZ_DMA_REG_CHAN(chn)); in jz4780_dma_chn_readl()192 writel(val, jzdma->chn_base + reg + JZ_DMA_REG_CHAN(chn)); in jz4780_dma_chn_writel()878 jzdma->chn_base = devm_platform_ioremap_resource(pdev, 0); in jz4780_dma_probe()879 if (IS_ERR(jzdma->chn_base)) in jz4780_dma_probe()880 return PTR_ERR(jzdma->chn_base); in jz4780_dma_probe()893 jzdma->ctrl_base = jzdma->chn_base + JZ4780_DMA_CTRL_OFFSET; in jz4780_dma_probe()