Lines Matching defs:otp_idx
136 int stm32_get_otp_index(const char *otp_name, uint32_t *otp_idx,
140 assert(otp_idx != NULL);
142 return dt_find_otp_name(otp_name, otp_idx, otp_len);
147 uint32_t otp_idx;
152 if (stm32_get_otp_index(otp_name, &otp_idx, NULL) != 0) {
156 if (stm32_get_otp_value_from_idx(otp_idx, otp_val) != 0) {
164 int stm32_get_otp_value_from_idx(const uint32_t otp_idx, uint32_t *otp_val)
171 ret = bsec_shadow_read_otp(otp_val, otp_idx);
173 ret = bsec_read_otp(otp_val, otp_idx);
178 ERROR("BSEC: idx=%u Read Error\n", otp_idx);