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.
60 * @policy: cpufreq policy.
61 * @cooling_ops: cpufreq callbacks to thermal cooling device ops
216 * cpufreq would have assigned if there were no thermal limits.
342 pr_err("The span of pd %*pbl is misaligned with cpufreq policy %*pbl\n", in em_is_sane()
413 /* Otherwise, fallback on the CPUFreq table */ in get_state_freq()
423 /* cpufreq cooling device callback functions are defined below */
430 * Callback for the thermal cooling device to return the cpufreq
449 * Callback for the thermal cooling device to return the cpufreq
469 * Callback for the thermal cooling device to change the cpufreq
501 * __cpufreq_cooling_register - helper function to create cpufreq cooling device
503 * @policy: cpufreq policy
504 * Normally this should be same as cpufreq policy->related_cpus.
505 * @em: Energy Model of the cpufreq policy
507 * This interface function registers the cpufreq cooling device with the name
508 * "cpufreq-%s". This API can support multiple instances of cpufreq
529 pr_err("%s: cpufreq policy isn't valid: %p\n", __func__, policy); in __cpufreq_cooling_register()
541 pr_debug("%s: CPUFreq table not found or has no valid entries\n", in __cpufreq_cooling_register()
592 name = kasprintf(GFP_KERNEL, "cpufreq-%s", dev_name(dev)); in __cpufreq_cooling_register()
615 * cpufreq_cooling_register - function to create cpufreq cooling device.
616 * @policy: cpufreq policy
618 * This interface function registers the cpufreq cooling device with the name
619 * "cpufreq-%s". This API can support multiple instances of cpufreq cooling
633 * of_cpufreq_cooling_register - function to create cpufreq cooling device.
634 * @policy: cpufreq policy
636 * This interface function registers the cpufreq cooling device with the name
637 * "cpufreq-%s". This API can support multiple instances of cpufreq cooling
638 * devices. Using this API, the cpufreq cooling device will be linked to the
677 * cpufreq_cooling_unregister - function to remove cpufreq cooling device.
680 * This interface function unregisters the "cpufreq-%x" cooling device.