xref: /linux/tools/power/cpupower/lib/acpi_cppc.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
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