Home
last modified time | relevance | path

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

/arm-trusted-firmware-2.8.0/plat/st/common/
A Dstm32mp_common.c110 int stm32_get_otp_value(const char *otp_name, uint32_t *otp_val) in stm32_get_otp_value() argument
115 assert(otp_val != NULL); 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
133 assert(otp_val != NULL); in stm32_get_otp_value_from_idx()
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()
A Dstm32mp_trusted_boot.c50 uint32_t otp_val; in copy_hash_from_otp() local
53 if (stm32_get_otp_value_from_idx(otp_idx + i, &otp_val) != 0) { in copy_hash_from_otp()
58 tmp = bswap32(otp_val); in copy_hash_from_otp()
A Dstm32mp_crypto_lib.c529 uint32_t otp_val; in plat_get_enc_key_info() local
531 if (stm32_get_otp_value_from_idx(otp_idx + i, &otp_val) != 0) { in plat_get_enc_key_info()
537 tmp = bswap32(otp_val); in plat_get_enc_key_info()
/arm-trusted-firmware-2.8.0/plat/st/common/include/
A Dstm32mp_common.h43 int stm32_get_otp_value(const char *otp_name, uint32_t *otp_val);
44 int stm32_get_otp_value_from_idx(const uint32_t otp_idx, uint32_t *otp_val);

Completed in 5 milliseconds