Lines Matching refs:time
47 rtc_time_to_tm(readl(rtc->base + RTC_MR), &alrm->time);
54 unsigned long time;
60 ret = rtc_valid_tm(&alrm->time);
62 ret = rtc_tm_to_time(&alrm->time, &time);
64 writel(time, rtc->base + RTC_MR);
78 * Set the RTC time. Unfortunately, we can't accurately set
82 * edge of the 1Hz clock, we must write the time one second
88 unsigned long time;
91 ret = rtc_tm_to_time(tm, &time);
93 writel(time + 1, rtc->base + RTC_LR);