Lines Matching refs:AT91_RTT_ALMIEN
48 #define AT91_RTT_ALMIEN BIT(16) /* Alarm Interrupt Enable */ macro
143 rtt_writel(rtc, MR, mr & ~(AT91_RTT_ALMIEN | AT91_RTT_RTTINCIEN)); in at91_rtc_settime()
164 mr &= ~AT91_RTT_ALMIEN; in at91_rtc_settime()
192 if (rtt_readl(rtc, MR) & AT91_RTT_ALMIEN) in at91_rtc_readalarm()
215 rtt_writel(rtc, MR, mr & ~AT91_RTT_ALMIEN); in at91_rtc_setalarm()
226 rtt_writel(rtc, MR, mr | AT91_RTT_ALMIEN); in at91_rtc_setalarm()
240 rtt_writel(rtc, MR, mr | AT91_RTT_ALMIEN); in at91_rtc_alarm_irq_enable()
242 rtt_writel(rtc, MR, mr & ~AT91_RTT_ALMIEN); in at91_rtc_alarm_irq_enable()
266 mr = rtt_readl(rtc, MR) & (AT91_RTT_ALMIEN | AT91_RTT_RTTINCIEN); in at91_rtc_cache_events()
311 ~(AT91_RTT_ALMIEN | AT91_RTT_RTTINCIEN)); in at91_rtc_interrupt()
404 mr &= ~(AT91_RTT_ALMIEN | AT91_RTT_RTTINCIEN); in at91_rtc_probe()
452 rtt_writel(rtc, MR, mr & ~(AT91_RTT_ALMIEN | AT91_RTT_RTTINCIEN)); in at91_rtc_remove()
462 rtc->imr = mr & (AT91_RTT_ALMIEN | AT91_RTT_RTTINCIEN); in at91_rtc_shutdown()
479 rtc->imr = mr & (AT91_RTT_ALMIEN | AT91_RTT_RTTINCIEN); in at91_rtc_suspend()
481 if (device_may_wakeup(dev) && (mr & AT91_RTT_ALMIEN)) { in at91_rtc_suspend()