Home
last modified time | relevance | path

Searched refs:min_freq_mhz (Results 1 – 8 of 8) sorted by relevance

/hal_espressif-3.7.0/components/esp_pm/
Dpm_impl.c214 …err = sleep_modem_configure(config->max_freq_mhz, config->min_freq_mhz, config->light_sleep_enable… in esp_pm_sleep_configure()
232 int min_freq_mhz = config->min_freq_mhz; in esp_pm_configure() local
235 if (min_freq_mhz > max_freq_mhz) { in esp_pm_configure()
240 if (!rtc_clk_cpu_freq_mhz_to_config(min_freq_mhz, &freq_config)) { in esp_pm_configure()
241 ESP_LOGW(TAG, "invalid min_freq_mhz value (%d)", min_freq_mhz); in esp_pm_configure()
246 if (min_freq_mhz < xtal_freq_mhz && min_freq_mhz * MHZ / REF_CLK_FREQ < REF_CLK_DIV_MIN) { in esp_pm_configure()
279 apb_max_freq = MAX(apb_max_freq, min_freq_mhz); in esp_pm_configure()
285 min_freq_mhz, in esp_pm_configure()
295 res = rtc_clk_cpu_freq_mhz_to_config(min_freq_mhz, &s_cpu_freq_by_mode[PM_MODE_APB_MIN]); in esp_pm_configure()
318 config->min_freq_mhz = s_cpu_freq_by_mode[PM_MODE_APB_MIN].freq_mhz; in esp_pm_get_configuration()
[all …]
/hal_espressif-3.7.0/components/esp_hw_support/
Dsleep_modem.c36 static void esp_pm_light_sleep_default_params_config(int min_freq_mhz, int max_freq_mhz);
317 esp_err_t sleep_modem_configure(int max_freq_mhz, int min_freq_mhz, bool light_sleep_enable) in sleep_modem_configure() argument
334 esp_pm_light_sleep_default_params_config(min_freq_mhz, max_freq_mhz); in sleep_modem_configure()
395 static void esp_pm_light_sleep_default_params_config(int min_freq_mhz, int max_freq_mhz) in esp_pm_light_sleep_default_params_config() argument
398 (*s_light_sleep_default_params_config_cb)(min_freq_mhz, max_freq_mhz); in esp_pm_light_sleep_default_params_config()
/hal_espressif-3.7.0/components/esp_hw_support/test_apps/mspi/main/
Dtest_flash_psram.c91 .min_freq_mhz = xtal_freq, in pm_light_sleep_enable()
103 .min_freq_mhz = cur_freq_mhz, in pm_light_sleep_disable()
114 .min_freq_mhz = MIN(max_cpu_freq_mhz, xtal_freq_mhz), in pm_switch_freq()
/hal_espressif-3.7.0/components/esp_hw_support/include/esp_private/
Dsleep_modem.h103 esp_err_t sleep_modem_configure(int max_freq_mhz, int min_freq_mhz, bool light_sleep_enable);
/hal_espressif-3.7.0/components/esp_pm/include/
Desp_pm.h24 int min_freq_mhz; /*!< Minimum CPU frequency to use when no locks are taken, in MHz */ member
/hal_espressif-3.7.0/components/esp_pm/test_apps/esp_pm/main/
Dtest_pm.c54 .min_freq_mhz = MIN(mhz, xtal_freq_mhz), in switch_freq()
97 .min_freq_mhz = xtal_freq, in light_sleep_enable()
109 .min_freq_mhz = cur_freq_mhz, in light_sleep_disable()
/hal_espressif-3.7.0/components/esp_wifi/src/
Dwifi_init.c235 int min_freq_mhz = esp_pm_impl_get_cpu_freq(PM_MODE_LIGHT_SLEEP); in esp_wifi_init() local
237 esp_wifi_internal_update_light_sleep_default_params(min_freq_mhz, max_freq_mhz); in esp_wifi_init()
/hal_espressif-3.7.0/components/esp_wifi/include/esp_private/
Dwifi.h607 void esp_wifi_internal_update_light_sleep_default_params(int min_freq_mhz, int max_freq_mhz);