Searched refs:RTC_ICSR (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/drivers/ |
| H A D | stm32_rtc.c | 30 #define RTC_ICSR U(0x0C) macro 506 uint32_t icsr = io_read32(base + RTC_ICSR); in stm32_rtc_enter_init_mode() 511 io_write32(base + RTC_ICSR, icsr); in stm32_rtc_enter_init_mode() 513 if (IO_READ32_POLL_TIMEOUT(base + RTC_ICSR, value, in stm32_rtc_enter_init_mode() 527 io_clrbits32(base + RTC_ICSR, RTC_ICSR_INIT); in stm32_rtc_exit_init_mode() 530 io_clrbits32(base + RTC_ICSR, RTC_ICSR_RSF); in stm32_rtc_exit_init_mode() 532 if (IO_READ32_POLL_TIMEOUT(base + RTC_ICSR, value, in stm32_rtc_exit_init_mode() 665 io_clrbits32(base + RTC_ICSR, RTC_ICSR_RSF); in stm32_rtc_get_time() 667 if (IO_READ32_POLL_TIMEOUT(base + RTC_ICSR, icsr, in stm32_rtc_get_time()
|