Lines Matching full:cooling

28  * Cooling state <-> CPUFreq frequency
30 * Cooling states are translated to frequencies throughout this driver and this
33 * Highest cooling state corresponds to lowest possible frequency.
52 * struct cpufreq_cooling_device - data for cooling device with cpufreq
55 * cooling devices.
56 * @max_level: maximum cooling level. One less than total number of valid
60 * registered cooling device.
259 * @state: cooling device state to be converted
262 * Convert cooling device state @state into power consumption in
266 * Return: 0 on success, -EINVAL if the cooling device state could not
290 * cpufreq_power2state() - convert power to a cooling device state
295 * Calculate a cooling device state for the cpus described by @cdev
299 * function with the same power as input can yield different cooling
305 * cpufreq have changed since the initialization of the cpu cooling
344 …pr_err("The number of performance states in pd %*pbl (%u) doesn't match the number of cooling leve… in em_is_sane()
408 /* cpufreq cooling device callback functions are defined below */
411 * cpufreq_get_max_state - callback function to get the max cooling state.
412 * @cdev: thermal cooling device pointer.
413 * @state: fill this variable with the max cooling state.
415 * Callback for the thermal cooling device to return the cpufreq
416 * max cooling state.
430 * cpufreq_get_cur_state - callback function to get the current cooling state.
431 * @cdev: thermal cooling device pointer.
432 * @state: fill this variable with the current cooling state.
434 * Callback for the thermal cooling device to return the cpufreq
435 * current cooling state.
450 * cpufreq_set_cur_state - callback function to set the current cooling state.
451 * @cdev: thermal cooling device pointer.
452 * @state: set this variable to the current cooling state.
454 * Callback for the thermal cooling device to change the cpufreq
455 * current cooling state.
472 /* Check if the old cooling action is same as new cooling action */ in cpufreq_set_cur_state()
492 /* Bind cpufreq callbacks to thermal cooling device ops */
501 * __cpufreq_cooling_register - helper function to create cpufreq cooling device
502 * @np: a valid struct device_node to the cooling device device tree node
507 * This interface function registers the cpufreq cooling device with the name
509 * cooling devices. It also gives the opportunity to link the cooling device
612 * cpufreq_cooling_register - function to create cpufreq cooling device.
615 * This interface function registers the cpufreq cooling device with the name
617 * cooling devices.
630 * of_cpufreq_cooling_register - function to create cpufreq cooling device.
633 * This interface function registers the cpufreq cooling device with the name
635 * cooling devices. Using this API, the cpufreq cooling device will be
638 * Using this function, the cooling device will implement the power
660 if (of_find_property(np, "#cooling-cells", NULL)) { in of_cpufreq_cooling_register()
665 pr_err("cpufreq_cooling: cpu%d failed to register as cooling device: %ld\n", in of_cpufreq_cooling_register()
677 * cpufreq_cooling_unregister - function to remove cpufreq cooling device.
678 * @cdev: thermal cooling device pointer.
680 * This interface function unregisters the "thermal-cpufreq-%x" cooling device.