Searched refs:bsec_base (Results 1 – 1 of 1) sorted by relevance
166 static vaddr_t bsec_base(void) in bsec_base() function173 return io_read32(bsec_base() + BSEC_OTP_STATUS_OFF); in bsec_status()219 if (io_read32(bsec_base() + BSEC_ERROR_OFF + bank) & bit) in check_no_error()223 io_read32(bsec_base() + BSEC_DISTURBED_OFF + bank) & bit) in check_no_error()233 io_mask32(bsec_base() + BSEC_OTP_CONF_OFF, BSEC_CONF_POWER_UP_MASK, in power_up_safmem()251 io_mask32(bsec_base() + BSEC_OTP_CONF_OFF, 0, BSEC_CONF_POWER_UP_MASK); in power_down_safmem()288 io_write32(bsec_base() + BSEC_OTP_CTRL_OFF, otp_id | BSEC_READ); in stm32_bsec_shadow_register()316 *value = io_read32(bsec_base() + BSEC_OTP_DATA_OFF + in stm32_bsec_read_otp()343 vaddr_t otp_data_base = bsec_base() + BSEC_OTP_DATA_OFF; in stm32_bsec_write_otp()382 if (io_read32(bsec_base() + BSEC_OTP_LOCK_OFF) & BIT(BSEC_LOCK_PROGRAM)) in stm32_bsec_program_otp()[all …]