Searched refs:RTC_RTSR (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/arch/unicore32/include/mach/
H A Dregs-rtc.h17 * RTC Status Reg RTC_RTSR
19 #define RTC_RTSR (PKUNITY_RTC_BASE + 0x0010) macro
/linux-4.1.27/drivers/rtc/
H A Drtc-puv3.c41 writel(readl(RTC_RTSR) | RTC_RTSR_AL, RTC_RTSR); puv3_rtc_alarmirq()
50 writel(readl(RTC_RTSR) | RTC_RTSR_HZ, RTC_RTSR); puv3_rtc_tickirq()
62 tmp = readl(RTC_RTSR) & ~RTC_RTSR_ALE; puv3_rtc_setaie()
67 writel(tmp, RTC_RTSR); puv3_rtc_setaie()
77 tmp = readl(RTC_RTSR) & ~RTC_RTSR_HZE; puv3_rtc_setpie()
82 writel(tmp, RTC_RTSR); puv3_rtc_setpie()
120 alrm->enabled = readl(RTC_RTSR) & RTC_RTSR_ALE; puv3_rtc_getalarm()
156 (readl(RTC_RTSR) & RTC_RTSR_HZE) ? "yes" : "no"); puv3_rtc_proc()
213 writel(readl(RTC_RTSR) & ~RTC_RTSR_HZE, RTC_RTSR); puv3_rtc_enable()
216 if ((readl(RTC_RTSR) & RTC_RTSR_HZE) == 0) { puv3_rtc_enable()
218 writel(readl(RTC_RTSR) | RTC_RTSR_HZE, RTC_RTSR); puv3_rtc_enable()

Completed in 47 milliseconds