1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- #ifndef _LINUX_AMD_PSTATE_H
- #define _LINUX_AMD_PSTATE_H
- #include <linux/pm_qos.h>
- struct amd_aperf_mperf {
- u64 aperf;
- u64 mperf;
- u64 tsc;
- };
- struct amd_cpudata {
- int cpu;
- struct freq_qos_request req[2];
- u64 cppc_req_cached;
- u32 highest_perf;
- u32 nominal_perf;
- u32 lowest_nonlinear_perf;
- u32 lowest_perf;
- u32 max_freq;
- u32 min_freq;
- u32 nominal_freq;
- u32 lowest_nonlinear_freq;
- struct amd_aperf_mperf cur;
- struct amd_aperf_mperf prev;
- u64 freq;
- bool boost_supported;
- };
- #endif
|