Home
last modified time | relevance | path

Searched refs:rtsr (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/rtc/
Drtc-pxa.c117 u32 rtsr; in rtsr_clear_bits() local
119 rtsr = rtc_readl(pxa_rtc, RTSR); in rtsr_clear_bits()
120 rtsr &= ~RTSR_TRIG_MASK; in rtsr_clear_bits()
121 rtsr &= ~mask; in rtsr_clear_bits()
122 rtc_writel(pxa_rtc, RTSR, rtsr); in rtsr_clear_bits()
127 u32 rtsr; in rtsr_set_bits() local
129 rtsr = rtc_readl(pxa_rtc, RTSR); in rtsr_set_bits()
130 rtsr &= ~RTSR_TRIG_MASK; in rtsr_set_bits()
131 rtsr |= mask; in rtsr_set_bits()
132 rtc_writel(pxa_rtc, RTSR, rtsr); in rtsr_set_bits()
[all …]
Drtc-sa1100.c111 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()
[all …]
Drtc-at91rm9200.c220 unsigned int rtsr; in at91_rtc_interrupt() local
223 rtsr = at91_sys_read(AT91_RTC_SR) & at91_sys_read(AT91_RTC_IMR); in at91_rtc_interrupt()
224 if (rtsr) { /* this interrupt is shared! Is it ours? */ in at91_rtc_interrupt()
225 if (rtsr & AT91_RTC_ALARM) in at91_rtc_interrupt()
227 if (rtsr & AT91_RTC_SECEV) in at91_rtc_interrupt()
229 if (rtsr & AT91_RTC_ACKUPD) in at91_rtc_interrupt()
232 at91_sys_write(AT91_RTC_SCCR, rtsr); /* clear status reg */ in at91_rtc_interrupt()