Home
last modified time | relevance | path

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

/device/soc/esp/esp32/components/bootloader_support/src/esp32/
Dbootloader_esp32.c333 RESET_REASON rst_reas[2]; in bootloader_check_wdt_reset() local
335 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()
/device/soc/esp/esp32/components/esp_system/port/soc/esp32/
Dclk.c214 RESET_REASON rst_reas[1]; in esp_perip_clk_init() local
216 RESET_REASON rst_reas[2]; in esp_perip_clk_init() local
219 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()
/device/soc/esp/esp32/components/esp_system/port/
Dcpu_start.c254 RESET_REASON rst_reas[SOC_CPU_CORES_NUM]; in call_start_cpu0() local
256 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()