Home
last modified time | relevance | path

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

/rk3399_ARM-atf/plat/st/common/
H A Dstm32mp_common.c151 int stm32_get_otp_value(const char *otp_name, uint32_t *otp_val) in stm32_get_otp_value() argument
156 assert(otp_val != NULL); in stm32_get_otp_value()
162 if (stm32_get_otp_value_from_idx(otp_idx, otp_val) != 0) { in stm32_get_otp_value()
170 int stm32_get_otp_value_from_idx(const uint32_t otp_idx, uint32_t *otp_val) in stm32_get_otp_value_from_idx() argument
174 assert(otp_val != NULL); in stm32_get_otp_value_from_idx()
177 ret = stm32_otp_shadow_read(otp_val, otp_idx); in stm32_get_otp_value_from_idx()
179 ret = stm32_otp_read(otp_val, otp_idx); in stm32_get_otp_value_from_idx()
H A Dstm32mp_trusted_boot.c51 uint32_t otp_val; in copy_hash_from_otp() local
54 if (stm32_get_otp_value_from_idx(otp_idx + i, &otp_val) != 0) { in copy_hash_from_otp()
59 tmp = bswap32(otp_val); in copy_hash_from_otp()
H A Dstm32mp_crypto_lib.c539 uint32_t otp_val; in plat_get_enc_key_info() local
541 if (stm32_get_otp_value_from_idx(otp_idx + i, &otp_val) != 0) { in plat_get_enc_key_info()
547 tmp = bswap32(otp_val); in plat_get_enc_key_info()
/rk3399_ARM-atf/plat/st/common/include/
H A Dstm32mp_common.h58 int stm32_get_otp_value(const char *otp_name, uint32_t *otp_val);
59 int stm32_get_otp_value_from_idx(const uint32_t otp_idx, uint32_t *otp_val);