xref: /linux/tools/power/cpupower/lib/acpi_cppc.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __ACPI_CPPC_H__
4 #define __ACPI_CPPC_H__
5 
6 enum acpi_cppc_value {
7 	HIGHEST_PERF,
8 	LOWEST_PERF,
9 	NOMINAL_PERF,
10 	LOWEST_NONLINEAR_PERF,
11 	LOWEST_FREQ,
12 	NOMINAL_FREQ,
13 	REFERENCE_PERF,
14 	WRAPAROUND_TIME,
15 	MAX_CPPC_VALUE_FILES
16 };
17 
18 unsigned long acpi_cppc_get_data(unsigned int cpu,
19 				 enum acpi_cppc_value which);
20 
21 #endif /* _ACPI_CPPC_H */
22