Home
last modified time | relevance | path

Searched refs:apb_ticks_per_us (Results 1 – 9 of 9) sorted by relevance

/hal_espressif-3.6.0/components/esp_timer/src/
Desp_timer_impl_lac.c216 void IRAM_ATTR esp_timer_impl_update_apb_freq(uint32_t apb_ticks_per_us) in esp_timer_impl_update_apb_freq() argument
219 assert(apb_ticks_per_us >= 3 && "divider value too low"); in esp_timer_impl_update_apb_freq()
220 …assert(apb_ticks_per_us % TICKS_PER_US == 0 && "APB frequency (in MHz) should be divisible by TICK… in esp_timer_impl_update_apb_freq()
221 REG_SET_FIELD(CONFIG_REG, TIMG_LACT_DIVIDER, apb_ticks_per_us / TICKS_PER_US); in esp_timer_impl_update_apb_freq()
311 void esp_timer_private_update_apb_freq(uint32_t apb_ticks_per_us) __attribute__((alias("esp_timer_i…
Desp_timer_impl_systimer.c104 void IRAM_ATTR esp_timer_impl_update_apb_freq(uint32_t apb_ticks_per_us) in esp_timer_impl_update_apb_freq() argument
107 systimer_hal_on_apb_freq_update(&systimer_hal, apb_ticks_per_us); in esp_timer_impl_update_apb_freq()
182 void esp_timer_private_update_apb_freq(uint32_t apb_ticks_per_us) __attribute__((alias("esp_timer_i…
Desp_timer_impl_frc_legacy.c302 void IRAM_ATTR esp_timer_impl_update_apb_freq(uint32_t apb_ticks_per_us)
311 uint32_t new_ticks_per_us = apb_ticks_per_us / TIMER_DIV;
442 void esp_timer_private_update_apb_freq(uint32_t apb_ticks_per_us) __attribute__((alias("esp_timer_i…
/hal_espressif-3.6.0/components/hal/
Dsystimer_hal.c170 void systimer_hal_on_apb_freq_update(systimer_hal_context_t *hal, uint32_t apb_ticks_per_us) in systimer_hal_on_apb_freq_update() argument
177 if (apb_ticks_per_us != SYSTIMER_LL_TICKS_PER_US) { in systimer_hal_on_apb_freq_update()
178 …HAL_ASSERT((SYSTIMER_LL_TICKS_PER_US % apb_ticks_per_us) == 0 && "TICK_PER_US should be divisible … in systimer_hal_on_apb_freq_update()
179 systimer_ll_set_step_for_xtal(hal->dev, SYSTIMER_LL_TICKS_PER_US / apb_ticks_per_us); in systimer_hal_on_apb_freq_update()
/hal_espressif-3.6.0/components/esp_timer/include/esp_private/
Desp_timer_private.h43 void esp_timer_private_update_apb_freq(uint32_t apb_ticks_per_us);
/hal_espressif-3.6.0/components/esp_timer/private_include/
Desp_timer_impl.h84 void esp_timer_impl_update_apb_freq(uint32_t apb_ticks_per_us);
/hal_espressif-3.6.0/components/hal/include/hal/
Dsystimer_hal.h79 void systimer_hal_on_apb_freq_update(systimer_hal_context_t *hal, uint32_t apb_ticks_per_us);
/hal_espressif-3.6.0/zephyr/esp_shared/components/esp_pm/
Dpm_impl.c403 uint32_t apb_ticks_per_us = MIN(ticks_per_us, 80); in on_freq_update() local
405 if (old_apb_ticks_per_us != apb_ticks_per_us) { in on_freq_update()
406 esp_timer_private_update_apb_freq(apb_ticks_per_us); in on_freq_update()
/hal_espressif-3.6.0/components/esp_pm/
Dpm_impl.c412 uint32_t apb_ticks_per_us = MIN(ticks_per_us, 80); in on_freq_update() local
414 if (old_apb_ticks_per_us != apb_ticks_per_us) { in on_freq_update()
415 esp_timer_private_update_apb_freq(apb_ticks_per_us); in on_freq_update()