Home
last modified time | relevance | path

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

/trusted-firmware-a-latest/plat/st/stm32mp1/
Dstm32mp1_private.c607 uint32_t otp_value; in stm32_iwdg_get_otp_config() local
609 if (stm32_get_otp_value(HW2_OTP, &otp_value) != 0) { in stm32_iwdg_get_otp_config()
613 if ((otp_value & BIT(iwdg_inst + HW2_OTP_IWDG_HW_POS)) != 0U) { in stm32_iwdg_get_otp_config()
617 if ((otp_value & BIT(iwdg_inst + HW2_OTP_IWDG_FZ_STOP_POS)) != 0U) { in stm32_iwdg_get_otp_config()
621 if ((otp_value & BIT(iwdg_inst + HW2_OTP_IWDG_FZ_STANDBY_POS)) != 0U) { in stm32_iwdg_get_otp_config()
631 uint32_t otp_value; in stm32_iwdg_shadow_update() local
639 if (stm32_get_otp_value(HW2_OTP, &otp_value) != 0) { in stm32_iwdg_shadow_update()
644 otp_value |= BIT(iwdg_inst + HW2_OTP_IWDG_FZ_STOP_POS); in stm32_iwdg_shadow_update()
648 otp_value |= BIT(iwdg_inst + HW2_OTP_IWDG_FZ_STANDBY_POS); in stm32_iwdg_shadow_update()
651 result = bsec_write_otp(otp_value, otp); in stm32_iwdg_shadow_update()
Dstm32mp1_syscfg.c266 uint32_t otp_value; in stm32mp1_syscfg_set_hslv() local
285 if (stm32_get_otp_value(HW2_OTP, &otp_value) != 0) { in stm32mp1_syscfg_set_hslv()
289 product_below_2v5 = (otp_value & HW2_OTP_PRODUCT_BELOW_2V5) != 0U; in stm32mp1_syscfg_set_hslv()
/trusted-firmware-a-latest/include/drivers/st/
Dbsec.h126 uint32_t bsec_shadow_read_otp(uint32_t *otp_value, uint32_t word);
/trusted-firmware-a-latest/drivers/st/bsec/
Dbsec2.c922 uint32_t bsec_shadow_read_otp(uint32_t *otp_value, uint32_t word) in bsec_shadow_read_otp() argument
932 result = bsec_read_otp(otp_value, word); in bsec_shadow_read_otp()