Lines Matching refs:min_freq_mhz
198 static void esp_pm_light_sleep_default_params_config(int min_freq_mhz, int max_freq_mhz);
240 int min_freq_mhz = config->min_freq_mhz; in esp_pm_configure() local
243 if (min_freq_mhz > max_freq_mhz) { in esp_pm_configure()
248 if (!rtc_clk_cpu_freq_mhz_to_config(min_freq_mhz, &freq_config)) { in esp_pm_configure()
249 ESP_LOGW(TAG, "invalid min_freq_mhz value (%d)", min_freq_mhz); in esp_pm_configure()
254 if (min_freq_mhz < xtal_freq_mhz && min_freq_mhz * MHZ / REF_CLK_FREQ < REF_CLK_DIV_MIN) { in esp_pm_configure()
281 apb_max_freq = MAX(apb_max_freq, min_freq_mhz); in esp_pm_configure()
287 min_freq_mhz, in esp_pm_configure()
297 res = rtc_clk_cpu_freq_mhz_to_config(min_freq_mhz, &s_cpu_freq_by_mode[PM_MODE_APB_MIN]); in esp_pm_configure()
317 esp_pm_light_sleep_default_params_config(min_freq_mhz, max_freq_mhz); in esp_pm_configure()
345 config->min_freq_mhz = s_cpu_freq_by_mode[PM_MODE_APB_MIN].freq_mhz; in esp_pm_get_configuration()
778 .min_freq_mhz = xtal_freq,
896 static void esp_pm_light_sleep_default_params_config(int min_freq_mhz, int max_freq_mhz) argument
899 (*s_light_sleep_default_params_config_cb)(min_freq_mhz, max_freq_mhz);