mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 23:04:54 +01:00
Kernel ACPI subsytem introduced the sysfs attributes for acpi cppc library in below path: /sys/devices/system/cpu/cpuX/acpi_cppc/ And these attributes will be used for AMD P-State driver to provide some performance and frequency values. Reviewed-by: Shuah Khan <[email protected]> Signed-off-by: Huang Rui <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
22 lines
387 B
C
22 lines
387 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#ifndef __ACPI_CPPC_H__
|
|
#define __ACPI_CPPC_H__
|
|
|
|
enum acpi_cppc_value {
|
|
HIGHEST_PERF,
|
|
LOWEST_PERF,
|
|
NOMINAL_PERF,
|
|
LOWEST_NONLINEAR_PERF,
|
|
LOWEST_FREQ,
|
|
NOMINAL_FREQ,
|
|
REFERENCE_PERF,
|
|
WRAPAROUND_TIME,
|
|
MAX_CPPC_VALUE_FILES
|
|
};
|
|
|
|
unsigned long acpi_cppc_get_data(unsigned int cpu,
|
|
enum acpi_cppc_value which);
|
|
|
|
#endif /* _ACPI_CPPC_H */
|