helpers.h (d1abc4e996d7784ce4d56749e4b5ca8ff23b1e0f) helpers.h (3a3ecfdb605cc8d98988012a4f88c34b4d220c21)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc.
4 *
5 * Miscellaneous helpers which do not fit or are worth
6 * to put into separate headers
7 */
8

--- 58 unchanged lines hidden (view full) ---

67#define CPUPOWER_CAP_AMD_CPB 0x00000004
68#define CPUPOWER_CAP_PERF_BIAS 0x00000008
69#define CPUPOWER_CAP_HAS_TURBO_RATIO 0x00000010
70#define CPUPOWER_CAP_IS_SNB 0x00000020
71#define CPUPOWER_CAP_INTEL_IDA 0x00000040
72#define CPUPOWER_CAP_AMD_RDPRU 0x00000080
73#define CPUPOWER_CAP_AMD_HW_PSTATE 0x00000100
74#define CPUPOWER_CAP_AMD_PSTATEDEF 0x00000200
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * (C) 2010,2011 Thomas Renninger <trenn@suse.de>, Novell Inc.
4 *
5 * Miscellaneous helpers which do not fit or are worth
6 * to put into separate headers
7 */
8

--- 58 unchanged lines hidden (view full) ---

67#define CPUPOWER_CAP_AMD_CPB 0x00000004
68#define CPUPOWER_CAP_PERF_BIAS 0x00000008
69#define CPUPOWER_CAP_HAS_TURBO_RATIO 0x00000010
70#define CPUPOWER_CAP_IS_SNB 0x00000020
71#define CPUPOWER_CAP_INTEL_IDA 0x00000040
72#define CPUPOWER_CAP_AMD_RDPRU 0x00000080
73#define CPUPOWER_CAP_AMD_HW_PSTATE 0x00000100
74#define CPUPOWER_CAP_AMD_PSTATEDEF 0x00000200
75#define CPUPOWER_CAP_AMD_CPB_MSR 0x00000400
75
76#define CPUPOWER_AMD_CPBDIS 0x02000000
77
78#define MAX_HW_PSTATES 10
79
80struct cpupower_cpu_info {
81 enum cpupower_cpu_vendor vendor;
82 unsigned int family;

--- 105 unchanged lines hidden ---
76
77#define CPUPOWER_AMD_CPBDIS 0x02000000
78
79#define MAX_HW_PSTATES 10
80
81struct cpupower_cpu_info {
82 enum cpupower_cpu_vendor vendor;
83 unsigned int family;

--- 105 unchanged lines hidden ---