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
57 * cooling devices.
58 * @max_level: maximum cooling level. One less than total number of valid
62 * registered cooling device.
254 * @state: cooling device state to be converted
257 * Convert cooling device state @state into power consumption in
261 * Return: 0 on success, -EINVAL if the cooling device state could not
285 * cpufreq_power2state() - convert power to a cooling device state
290 * Calculate a cooling device state for the cpus described by @cdev
294 * function with the same power as input can yield different cooling
300 * cpufreq have changed since the initialization of the cpu cooling
339 …pr_err("The number of performance states in pd %*pbl (%u) doesn't match the number of cooling leve… in em_is_sane()
373 /* cpufreq cooling device callback functions are defined below */
376 * cpufreq_get_max_state - callback function to get the max cooling state.
377 * @cdev: thermal cooling device pointer.
378 * @state: fill this variable with the max cooling state.
380 * Callback for the thermal cooling device to return the cpufreq
381 * max cooling state.
395 * cpufreq_get_cur_state - callback function to get the current cooling state.
396 * @cdev: thermal cooling device pointer.
397 * @state: fill this variable with the current cooling state.
399 * Callback for the thermal cooling device to return the cpufreq
400 * current cooling state.
415 * cpufreq_set_cur_state - callback function to set the current cooling state.
416 * @cdev: thermal cooling device pointer.
417 * @state: set this variable to the current cooling state.
419 * Callback for the thermal cooling device to change the cpufreq
420 * current cooling state.
437 /* Check if the old cooling action is same as new cooling action */ in cpufreq_set_cur_state()
457 /* Bind cpufreq callbacks to thermal cooling device ops */
466 * __cpufreq_cooling_register - helper function to create cpufreq cooling device
467 * @np: a valid struct device_node to the cooling device device tree node
472 * This interface function registers the cpufreq cooling device with the name
474 * 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
594 * cooling devices.
607 * of_cpufreq_cooling_register - function to create cpufreq cooling device.
610 * This interface function registers the cpufreq cooling device with the name
612 * cooling devices. Using this API, the cpufreq cooling device will be
615 * Using this function, the cooling device will implement the power
637 if (of_find_property(np, "#cooling-cells", NULL)) { in of_cpufreq_cooling_register()
642 pr_err("cpufreq_cooling: cpu%d failed to register as cooling device: %ld\n", in of_cpufreq_cooling_register()
654 * cpufreq_cooling_unregister - function to remove cpufreq cooling device.
655 * @cdev: thermal cooling device pointer.
657 * This interface function unregisters the "thermal-cpufreq-%x" cooling device.