Searched refs:reboot_counter (Results 1 – 3 of 3) sorted by relevance
174 return rtc_retain_mem->reboot_counter; in bootloader_common_get_rtc_retain_mem_reboot_counter()187 void bootloader_common_update_rtc_retain_mem(esp_partition_pos_t* partition, bool reboot_counter) in bootloader_common_update_rtc_retain_mem() argument189 if (reboot_counter) { in bootloader_common_update_rtc_retain_mem()193 if (++rtc_retain_mem->reboot_counter == 0) { in bootloader_common_update_rtc_retain_mem()195 --rtc_retain_mem->reboot_counter; in bootloader_common_update_rtc_retain_mem()
254 void bootloader_common_update_rtc_retain_mem(esp_partition_pos_t* partition, bool reboot_counter);
48 uint16_t reboot_counter; /*!< Reboot counter. Reset only when power is off. */ member