Lines Matching refs:at91_rtc_write
89 #define at91_rtc_write(field, val) \ macro
116 at91_rtc_write(AT91_RTC_IER, mask); in at91_rtc_write_ier()
125 at91_rtc_write(AT91_RTC_IDR, mask); in at91_rtc_write_idr()
216 at91_rtc_write(AT91_RTC_CR, cr | AT91_RTC_UPDCAL | AT91_RTC_UPDTIM); in at91_rtc_settime()
222 at91_rtc_write(AT91_RTC_TIMR, in at91_rtc_settime()
227 at91_rtc_write(AT91_RTC_CALR, in at91_rtc_settime()
237 at91_rtc_write(AT91_RTC_SCCR, AT91_RTC_SECEV); in at91_rtc_settime()
238 at91_rtc_write(AT91_RTC_CR, cr & ~(AT91_RTC_UPDCAL | AT91_RTC_UPDTIM)); in at91_rtc_settime()
271 at91_rtc_write(AT91_RTC_TIMALR, in at91_rtc_setalarm()
276 at91_rtc_write(AT91_RTC_CALALR, in at91_rtc_setalarm()
282 at91_rtc_write(AT91_RTC_SCCR, AT91_RTC_ALARM); in at91_rtc_setalarm()
296 at91_rtc_write(AT91_RTC_SCCR, AT91_RTC_ALARM); in at91_rtc_alarm_irq_enable()
347 at91_rtc_write(AT91_RTC_MR, mr & ~AT91_RTC_NEGPPM); in at91_rtc_setoffset()
368 at91_rtc_write(AT91_RTC_MR, mr); in at91_rtc_setoffset()
396 at91_rtc_write(AT91_RTC_SCCR, rtsr); /* clear status reg */ in at91_rtc_interrupt()
512 at91_rtc_write(AT91_RTC_CR, 0); in at91_rtc_probe()
513 at91_rtc_write(AT91_RTC_MR, at91_rtc_read(AT91_RTC_MR) & ~AT91_RTC_HRMOD); in at91_rtc_probe()
577 at91_rtc_write(AT91_RTC_IDR, AT91_RTC_ACKUPD | AT91_RTC_ALARM | in at91_rtc_shutdown()
591 at91_rtc_write(AT91_RTC_SCCR, AT91_RTC_ALARM); in at91_rtc_suspend()