Home
last modified time | relevance | path

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

/rk3399_ARM-atf/plat/st/common/
H A Dstm32mp_common.c142 int stm32_get_otp_index(const char *otp_name, uint32_t *otp_idx, in stm32_get_otp_index() argument
145 assert(otp_name != NULL); in stm32_get_otp_index()
148 return dt_find_otp_name(otp_name, otp_idx, otp_len); in stm32_get_otp_index()
151 int stm32_get_otp_value(const char *otp_name, uint32_t *otp_val) in stm32_get_otp_value() argument
155 assert(otp_name != NULL); in stm32_get_otp_value()
158 if (stm32_get_otp_index(otp_name, &otp_idx, NULL) != 0) { in stm32_get_otp_value()
163 ERROR("BSEC: %s Read Error\n", otp_name); in stm32_get_otp_value()
H A Dstm32mp_trusted_boot.c31 static int copy_hash_from_otp(const char *otp_name, uint8_t *hash, size_t len) in copy_hash_from_otp() argument
40 if (stm32_get_otp_index(otp_name, &otp_idx, &otp_len) != 0) { in copy_hash_from_otp()
41 VERBOSE("%s: get %s index error\n", __func__, otp_name); in copy_hash_from_otp()
/rk3399_ARM-atf/plat/st/common/include/
H A Dstm32mp_common.h56 int stm32_get_otp_index(const char *otp_name, uint32_t *otp_idx,
58 int stm32_get_otp_value(const char *otp_name, uint32_t *otp_val);