Home
last modified time | relevance | path

Searched refs:get_base (Results 1 – 5 of 5) sorted by relevance

/optee_os/core/drivers/
H A Dstm32_rtc.c228 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()
[all …]
H A Dstm32_iwdg.c128 static vaddr_t get_base(struct stm32_iwdg_device *iwdg) in get_base() function
161 vaddr_t iwdg_base = get_base(iwdg); in iwdg_wait_sync()
175 vaddr_t iwdg_base = get_base(iwdg); in stm32_iwdg_it_ack()
187 vaddr_t iwdg_base = get_base(iwdg); in stm32_iwdg_it_handler()
209 io_write32(get_base(iwdg) + IWDG_KR_OFFSET, IWDG_KR_RELOAD_KEY); in stm32_iwdg_it_handler()
221 vaddr_t iwdg_base = get_base(iwdg); in configure_timeout()
259 io_write32(get_base(iwdg) + IWDG_KR_OFFSET, IWDG_KR_START_KEY); in iwdg_start()
272 io_write32(get_base(iwdg) + IWDG_KR_OFFSET, IWDG_KR_RELOAD_KEY); in iwdg_refresh()
496 vaddr_t iwdg_base = get_base(iwdg); in iwdg_wdt_get_version_and_status()
H A Dstm32_i2c.c308 static vaddr_t get_base(struct i2c_handle_s *hi2c) in get_base() function
332 vaddr_t base = get_base(hi2c); in save_cfg()
347 vaddr_t base = get_base(hi2c); in restore_cfg()
373 vaddr_t __maybe_unused base = get_base(hi2c); in dump_i2c()
673 vaddr_t base = get_base(hi2c); in i2c_config_analog_filter()
863 base = get_base(hi2c); in stm32_i2c_init()
931 vaddr_t base = get_base(hi2c); in i2c_flush_txdr()
957 vaddr_t isr = get_base(hi2c) + I2C_ISR; in wait_isr_event()
976 vaddr_t base = get_base(hi2c); in i2c_ack_failed()
1013 if (io_read32(get_base(hi2c) + I2C_ISR) & I2C_ISR_TXIS) in i2c_wait_txis()
[all …]
H A Dstm32_rng.c102 static vaddr_t get_base(void) in get_base() function
130 vaddr_t rng_base = get_base(); in conceal_seed_error_cond_reset()
195 vaddr_t rng_base = get_base(); in conceal_seed_error_sw_reset()
308 vaddr_t rng_base = get_base(); in stm32_rng_init()
418 rng_base = get_base(); in stm32_rng_read()
493 vaddr_t base = get_base(); in stm32_rng_pm_resume()
530 vaddr_t rng_base = get_base(); in stm32_rng_pm_suspend()
658 version = io_read32(get_base() + RNG_VERR); in stm32_rng_probe()
H A Dstm32_tamp.c683 static vaddr_t get_base(void) in get_base() function
695 vaddr_t base = get_base(); in apply_rif_config()
774 vaddr_t base = get_base(); in stm32_tamp_apply_bkpr_rif_conf()
831 vaddr_t base = get_base(); in stm32_tamp_set_secure_bkpregs()
870 vaddr_t base = get_base(); in stm32_tamp_set_secure()
891 vaddr_t base = get_base(); in stm32_tamp_set_privilege()
1041 vaddr_t base = get_base(); in stm32_tamp_it_handler()
1319 vaddr_t base = get_base(); in stm32_tamp_set_config()
1402 vaddr_t base = get_base(); in stm32_tamp_set_mask()
1427 vaddr_t base = get_base(); in stm32_tamp_unset_mask()
[all …]