Searched refs:us_time_estimate (Results 1 – 5 of 5) sorted by relevance
66 uint32_t us_time_estimate = (uint32_t) (((uint64_t) slowclk_cycles) * 1000000 / expected_freq); in rtc_clk_cal_internal() local74 if (us_time_estimate >= us_timer_max) { in rtc_clk_cal_internal()86 k_busy_wait(us_time_estimate); in rtc_clk_cal_internal()88 esp_rom_delay_us(us_time_estimate); in rtc_clk_cal_internal()91 int timeout_us = us_time_estimate; in rtc_clk_cal_internal()
94 uint32_t us_time_estimate = (uint32_t) (((uint64_t) slowclk_cycles) * 1000000 / expected_freq); in rtc_clk_cal_internal() local101 k_busy_wait(us_time_estimate); in rtc_clk_cal_internal()103 esp_rom_delay_us(us_time_estimate); in rtc_clk_cal_internal()
69 uint32_t us_time_estimate = (uint32_t) (((uint64_t) slowclk_cycles) * 1000000 / expected_freq); in rtc_clk_cal_internal_oneoff() local76 k_busy_wait(us_time_estimate); in rtc_clk_cal_internal_oneoff()78 esp_rom_delay_us(us_time_estimate); in rtc_clk_cal_internal_oneoff()
92 uint32_t us_time_estimate = (uint32_t) (((uint64_t) slowclk_cycles) * MHZ / expected_freq); in rtc_clk_cal_internal() local98 esp_rom_delay_us(us_time_estimate); in rtc_clk_cal_internal()
88 uint32_t us_time_estimate = (uint32_t) (((uint64_t) slowclk_cycles) * MHZ / expected_freq); in rtc_clk_cal_internal() local94 esp_rom_delay_us(us_time_estimate * 3); in rtc_clk_cal_internal()