Lines Matching refs:get_base
228 static vaddr_t get_base(void) in get_base() function
237 vaddr_t rtc_base = get_base(); in stm32_rtc_write_unprotect()
245 vaddr_t rtc_base = get_base(); in stm32_rtc_write_protect()
252 return io_read32(get_base() + RTC_CR) & RTC_CR_BYPSHAD; in stm32_rtc_get_bypshad()
258 uint32_t prediv_s = io_read32(get_base() + RTC_PRER) & in stm32_rtc_get_subsecond()
272 return (io_read32(get_base() + RTC_PRER) & RTC_PRER_PREDIV_S_MASK) + 1; in stm32_rtc_get_subsecond_scale()
277 uint32_t cidcfgr = io_read32(get_base() + RTC_CIDCFGR(resource)); in cid1_has_access()
295 vaddr_t base = get_base(); in apply_rif_config()
386 io_write32(get_base() + RTC_SCR, flags); in stm32_rtc_clear_events()
391 vaddr_t rtc_base = get_base(); in stm32_rtc_it_handler()
505 vaddr_t base = get_base(); in stm32_rtc_enter_init_mode()
524 vaddr_t base = get_base(); in stm32_rtc_exit_init_mode()
576 vaddr_t base = get_base(); in stm32_rtc_init()
656 vaddr_t base = get_base(); in stm32_rtc_get_time()
695 vaddr_t rtc_base = get_base(); in stm32_rtc_set_time()
746 vaddr_t base = get_base(); in stm32_rtc_get_timestamp()
786 vaddr_t base = get_base(); in stm32_rtc_set_tamper_timestamp()
808 *ret = io_read32(get_base() + RTC_CR) & RTC_CR_TAMPTS; in stm32_rtc_is_timestamp_enabled()
827 vaddr_t rtc_base = get_base(); in stm32_rtc_read_alarm()
874 vaddr_t rtc_base = get_base(); in stm32_rtc_enable_alarm()
940 vaddr_t rtc_base = get_base(); in stm32_rtc_set_alarm()