Home
last modified time | relevance | path

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

/linux-2.6.39/arch/unicore32/kernel/
Drtc.c44 writel(readl(RTC_RTSR) | RTC_RTSR_AL, RTC_RTSR); in puv3_rtc_alarmirq()
53 writel(readl(RTC_RTSR) | RTC_RTSR_HZ, RTC_RTSR); in puv3_rtc_tickirq()
65 tmp = readl(RTC_RTSR) & ~RTC_RTSR_ALE; in puv3_rtc_setaie()
70 writel(tmp, RTC_RTSR); in puv3_rtc_setaie()
80 tmp = readl(RTC_RTSR) & ~RTC_RTSR_HZE; in puv3_rtc_setpie()
85 writel(tmp, RTC_RTSR); in puv3_rtc_setpie()
124 alrm->enabled = readl(RTC_RTSR) & RTC_RTSR_ALE; in puv3_rtc_getalarm()
160 (readl(RTC_RTSR) & RTC_RTSR_HZE) ? "yes" : "no"); in puv3_rtc_proc()
218 writel(readl(RTC_RTSR) & ~RTC_RTSR_HZE, RTC_RTSR); in puv3_rtc_enable()
222 if ((readl(RTC_RTSR) & RTC_RTSR_HZE) == 0) { in puv3_rtc_enable()
[all …]
/linux-2.6.39/arch/unicore32/include/mach/
Dregs-rtc.h19 #define RTC_RTSR (PKUNITY_RTC_BASE + 0x0010) macro