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