Home
last modified time | relevance | path

Searched refs:otp_id (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/drivers/
A Dstm32_bsec.c148 assert(otp_id <= otp_max_id()); in otp_bank_offset()
269 if (otp_id > otp_max_id()) in stm32_bsec_read_otp()
273 (otp_id * sizeof(uint32_t))); in stm32_bsec_read_otp()
377 if (otp_id > otp_max_id()) in stm32_bsec_permanent_lock_otp()
380 if (otp_id < otp_upper_base()) { in stm32_bsec_permanent_lock_otp()
451 if (otp_id > STM32MP1_OTP_MAX_ID) in set_bsec_lock()
485 if (otp_id > STM32MP1_OTP_MAX_ID) in read_bsec_lock()
561 if (otp_id < otp_upper_base()) in enable_nsec_access()
564 if (otp_id > otp_max_id() || stm32_bsec_shadow_register(otp_id)) in enable_nsec_access()
581 unsigned int otp_id = 0; in bsec_dt_otp_nsec_access() local
[all …]
/optee_os/core/arch/arm/plat-stm32mp1/nsec-service/
A Dbsec_svc.c18 uint32_t otp_id = args->a2; in bsec_main() local
23 if (!stm32_bsec_nsec_can_access_otp(otp_id)) { in bsec_main()
30 FMSG("read shadow @%#"PRIx32, otp_id); in bsec_main()
31 result = stm32_bsec_read_otp(out_value, otp_id); in bsec_main()
34 FMSG("program @%#"PRIx32, otp_id); in bsec_main()
38 FMSG("write shadow @%#"PRIx32, otp_id); in bsec_main()
39 result = stm32_bsec_write_otp(in_value, otp_id); in bsec_main()
42 FMSG("read @%#"PRIx32, otp_id); in bsec_main()
43 result = stm32_bsec_read_otp(&tmp, otp_id); in bsec_main()
45 result = stm32_bsec_shadow_register(otp_id); in bsec_main()
[all …]
/optee_os/core/include/drivers/
A Dstm32_bsec.h19 TEE_Result stm32_bsec_shadow_read_otp(uint32_t *value, uint32_t otp_id);
26 TEE_Result stm32_bsec_shadow_register(uint32_t otp_id);
34 TEE_Result stm32_bsec_read_otp(uint32_t *value, uint32_t otp_id);
42 TEE_Result stm32_bsec_write_otp(uint32_t value, uint32_t otp_id);
51 TEE_Result stm32_bsec_program_otp(uint32_t value, uint32_t otp_id);
54 uint32_t otp_id __unused) in stm32_bsec_program_otp()
65 TEE_Result stm32_bsec_permanent_lock_otp(uint32_t otp_id);
89 TEE_Result stm32_bsec_set_sr_lock(uint32_t otp_id);
104 TEE_Result stm32_bsec_set_sw_lock(uint32_t otp_id);
119 TEE_Result stm32_bsec_set_sp_lock(uint32_t otp_id);
[all …]

Completed in 5 milliseconds