Home
last modified time | relevance | path

Searched refs:RTC_MR (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/rtc/
A Drtc-pl030.c16 #define RTC_MR (4) macro
39 rtc_time64_to_tm(readl(rtc->base + RTC_MR), &alrm->time); in pl030_read_alarm()
47 writel(rtc_tm_to_time64(&alrm->time), rtc->base + RTC_MR); in pl030_set_alarm()
A Drtc-pl031.c29 #define RTC_MR 0x04 /* Match register */ macro
197 ret = pl031_stv2_time_to_tm(readl(ldata->base + RTC_MR), in pl031_stv2_read_alarm()
217 writel(time, ldata->base + RTC_MR); in pl031_stv2_set_alarm()
265 rtc_time64_to_tm(readl(ldata->base + RTC_MR), &alarm->time); in pl031_read_alarm()
277 writel(rtc_tm_to_time64(&alarm->time), ldata->base + RTC_MR); in pl031_set_alarm()

Completed in 4 milliseconds