Lines Matching +full:p +full:- +full:states
1 // SPDX-License-Identifier: GPL-2.0
14 /* ACPI P-States Helper Functions for AMD Processors ***************/
101 * cpu -> the cpu that gets evaluated
102 * boost_states -> how much boost states the machines support
105 * pstates -> a pointer to an array of size MAX_HW_PSTATES
107 * All available HW pstates (including boost states)
108 * no -> amount of pstates above array got filled up with
110 * returns zero on success, -1 on failure
123 return -1;
126 return -1;
134 return -1;
137 return -1;
149 int amd_pci_get_num_boost_states(int *active, int *states)
155 *active = *states = 0;
160 return -ENODEV;
167 *states = (val >> 2) & 7;
173 /* ACPI P-States Helper Functions for AMD Processors ***************/
175 /* AMD P-State Helper Functions ************************************/
222 * frequency. So we read it back from amd-pstate sysfs entry.
233 printf(_(" AMD PSTATE Lowest Non-linear Performance: %lu. Lowest Non-linear Frequency: "),
245 /* AMD P-State Helper Functions ************************************/