Lines Matching refs:rtsr
111 unsigned int rtsr; in sa1100_rtc_interrupt() local
116 rtsr = RTSR; in sa1100_rtc_interrupt()
121 if (rtsr & (RTSR_ALE | RTSR_HZE)) { in sa1100_rtc_interrupt()
125 RTSR = (RTSR_AL | RTSR_HZ) & (rtsr >> 2); in sa1100_rtc_interrupt()
138 if (rtsr & RTSR_AL) in sa1100_rtc_interrupt()
139 rtsr &= ~RTSR_ALE; in sa1100_rtc_interrupt()
140 RTSR = rtsr & (RTSR_ALE | RTSR_HZE); in sa1100_rtc_interrupt()
143 if (rtsr & RTSR_AL) in sa1100_rtc_interrupt()
145 if (rtsr & RTSR_HZ) in sa1100_rtc_interrupt()
150 if (rtsr & RTSR_AL && rtc_periodic_alarm(&rtc_alarm)) in sa1100_rtc_interrupt()
229 u32 rtsr; in sa1100_rtc_read_alarm() local
232 rtsr = RTSR; in sa1100_rtc_read_alarm()
233 alrm->enabled = (rtsr & RTSR_ALE) ? 1 : 0; in sa1100_rtc_read_alarm()
234 alrm->pending = (rtsr & RTSR_AL) ? 1 : 0; in sa1100_rtc_read_alarm()