Lines Matching full:cooling
29 * Cooling state <-> CPUFreq frequency
31 * Cooling states are translated to frequencies throughout this driver and this
34 * Highest cooling state corresponds to lowest possible frequency.
53 * struct cpufreq_cooling_device - data for cooling device with cpufreq
56 * cooling devices.
57 * @max_level: maximum cooling level. One less than total number of valid
61 * registered cooling device.
63 * @cooling_ops: cpufreq callbacks to thermal cooling device ops
252 * @state: cooling device state to be converted
255 * Convert cooling device state @state into power consumption in
259 * Return: 0 on success, -EINVAL if the cooling device state is bigger
282 * cpufreq_power2state() - convert power to a cooling device state
287 * Calculate a cooling device state for the cpus described by @cdev
291 * as input can yield different cooling device states depending on those
332 …pr_err("The number of performance states in pd %*pbl (%u) doesn't match the number of cooling leve… in em_is_sane()
396 /* cpufreq cooling device callback functions are defined below */
399 * cpufreq_get_max_state - callback function to get the max cooling state.
400 * @cdev: thermal cooling device pointer.
401 * @state: fill this variable with the max cooling state.
403 * Callback for the thermal cooling device to return the cpufreq
404 * max cooling state.
418 * cpufreq_get_cur_state - callback function to get the current cooling state.
419 * @cdev: thermal cooling device pointer.
420 * @state: fill this variable with the current cooling state.
422 * Callback for the thermal cooling device to return the cpufreq
423 * current cooling state.
438 * cpufreq_set_cur_state - callback function to set the current cooling state.
439 * @cdev: thermal cooling device pointer.
440 * @state: set this variable to the current cooling state.
442 * Callback for the thermal cooling device to change the cpufreq
443 * current cooling state.
459 /* Check if the old cooling action is same as new cooling action */ in cpufreq_set_cur_state()
477 * __cpufreq_cooling_register - helper function to create cpufreq cooling device
478 * @np: a valid struct device_node to the cooling device tree node
483 * This interface function registers the cpufreq cooling device with the name
485 * cooling devices. It also gives the opportunity to link the cooling device
591 * cpufreq_cooling_register - function to create cpufreq cooling device.
594 * This interface function registers the cpufreq cooling device with the name
595 * "cpufreq-%s". This API can support multiple instances of cpufreq cooling
609 * of_cpufreq_cooling_register - function to create cpufreq cooling device.
612 * This interface function registers the cpufreq cooling device with the name
613 * "cpufreq-%s". This API can support multiple instances of cpufreq cooling
614 * devices. Using this API, the cpufreq cooling device will be linked to the
617 * Using this function, the cooling device will implement the power
636 if (of_find_property(np, "#cooling-cells", NULL)) { in of_cpufreq_cooling_register()
641 pr_err("cpufreq_cooling: cpu%d failed to register as cooling device: %ld\n", in of_cpufreq_cooling_register()
653 * cpufreq_cooling_unregister - function to remove cpufreq cooling device.
654 * @cdev: thermal cooling device pointer.
656 * This interface function unregisters the "cpufreq-%x" cooling device.