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
202 * cpufreq would have assigned if there were no thermal limits.
322 pr_err("The span of pd %*pbl is misaligned with cpufreq policy %*pbl\n",
384 /* Otherwise, fallback on the CPUFreq table */
394 /* cpufreq cooling device callback functions are defined below */
401 * Callback for the thermal cooling device to return the cpufreq
420 * Callback for the thermal cooling device to return the cpufreq
440 * Callback for the thermal cooling device to change the cpufreq
475 * __cpufreq_cooling_register - helper function to create cpufreq cooling device
477 * @policy: cpufreq policy
478 * Normally this should be same as cpufreq policy->related_cpus.
479 * @em: Energy Model of the cpufreq policy
481 * This interface function registers the cpufreq cooling device with the name
482 * "cpufreq-%s". This API can support multiple instances of cpufreq
503 pr_err("%s: cpufreq policy isn't valid: %p\n", __func__, policy);
515 pr_debug("%s: CPUFreq table not found or has no valid entries\n",
566 name = kasprintf(GFP_KERNEL, "cpufreq-%s", dev_name(dev));
589 * cpufreq_cooling_register - function to create cpufreq cooling device.
590 * @policy: cpufreq policy
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.
608 * @policy: cpufreq policy
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
651 * cpufreq_cooling_unregister - function to remove cpufreq cooling device.
654 * This interface function unregisters the "cpufreq-%x" cooling device.