Lines Matching defs:io_base
38 void *io_base;
52 writel(ctrl, host->io_base + SPDIF_IN_CTRL);
53 writel(0xF, host->io_base + SPDIF_IN_IRQ_MASK);
74 writel(0x0, host->io_base + SPDIF_IN_IRQ_MASK);
79 u32 ctrl = readl(host->io_base + SPDIF_IN_CTRL);
91 writel(ctrl, host->io_base + SPDIF_IN_CTRL);
128 ctrl = readl(host->io_base + SPDIF_IN_CTRL);
130 writel(ctrl, host->io_base + SPDIF_IN_CTRL);
131 writel(0xF, host->io_base + SPDIF_IN_IRQ_MASK);
137 ctrl = readl(host->io_base + SPDIF_IN_CTRL);
139 writel(ctrl, host->io_base + SPDIF_IN_CTRL);
140 writel(0x0, host->io_base + SPDIF_IN_IRQ_MASK);
182 u32 irq_status = readl(host->io_base + SPDIF_IN_IRQ);
196 writel(0, host->io_base + SPDIF_IN_IRQ);
206 void __iomem *io_base;
209 io_base = devm_platform_ioremap_resource(pdev, 0);
210 if (IS_ERR(io_base))
211 return PTR_ERR(io_base);
221 host->io_base = io_base;