Searched refs:otp (Results 1 – 15 of 15) sorted by relevance
/arm-trusted-firmware-2.8.0/drivers/st/bsec/ |
A D | bsec2.c | 74 otp_nsec_access[otp / __WORD_BIT] |= BIT(otp % __WORD_BIT); in enable_non_secure_access() 84 BIT(otp % __WORD_BIT)) != 0U; in non_secure_can_access() 93 uint32_t otp; in bsec_dt_otp_nsec_access() local 108 otp = offset / sizeof(uint32_t); in bsec_dt_otp_nsec_access() 120 otp = STM32MP1_UPPER_OTP_START; in bsec_dt_otp_nsec_access() 145 for (i = otp; i < (otp + size); i++) { in bsec_dt_otp_nsec_access() 345 otp); in bsec_shadow_register() 391 if (otp > STM32MP1_OTP_MAX_ID) { in bsec_read_otp() 396 (otp * sizeof(uint32_t))); in bsec_read_otp() 424 otp); in bsec_write_otp() [all …]
|
/arm-trusted-firmware-2.8.0/include/drivers/st/ |
A D | bsec.h | 99 uint32_t bsec_shadow_register(uint32_t otp); 100 uint32_t bsec_read_otp(uint32_t *val, uint32_t otp); 101 uint32_t bsec_write_otp(uint32_t val, uint32_t otp); 102 uint32_t bsec_program_otp(uint32_t val, uint32_t otp); 103 uint32_t bsec_permanent_lock_otp(uint32_t otp); 117 uint32_t bsec_set_sr_lock(uint32_t otp); 118 uint32_t bsec_read_sr_lock(uint32_t otp, bool *value); 119 uint32_t bsec_set_sw_lock(uint32_t otp); 120 uint32_t bsec_read_sw_lock(uint32_t otp, bool *value); 121 uint32_t bsec_set_sp_lock(uint32_t otp); [all …]
|
/arm-trusted-firmware-2.8.0/plat/st/common/ |
A D | stm32mp_dt.c | 326 int dt_find_otp_name(const char *name, uint32_t *otp, uint32_t *otp_len) in dt_find_otp_name() argument 332 if ((name == NULL) || (otp == NULL)) { in dt_find_otp_name() 358 if (otp != NULL) { in dt_find_otp_name() 359 *otp = fdt32_to_cpu(*cuint) / sizeof(uint32_t); in dt_find_otp_name()
|
/arm-trusted-firmware-2.8.0/plat/st/stm32mp1/ |
A D | stm32mp1_usb_dfu.c | 183 uint32_t otp; in update_serial_num_string() local 187 if (stm32_get_otp_index(UID_OTP, &otp, &len) != 0) { in update_serial_num_string() 198 if (bsec_shadow_read_otp(&deviceserial[i], i + otp) != in update_serial_num_string()
|
A D | stm32mp1_private.c | 666 uint32_t otp; in stm32_iwdg_shadow_update() local 669 if (stm32_get_otp_index(HW2_OTP, &otp, NULL) != 0) { in stm32_iwdg_shadow_update() 685 result = bsec_write_otp(otp_value, otp); in stm32_iwdg_shadow_update() 691 if ((bsec_set_sr_lock(otp) != BSEC_OK) || in stm32_iwdg_shadow_update() 692 (bsec_set_sw_lock(otp) != BSEC_OK)) { in stm32_iwdg_shadow_update()
|
A D | bl2_plat_setup.c | 173 uint32_t otp; in update_monotonic_counter() local 179 if (stm32_get_otp_index(MONOTONIC_OTP, &otp, NULL) != 0) { in update_monotonic_counter() 183 if (stm32_get_otp_value_from_idx(otp, &version) != 0) { in update_monotonic_counter() 193 result = bsec_program_otp(version, otp); in update_monotonic_counter()
|
/arm-trusted-firmware-2.8.0/plat/st/common/include/ |
A D | stm32mp_dt.h | 43 int dt_find_otp_name(const char *name, uint32_t *otp, uint32_t *otp_len);
|
/arm-trusted-firmware-2.8.0/fdts/ |
A D | stm32mp15xx-osd32.dtsi | 162 st,non-secure-otp;
|
A D | stm32mp135f-dk.dts | 55 st,non-secure-otp;
|
A D | stm32mp157c-ed1.dts | 36 st,non-secure-otp;
|
A D | stm32mp157c-odyssey-som.dtsi | 33 st,non-secure-otp;
|
A D | stm32mp15xx-dhcom-som.dtsi | 22 st,non-secure-otp;
|
A D | stm32mp15xx-dkx.dtsi | 28 st,non-secure-otp;
|
A D | stm32mp131.dtsi | 456 st,non-secure-otp;
|
A D | stm32mp151.dtsi | 495 st,non-secure-otp;
|
Completed in 30 milliseconds