^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Strings for the various x86 power flags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * This file must not contain any executable code.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #include <asm/cpufeature.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) const char *const x86_power_flags[32] = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) "ts", /* temperature sensor */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) "fid", /* frequency id control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) "vid", /* voltage id control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) "ttp", /* thermal trip */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) "tm", /* hardware thermal control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) "stc", /* software thermal control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) "100mhzsteps", /* 100 MHz multiplier control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) "hwpstate", /* hardware P-state control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) "", /* tsc invariant mapped to constant_tsc */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) "cpb", /* core performance boost */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) "eff_freq_ro", /* Readonly aperf/mperf */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) "proc_feedback", /* processor feedback interface */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) "acc_power", /* accumulated power mechanism */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) };