Searched refs:fhz (Results 1 – 1 of 1) sorted by relevance
2312 int fhz; in esp_set_clock_params() local2347 fhz = esp->cfreq; in esp_set_clock_params()2349 ccf = ((fhz / 1000000) + 4) / 5; in esp_set_clock_params()2358 if (fhz <= 5000000 || ccf < 1 || ccf > 8) { in esp_set_clock_params()2359 fhz = 20000000; in esp_set_clock_params()2364 esp->cfreq = fhz; in esp_set_clock_params()2365 esp->ccycle = ESP_HZ_TO_CYCLE(fhz); in esp_set_clock_params()2367 esp->neg_defp = ESP_NEG_DEFP(fhz, ccf); in esp_set_clock_params()