Lines Matching +full:max +full:- +full:functions
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
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;
132 fprintf(stderr, "HW pstates [%d] exceeding max [%d]\n",
134 return -1;
137 return -1;
160 return -ENODEV;
173 /* ACPI P-States Helper Functions for AMD Processors ***************/
175 /* AMD P-State Helper Functions ************************************/
221 * If boost isn't active, the cpuinfo_max doesn't indicate real max
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 ************************************/