Searched refs:rst_reas (Results 1 – 3 of 3) sorted by relevance
333 RESET_REASON rst_reas[2]; in bootloader_check_wdt_reset() local335 rst_reas[0] = rtc_get_reset_reason(0); in bootloader_check_wdt_reset()336 rst_reas[1] = rtc_get_reset_reason(1); in bootloader_check_wdt_reset()337 …if (rst_reas[0] == RTCWDT_SYS_RESET || rst_reas[0] == TG0WDT_SYS_RESET || rst_reas[0] == TG1WDT_SY… in bootloader_check_wdt_reset()338 rst_reas[0] == TGWDT_CPU_RESET || rst_reas[0] == RTCWDT_CPU_RESET) { in bootloader_check_wdt_reset()342 …if (rst_reas[1] == RTCWDT_SYS_RESET || rst_reas[1] == TG0WDT_SYS_RESET || rst_reas[1] == TG1WDT_SY… in bootloader_check_wdt_reset()343 rst_reas[1] == TGWDT_CPU_RESET || rst_reas[1] == RTCWDT_CPU_RESET) { in bootloader_check_wdt_reset()
214 RESET_REASON rst_reas[1]; in esp_perip_clk_init() local216 RESET_REASON rst_reas[2]; in esp_perip_clk_init() local219 rst_reas[0] = rtc_get_reset_reason(0); in esp_perip_clk_init()222 rst_reas[1] = rtc_get_reset_reason(1); in esp_perip_clk_init()228 if ((rst_reas[0] >= TGWDT_CPU_RESET && rst_reas[0] <= RTCWDT_CPU_RESET) in esp_perip_clk_init()230 || (rst_reas[1] >= TGWDT_CPU_RESET && rst_reas[1] <= RTCWDT_CPU_RESET) in esp_perip_clk_init()
254 RESET_REASON rst_reas[SOC_CPU_CORES_NUM]; in call_start_cpu0() local256 RESET_REASON rst_reas[1]; in call_start_cpu0()274 rst_reas[0] = rtc_get_reset_reason(0); in call_start_cpu0()276 rst_reas[1] = rtc_get_reset_reason(1); in call_start_cpu0()281 if (rst_reas[0] == RTCWDT_SYS_RESET || rst_reas[0] == TG0WDT_SYS_RESET in call_start_cpu0()283 || rst_reas[1] == RTCWDT_SYS_RESET || rst_reas[1] == TG0WDT_SYS_RESET in call_start_cpu0()302 if (rst_reas[0] != DEEPSLEEP_RESET) { in call_start_cpu0()