Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dkern_cpu.c77 int max_mhz; member
169 sc->max_mhz = cpu_get_nominal_mhz(dev); in cpufreq_attach()
171 if (sc->max_mhz <= 0) { in cpufreq_attach()
175 sc->max_mhz = rate / 1000000; in cpufreq_attach()
177 sc->max_mhz = CPUFREQ_VAL_UNKNOWN; in cpufreq_attach()
663 if (sc->max_mhz == CPUFREQ_VAL_UNKNOWN) { in cf_levels_method()
664 sc->max_mhz = cpu_get_nominal_mhz(dev); in cf_levels_method()
670 if (sc->max_mhz <= 0) { in cf_levels_method()
673 sc->max_mhz = rate / 1000000; in cf_levels_method()
677 set.freq = sc->max_mhz; in cf_levels_method()
[all …]