Lines Matching refs:dma_regs
186 void __iomem *dma_regs; member
210 writel(val, priv->dma_regs + offset); in nixge_dma_write_reg()
216 writel(lower_32_bits(addr), priv->dma_regs + offset); in nixge_dma_write_desc_reg()
218 writel(upper_32_bits(addr), priv->dma_regs + offset + 4); in nixge_dma_write_desc_reg()
224 return readl(priv->dma_regs + offset); in nixge_dma_read_reg()
242 readl_poll_timeout((priv)->dma_regs + (addr), (val), (cond), \
1275 priv->dma_regs = devm_platform_get_and_ioremap_resource(pdev, 0, NULL); in nixge_of_get_resources()
1277 priv->dma_regs = devm_platform_ioremap_resource_byname(pdev, "dma"); in nixge_of_get_resources()
1278 if (IS_ERR(priv->dma_regs)) { in nixge_of_get_resources()
1280 return PTR_ERR(priv->dma_regs); in nixge_of_get_resources()
1283 priv->ctrl_regs = priv->dma_regs + NIXGE_REG_CTRL_OFFSET; in nixge_of_get_resources()