Lines Matching refs:rtc_base
32 void __iomem *rtc_base;
71 sec = readl(rtc->rtc_base + FTRTC010_RTC_SECOND);
72 min = readl(rtc->rtc_base + FTRTC010_RTC_MINUTE);
73 hour = readl(rtc->rtc_base + FTRTC010_RTC_HOUR);
74 days = readl(rtc->rtc_base + FTRTC010_RTC_DAYS);
75 offset = readl(rtc->rtc_base + FTRTC010_RTC_RECORD);
92 sec = readl(rtc->rtc_base + FTRTC010_RTC_SECOND);
93 min = readl(rtc->rtc_base + FTRTC010_RTC_MINUTE);
94 hour = readl(rtc->rtc_base + FTRTC010_RTC_HOUR);
95 day = readl(rtc->rtc_base + FTRTC010_RTC_DAYS);
99 writel(offset, rtc->rtc_base + FTRTC010_RTC_RECORD);
100 writel(0x01, rtc->rtc_base + FTRTC010_RTC_CR);
156 rtc->rtc_base = devm_ioremap(dev, res->start,
158 if (!rtc->rtc_base) {
171 sec = readl(rtc->rtc_base + FTRTC010_RTC_SECOND);
172 min = readl(rtc->rtc_base + FTRTC010_RTC_MINUTE);
173 hour = readl(rtc->rtc_base + FTRTC010_RTC_HOUR);
174 days = readl(rtc->rtc_base + FTRTC010_RTC_DAYS);