Lines Matching +full:non +full:- +full:active

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; in decode_pstates()
126 return -1; in decode_pstates()
134 return -1; in decode_pstates()
137 return -1; in decode_pstates()
149 int amd_pci_get_num_boost_states(int *active, int *states) in amd_pci_get_num_boost_states() argument
155 *active = *states = 0; in amd_pci_get_num_boost_states()
160 return -ENODEV; in amd_pci_get_num_boost_states()
164 *active = 1; in amd_pci_get_num_boost_states()
166 *active = 0; in amd_pci_get_num_boost_states()
173 /* ACPI P-States Helper Functions for AMD Processors ***************/
175 /* AMD P-State Helper Functions ************************************/
202 void amd_pstate_boost_init(unsigned int cpu, int *support, int *active) in amd_pstate_boost_init() argument
217 *active = cpuinfo_max == amd_pstate_max ? 1 : 0; in amd_pstate_boost_init()
223 printf(_(" amd-pstate limits:\n")); in amd_pstate_show_perf_and_freq()
227 * If boost isn't active, the cpuinfo_max doesn't indicate real max in amd_pstate_show_perf_and_freq()
228 * frequency. So we read it back from amd-pstate sysfs entry. in amd_pstate_show_perf_and_freq()
239 printf(_(" Lowest Non-linear Performance: %lu. Lowest Non-linear Frequency: "), in amd_pstate_show_perf_and_freq()
255 /* AMD P-State Helper Functions ************************************/