Lines Matching refs:base
25 void __iomem *base;
31 writel(0, rtc->base + RTC_EOI);
39 rtc_time64_to_tm(readl(rtc->base + RTC_MR), &alrm->time);
47 writel(rtc_tm_to_time64(&alrm->time), rtc->base + RTC_MR);
56 rtc_time64_to_tm(readl(rtc->base + RTC_DR), tm);
73 writel(rtc_tm_to_time64(tm) + 1, rtc->base + RTC_LR);
108 rtc->base = ioremap(dev->res.start, resource_size(&dev->res));
109 if (!rtc->base) {
114 __raw_writel(0, rtc->base + RTC_CR);
115 __raw_writel(0, rtc->base + RTC_EOI);
133 iounmap(rtc->base);
144 writel(0, rtc->base + RTC_CR);
147 iounmap(rtc->base);