Lines Matching refs:base
38 void __iomem *base;
60 if (__raw_readl(rmobile_pd->base + PSTR) & mask) {
62 __raw_writel(mask, rmobile_pd->base + SPDCR);
65 if (!(__raw_readl(rmobile_pd->base + SPDCR) & mask))
72 __raw_readl(rmobile_pd->base + PSTR));
83 if (__raw_readl(rmobile_pd->base + PSTR) & mask)
86 __raw_writel(mask, rmobile_pd->base + SWUCR);
89 if (!(__raw_readl(rmobile_pd->base + SWUCR) & mask))
101 __raw_readl(rmobile_pd->base + PSTR));
280 static int __init rmobile_add_pm_domains(void __iomem *base,
301 pd->base = base;
309 rmobile_add_pm_domains(base, np, &pd->genpd);
318 void __iomem *base;
322 base = of_iomap(np, 0);
323 if (!base) {
330 iounmap(base);
341 ret = rmobile_add_pm_domains(base, pmd, NULL);