Home
last modified time | relevance | path

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

/freebsd/sys/dev/acpica/
H A Dacpi_throttle.c76 #define CPU_MAX_SPEED (1 << cpu_duty_width) macro
77 #define CPU_SPEED_PERCENT(x) ((10000 * (x)) / CPU_MAX_SPEED)
350 if (*count < CPU_MAX_SPEED) in acpi_thr_settings()
354 memset(sets, CPUFREQ_VAL_UNKNOWN, sizeof(*sets) * CPU_MAX_SPEED); in acpi_thr_settings()
355 for (i = 0, speed = CPU_MAX_SPEED; speed != 0; i++, speed--) { in acpi_thr_settings()
359 *count = CPU_MAX_SPEED; in acpi_thr_settings()
378 speed = set->freq * CPU_MAX_SPEED / 10000; in acpi_thr_set()
379 if (speed * 10000 != set->freq * CPU_MAX_SPEED || in acpi_thr_set()
380 speed < 1 || speed > CPU_MAX_SPEED) in acpi_thr_set()
393 if (speed < CPU_MAX_SPEED) { in acpi_thr_set()
[all …]