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 * @cooling_ops: cpufreq callbacks to thermal cooling device ops
250 * @state: cooling device state to be converted
253 * Convert cooling device state @state into power consumption in
257 * Return: 0 on success, -EINVAL if the cooling device state is bigger
280 * cpufreq_power2state() - convert power to a cooling device state
285 * Calculate a cooling device state for the cpus described by @cdev
289 * as input can yield different cooling device states depending on those
330 …pr_err("The number of performance states in pd %*pbl (%u) doesn't match the number of cooling leve… in em_is_sane()
394 /* cpufreq cooling device callback functions are defined below */
397 * cpufreq_get_max_state - callback function to get the max cooling state.
398 * @cdev: thermal cooling device pointer.
399 * @state: fill this variable with the max cooling state.
401 * Callback for the thermal cooling device to return the cpufreq
402 * max cooling state.
416 * cpufreq_get_cur_state - callback function to get the current cooling state.
417 * @cdev: thermal cooling device pointer.
418 * @state: fill this variable with the current cooling state.
420 * Callback for the thermal cooling device to return the cpufreq
421 * current cooling state.
436 * cpufreq_set_cur_state - callback function to set the current cooling state.
437 * @cdev: thermal cooling device pointer.
438 * @state: set this variable to the current cooling state.
440 * Callback for the thermal cooling device to change the cpufreq
441 * current cooling state.
457 /* Check if the old cooling action is same as new cooling action */ in cpufreq_set_cur_state()
475 * __cpufreq_cooling_register - helper function to create cpufreq cooling device
476 * @np: a valid struct device_node to the cooling device tree node
481 * This interface function registers the cpufreq cooling device with the name
483 * cooling devices. It also gives the opportunity to link the cooling device
589 * cpufreq_cooling_register - function to create cpufreq cooling device.
592 * This interface function registers the cpufreq cooling device with the name
593 * "cpufreq-%s". This API can support multiple instances of cpufreq cooling
607 * of_cpufreq_cooling_register - function to create cpufreq cooling device.
610 * This interface function registers the cpufreq cooling device with the name
611 * "cpufreq-%s". This API can support multiple instances of cpufreq cooling
612 * devices. Using this API, the cpufreq cooling device will be linked to the
615 * Using this function, the cooling device will implement the power
634 if (of_property_present(np, "#cooling-cells")) { in of_cpufreq_cooling_register()
639 pr_err("cpufreq_cooling: cpu%d failed to register as cooling device: %ld\n", in of_cpufreq_cooling_register()
651 * cpufreq_cooling_unregister - function to remove cpufreq cooling device.
652 * @cdev: thermal cooling device pointer.
654 * This interface function unregisters the "cpufreq-%x" cooling device.