Lines Matching refs:AT91_RTC_ALARM
67 #define AT91_RTC_ALARM BIT(1) /* Alarm Flag */ macro
253 alrm->enabled = (at91_rtc_read_imr() & AT91_RTC_ALARM) in at91_rtc_readalarm()
269 at91_rtc_write_idr(AT91_RTC_ALARM); in at91_rtc_setalarm()
281 at91_rtc_write(AT91_RTC_SCCR, AT91_RTC_ALARM); in at91_rtc_setalarm()
282 at91_rtc_write_ier(AT91_RTC_ALARM); in at91_rtc_setalarm()
295 at91_rtc_write(AT91_RTC_SCCR, AT91_RTC_ALARM); in at91_rtc_alarm_irq_enable()
296 at91_rtc_write_ier(AT91_RTC_ALARM); in at91_rtc_alarm_irq_enable()
298 at91_rtc_write_idr(AT91_RTC_ALARM); in at91_rtc_alarm_irq_enable()
386 if (rtsr & AT91_RTC_ALARM) in at91_rtc_interrupt()
515 at91_rtc_write_idr(AT91_RTC_ACKUPD | AT91_RTC_ALARM | in at91_rtc_probe()
564 at91_rtc_write_idr(AT91_RTC_ACKUPD | AT91_RTC_ALARM | in at91_rtc_remove()
576 at91_rtc_write(AT91_RTC_IDR, AT91_RTC_ACKUPD | AT91_RTC_ALARM | in at91_rtc_shutdown()
590 at91_rtc_write(AT91_RTC_SCCR, AT91_RTC_ALARM); in at91_rtc_suspend()
593 & (AT91_RTC_ALARM|AT91_RTC_SECEV); in at91_rtc_suspend()