Searched refs:otp (Results 1 – 7 of 7) sorted by relevance
/tf-a-ffa_el3_spmc/drivers/st/bsec/ |
A D | bsec.c | 62 otp_nsec_access[otp / __WORD_BIT] |= BIT(otp % __WORD_BIT); in enable_non_secure_access() 72 BIT(otp % __WORD_BIT)) != 0; in non_secure_can_access() 269 if (bsec_read_sr_lock(otp)) { in bsec_shadow_register() 271 otp); in bsec_shadow_register() 293 result = bsec_check_error(otp); in bsec_shadow_register() 325 result = bsec_check_error(otp); in bsec_read_otp() 347 if (bsec_read_sw_lock(otp)) { in bsec_write_otp() 349 otp); in bsec_write_otp() 357 result = bsec_check_error(otp); in bsec_write_otp() 381 if (bsec_read_sp_lock(otp)) { in bsec_program_otp() [all …]
|
/tf-a-ffa_el3_spmc/include/drivers/st/ |
A D | bsec.h | 176 uint32_t bsec_shadow_register(uint32_t otp); 177 uint32_t bsec_read_otp(uint32_t *val, uint32_t otp); 178 uint32_t bsec_write_otp(uint32_t val, uint32_t otp); 179 uint32_t bsec_program_otp(uint32_t val, uint32_t otp); 180 uint32_t bsec_permanent_lock_otp(uint32_t otp); 193 bool bsec_write_sr_lock(uint32_t otp, uint32_t value); 194 bool bsec_read_sr_lock(uint32_t otp); 196 bool bsec_read_sw_lock(uint32_t otp); 198 bool bsec_read_sp_lock(uint32_t otp); 199 bool bsec_wr_lock(uint32_t otp); [all …]
|
/tf-a-ffa_el3_spmc/plat/st/stm32mp1/ |
A D | stm32mp1_syscfg.c | 65 uint32_t otp = 0; in stm32mp1_syscfg_init() local 95 if (bsec_read_otp(&otp, HW2_OTP) != BSEC_OK) { in stm32mp1_syscfg_init() 99 otp = otp & HW2_OTP_PRODUCT_BELOW_2V5; in stm32mp1_syscfg_init() 115 if (otp == 0U) { in stm32mp1_syscfg_init() 119 if (otp != 0U) { in stm32mp1_syscfg_init()
|
A D | stm32mp1_private.c | 425 uint32_t otp; in stm32_iwdg_shadow_update() local 428 if (bsec_shadow_read_otp(&otp, HW2_OTP) != BSEC_OK) { in stm32_iwdg_shadow_update() 433 otp |= BIT(iwdg_inst + HW2_OTP_IWDG_FZ_STOP_POS); in stm32_iwdg_shadow_update() 437 otp |= BIT(iwdg_inst + HW2_OTP_IWDG_FZ_STANDBY_POS); in stm32_iwdg_shadow_update() 440 result = bsec_write_otp(otp, HW2_OTP); in stm32_iwdg_shadow_update()
|
/tf-a-ffa_el3_spmc/fdts/ |
A D | stm32mp15xx-osd32.dtsi | 164 st,non-secure-otp;
|
A D | stm32mp157c-odyssey-som.dtsi | 33 st,non-secure-otp;
|
A D | stm32mp15xx-dkx.dtsi | 28 st,non-secure-otp;
|
Completed in 10 milliseconds