Home
last modified time | relevance | path

Searched refs:otp_idx (Results 1 – 4 of 4) sorted by relevance

/arm-trusted-firmware-2.8.0/plat/st/common/
A Dstm32mp_common.c101 int stm32_get_otp_index(const char *otp_name, uint32_t *otp_idx, in stm32_get_otp_index() argument
105 assert(otp_idx != NULL); in stm32_get_otp_index()
107 return dt_find_otp_name(otp_name, otp_idx, otp_len); in stm32_get_otp_index()
112 uint32_t otp_idx; in stm32_get_otp_value() local
117 if (stm32_get_otp_index(otp_name, &otp_idx, NULL) != 0) { in stm32_get_otp_value()
121 if (stm32_get_otp_value_from_idx(otp_idx, otp_val) != 0) { in stm32_get_otp_value()
129 int stm32_get_otp_value_from_idx(const uint32_t otp_idx, uint32_t *otp_val) in stm32_get_otp_value_from_idx() argument
136 ret = bsec_shadow_read_otp(otp_val, otp_idx); in stm32_get_otp_value_from_idx()
138 ret = bsec_read_otp(otp_val, otp_idx); in stm32_get_otp_value_from_idx()
143 ERROR("BSEC: idx=%u Read Error\n", otp_idx); in stm32_get_otp_value_from_idx()
A Dstm32mp_trusted_boot.c32 uint32_t otp_idx; in copy_hash_from_otp() local
39 if (stm32_get_otp_index(otp_name, &otp_idx, &otp_len) != 0) { in copy_hash_from_otp()
53 if (stm32_get_otp_value_from_idx(otp_idx + i, &otp_val) != 0) { in copy_hash_from_otp()
A Dstm32mp_crypto_lib.c504 uint32_t otp_idx; in plat_get_enc_key_info() local
513 if (stm32_get_otp_index(ENCKEY_OTP, &otp_idx, &otp_len) != 0) { in plat_get_enc_key_info()
531 if (stm32_get_otp_value_from_idx(otp_idx + i, &otp_val) != 0) { in plat_get_enc_key_info()
/arm-trusted-firmware-2.8.0/plat/st/common/include/
A Dstm32mp_common.h41 int stm32_get_otp_index(const char *otp_name, uint32_t *otp_idx,
44 int stm32_get_otp_value_from_idx(const uint32_t otp_idx, uint32_t *otp_val);

Completed in 5 milliseconds