Lines Matching +full:cooling +full:- +full:levels
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2005-2007 Nate Lawson (SDG)
55 return (-1); in cpu_get_nominal_mhz()
84 int spec[4];/* Driver-specific storage for non-standard info. */
102 #define CPUFREQ_VAL_UNKNOWN (-1)
105 * Every driver offers a type of CPU control. Absolute levels are mutually
106 * exclusive while relative levels modify the current absolute level. There
113 * levels of 50, 100, 150, 200, 300, 400.
118 * information about settings but rely on another machine-dependent driver
136 * the system thermal driver needs to override it for emergency cooling,
164 * stores a non-zero error code in the result parameter and the change will
165 * not be made. If the post-change eventhandler gets a non-zero result,
167 * is revoked, the post-change eventhandler is still called with the error
177 * Eventhandler called when the available list of levels changed.
178 * The unit number of the device (i.e. "cpufreq0") whose levels changed
179 * is provided so the listener can retrieve the new list of levels.
184 /* Allow values to be +/- a bit since sometimes we have to estimate. */
185 #define CPUFREQ_CMP(x, y) (abs((x) - (y)) < 25)
188 * Machine-dependent functions.