Searched refs:bsec_base (Results 1 – 1 of 1) sorted by relevance
157 static vaddr_t bsec_base(void) in bsec_base() function164 return io_read32(bsec_base() + BSEC_OTP_STATUS_OFF); in bsec_status()210 if (io_read32(bsec_base() + BSEC_ERROR_OFF + bank) & bit) in check_no_error()214 io_read32(bsec_base() + BSEC_DISTURBED_OFF + bank) & bit) in check_no_error()224 io_mask32(bsec_base() + BSEC_OTP_CONF_OFF, BSEC_CONF_POWER_UP_MASK, in power_up_safmem()242 io_mask32(bsec_base() + BSEC_OTP_CONF_OFF, 0, BSEC_CONF_POWER_UP_MASK); in power_down_safmem()279 io_write32(bsec_base() + BSEC_OTP_CTRL_OFF, otp_id | BSEC_READ); in stm32_bsec_shadow_register()307 *value = io_read32(bsec_base() + BSEC_OTP_DATA_OFF + in stm32_bsec_read_otp()334 vaddr_t otp_data_base = bsec_base() + BSEC_OTP_DATA_OFF; in stm32_bsec_write_otp()373 if (io_read32(bsec_base() + BSEC_OTP_LOCK_OFF) & BIT(BSEC_LOCK_PROGRAM)) in stm32_bsec_program_otp()[all …]