Lines Matching refs:base
36 void __iomem *base;
59 if (readl(rmobile_pd->base + PSTR) & mask) {
60 writel(mask, rmobile_pd->base + SPDCR);
62 readl_poll_timeout_atomic(rmobile_pd->base + SPDCR, val,
67 readl(rmobile_pd->base + PSTR));
77 if (readl(rmobile_pd->base + PSTR) & mask)
80 writel(mask, rmobile_pd->base + SWUCR);
82 ret = readl_poll_timeout_atomic(rmobile_pd->base + SWUCR, val,
88 readl(rmobile_pd->base + PSTR));
267 static int __init rmobile_add_pm_domains(void __iomem *base,
288 pd->base = base;
296 rmobile_add_pm_domains(base, np, &pd->genpd);
305 void __iomem *base;
309 base = of_iomap(np, 0);
310 if (!base) {
317 iounmap(base);
328 ret = rmobile_add_pm_domains(base, pmd, NULL);