Lines Matching full:cpufreq

14 #include <linux/cpufreq.h>
29 * Cooling state <-> CPUFreq frequency
53 * struct cpufreq_cooling_device - data for cooling device with cpufreq
55 * @cpufreq_state: integer value representing the current state of cpufreq
58 * cpufreq frequencies.
62 * @policy: cpufreq policy.
63 * @cooling_ops: cpufreq callbacks to thermal cooling device ops
204 * cpufreq would have assigned if there were no thermal limits.
324 pr_err("The span of pd %*pbl is misaligned with cpufreq policy %*pbl\n", in em_is_sane()
386 /* Otherwise, fallback on the CPUFreq table */ in get_state_freq()
396 /* cpufreq cooling device callback functions are defined below */
403 * Callback for the thermal cooling device to return the cpufreq
422 * Callback for the thermal cooling device to return the cpufreq
442 * Callback for the thermal cooling device to change the cpufreq
477 * __cpufreq_cooling_register - helper function to create cpufreq cooling device
479 * @policy: cpufreq policy
480 * Normally this should be same as cpufreq policy->related_cpus.
481 * @em: Energy Model of the cpufreq policy
483 * This interface function registers the cpufreq cooling device with the name
484 * "cpufreq-%s". This API can support multiple instances of cpufreq
505 pr_err("%s: cpufreq policy isn't valid: %p\n", __func__, policy); in __cpufreq_cooling_register()
517 pr_debug("%s: CPUFreq table not found or has no valid entries\n", in __cpufreq_cooling_register()
568 name = kasprintf(GFP_KERNEL, "cpufreq-%s", dev_name(dev)); in __cpufreq_cooling_register()
591 * cpufreq_cooling_register - function to create cpufreq cooling device.
592 * @policy: cpufreq policy
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.
610 * @policy: cpufreq policy
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
653 * cpufreq_cooling_unregister - function to remove cpufreq cooling device.
656 * This interface function unregisters the "cpufreq-%x" cooling device.