Searched refs:fhz (Results 1 – 1 of 1) sorted by relevance
2304 int fhz; in esp_set_clock_params() local2339 fhz = esp->cfreq; in esp_set_clock_params()2341 ccf = ((fhz / 1000000) + 4) / 5; in esp_set_clock_params()2350 if (fhz <= 5000000 || ccf < 1 || ccf > 8) { in esp_set_clock_params()2351 fhz = 20000000; in esp_set_clock_params()2356 esp->cfreq = fhz; in esp_set_clock_params()2357 esp->ccycle = ESP_HZ_TO_CYCLE(fhz); in esp_set_clock_params()2359 esp->neg_defp = ESP_NEG_DEFP(fhz, ccf); in esp_set_clock_params()