Lines Matching refs:reason
22 uint32_t reason = SRC_GetResetStatusFlags((SRC_Type *)DT_INST_REG_ADDR(0)); in z_impl_hwinfo_get_reset_cause() local
26 if (reason & kSRC_IppResetPinFlag) { in z_impl_hwinfo_get_reset_cause()
31 if (reason & kSRC_PowerOnResetFlag) { in z_impl_hwinfo_get_reset_cause()
36 if (reason & kSRC_CoreLockupResetFlag) { in z_impl_hwinfo_get_reset_cause()
42 if (reason & kSRC_LockupSysResetFlag) { in z_impl_hwinfo_get_reset_cause()
47 if (reason & kSRC_CsuResetFlag) { in z_impl_hwinfo_get_reset_cause()
52 if (reason & kSRC_SNVSFailResetFlag) { in z_impl_hwinfo_get_reset_cause()
58 if (reason & kSRC_IppUserResetFlag) { in z_impl_hwinfo_get_reset_cause()
62 if (reason & kSRC_WatchdogResetFlag) { in z_impl_hwinfo_get_reset_cause()
65 if (reason & kSRC_JTAGGeneratedResetFlag) { in z_impl_hwinfo_get_reset_cause()
68 if (reason & kSRC_JTAGSoftwareResetFlag) { in z_impl_hwinfo_get_reset_cause()
72 if (reason & kSRC_JTAGSystemResetFlag) { in z_impl_hwinfo_get_reset_cause()
77 if (reason & kSRC_SoftwareResetFlag) { in z_impl_hwinfo_get_reset_cause()
82 if (reason & kSRC_Wdog3ResetFlag) { in z_impl_hwinfo_get_reset_cause()
86 if (reason & kSRC_TemperatureSensorResetFlag) { in z_impl_hwinfo_get_reset_cause()
90 if (reason & kSRC_WarmBootIndicationFlag) { in z_impl_hwinfo_get_reset_cause()
102 uint32_t reason = -1; in z_impl_hwinfo_clear_reset_cause() local
104 SRC_ClearResetStatusFlags((SRC_Type *)DT_INST_REG_ADDR(0), reason); in z_impl_hwinfo_clear_reset_cause()