Lines Matching defs:otp_id

149 static uint32_t otp_bank_offset(uint32_t otp_id)  in otp_bank_offset()
205 static TEE_Result check_no_error(uint32_t otp_id, bool check_disturbed) in check_no_error()
255 TEE_Result stm32_bsec_shadow_register(uint32_t otp_id) in stm32_bsec_shadow_register()
299 TEE_Result stm32_bsec_read_otp(uint32_t *value, uint32_t otp_id) in stm32_bsec_read_otp()
313 TEE_Result stm32_bsec_shadow_read_otp(uint32_t *otp_value, uint32_t otp_id) in stm32_bsec_shadow_read_otp()
330 TEE_Result stm32_bsec_write_otp(uint32_t value, uint32_t otp_id) in stm32_bsec_write_otp()
358 TEE_Result stm32_bsec_program_otp(uint32_t value, uint32_t otp_id) in stm32_bsec_program_otp()
408 TEE_Result stm32_bsec_permanent_lock_otp(uint32_t otp_id) in stm32_bsec_permanent_lock_otp()
510 static TEE_Result set_bsec_lock(uint32_t otp_id, size_t lock_offset) in set_bsec_lock()
532 TEE_Result stm32_bsec_set_sr_lock(uint32_t otp_id) in stm32_bsec_set_sr_lock()
537 TEE_Result stm32_bsec_set_sw_lock(uint32_t otp_id) in stm32_bsec_set_sw_lock()
542 TEE_Result stm32_bsec_set_sp_lock(uint32_t otp_id) in stm32_bsec_set_sp_lock()
547 static TEE_Result read_bsec_lock(uint32_t otp_id, bool *locked, in read_bsec_lock()
565 TEE_Result stm32_bsec_read_sr_lock(uint32_t otp_id, bool *locked) in stm32_bsec_read_sr_lock()
570 TEE_Result stm32_bsec_read_sw_lock(uint32_t otp_id, bool *locked) in stm32_bsec_read_sw_lock()
575 TEE_Result stm32_bsec_read_sp_lock(uint32_t otp_id, bool *locked) in stm32_bsec_read_sp_lock()
580 TEE_Result stm32_bsec_read_permanent_lock(uint32_t otp_id, bool *locked) in stm32_bsec_read_permanent_lock()
602 bool stm32_bsec_can_access_otp(uint32_t otp_id) in stm32_bsec_can_access_otp()
607 bool stm32_bsec_nsec_can_access_otp(uint32_t otp_id) in stm32_bsec_nsec_can_access_otp()
623 uint32_t otp_id; member
633 uint32_t *otp_id, in stm32_bsec_otp_setting()
654 uint32_t *otp_id, in stm32_bsec_find_otp_in_nvmem_layout()
677 uint32_t *otp_id, in stm32_bsec_find_otp_by_phandle()
716 static void enable_nsec_access(unsigned int otp_id) in enable_nsec_access()
741 unsigned int otp_id = 0; in bsec_dt_otp_nsec_access() local