cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

acpi_cppc.h (387B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2
      3#ifndef __ACPI_CPPC_H__
      4#define __ACPI_CPPC_H__
      5
      6enum 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
     18unsigned long acpi_cppc_get_data(unsigned int cpu,
     19				 enum acpi_cppc_value which);
     20
     21#endif /* _ACPI_CPPC_H */