Lines Matching refs:base
44 return __raw_readl(drvdata->base + ACINTSTS) & ACINT_REGACCRDY; in txx9aclc_regready()
52 void __iomem *base = drvdata->base; in txx9aclc_ac97_read() local
55 if (!(__raw_readl(base + ACINTSTS) & ACINT_CODECRDY(ac97->num))) in txx9aclc_ac97_read()
59 __raw_writel(dat, base + ACREGACC); in txx9aclc_ac97_read()
60 __raw_writel(ACINT_REGACCRDY, base + ACINTEN); in txx9aclc_ac97_read()
62 __raw_writel(ACINT_REGACCRDY, base + ACINTDIS); in txx9aclc_ac97_read()
67 dat = __raw_readl(base + ACREGACC); in txx9aclc_ac97_read()
76 __raw_writel(ACINT_REGACCRDY, base + ACINTDIS); in txx9aclc_ac97_read()
85 void __iomem *base = drvdata->base; in txx9aclc_ac97_write() local
89 base + ACREGACC); in txx9aclc_ac97_write()
90 __raw_writel(ACINT_REGACCRDY, base + ACINTEN); in txx9aclc_ac97_write()
95 __raw_writel(ACINT_REGACCRDY, base + ACINTDIS); in txx9aclc_ac97_write()
101 void __iomem *base = drvdata->base; in txx9aclc_ac97_cold_reset() local
104 __raw_writel(ACCTL_ENLINK, base + ACCTLDIS); in txx9aclc_ac97_cold_reset()
107 __raw_writel(ACCTL_ENLINK, base + ACCTLEN); in txx9aclc_ac97_cold_reset()
109 __raw_writel(ready, base + ACINTEN); in txx9aclc_ac97_cold_reset()
111 (__raw_readl(base + ACINTSTS) & ready) == ready, in txx9aclc_ac97_cold_reset()
115 __raw_readl(base + ACINTSTS)); in txx9aclc_ac97_cold_reset()
117 __raw_writel(ACINT_REGACCRDY, base + ACINTSTS); in txx9aclc_ac97_cold_reset()
118 __raw_writel(ready, base + ACINTDIS); in txx9aclc_ac97_cold_reset()
131 void __iomem *base = drvdata->base; in txx9aclc_ac97_irq() local
133 __raw_writel(__raw_readl(base + ACINTMSTS), base + ACINTDIS); in txx9aclc_ac97_irq()
149 __raw_writel(ACCTL_ENLINK, drvdata->base + ACCTLDIS); in txx9aclc_ac97_remove()
192 drvdata->base = devm_ioremap_resource(&pdev->dev, r); in txx9aclc_ac97_dev_probe()
193 if (IS_ERR(drvdata->base)) in txx9aclc_ac97_dev_probe()
194 return PTR_ERR(drvdata->base); in txx9aclc_ac97_dev_probe()