Lines Matching full:cpufreq

3  *  linux/drivers/cpufreq/cpufreq.c
18 #include <linux/cpufreq.h>
55 * The "cpufreq driver" - the arch- or hardware-dependent low
56 * level driver of CPUFreq support, and its spinlock. This lock
69 /* Flag to suspend/resume CPUFreq governors */
172 * This is a generic cpufreq init() routine which can be used by cpufreq
225 * Call cpufreq_cpu_get_raw() to obtain a cpufreq policy for @cpu and increment
240 /* get the cpufreq driver */ in cpufreq_cpu_get()
257 * cpufreq_cpu_put - Decrement kobject usage counter for cpufreq policy.
258 * @policy: cpufreq policy returned by cpufreq_cpu_get().
306 * @policy: cpufreq policy to enable fast frequency switching for.
334 * which is not equal to what the cpufreq core thinks is in cpufreq_notify_transition()
338 pr_debug("Warning: CPU frequency is %u, cpufreq assumed %u kHz\n", in cpufreq_notify_transition()
384 * ASYNC_NOTIFICATION drivers are left out because the cpufreq core in cpufreq_freq_transition_begin()
456 * @policy: cpufreq policy to enable fast frequency switching for.
487 * @policy: cpufreq policy to disable fast frequency switching for.
590 pr_debug("%s: cpufreq BOOST %s\n", in store_boost()
711 * print out cpufreq information
858 * show_scaling_driver - show the cpufreq driver currently loaded
866 * show_scaling_available_governors - show the available CPUfreq governors
955 * show_bios_limit - show the current cpufreq HW/BIOS limitation
998 ATTRIBUTE_GROUPS(cpufreq);
1064 if (sysfs_create_link(&dev->kobj, &policy->kobj, "cpufreq")) in add_cpu_dev_symlink()
1065 dev_err(dev, "cpufreq symlink creation failed\n"); in add_cpu_dev_symlink()
1072 sysfs_remove_link(&dev->kobj, "cpufreq"); in remove_cpu_dev_symlink()
1426 * Call driver. From then on the cpufreq must be able in cpufreq_policy_online()
1497 * frequency table present with cpufreq core. In such cases CPU might be in cpufreq_policy_online()
1500 * freq-table. This also makes cpufreq stats inconsistent as in cpufreq_policy_online()
1501 * cpufreq-stats would fail to register because current frequency of CPU in cpufreq_policy_online()
1622 /* Register cpufreq cooling only for a new policy */ in cpufreq_online()
1647 * cpufreq_add_dev - the cpufreq interface for a CPU device.
1742 * Removes the cpufreq interface for a CPU device.
1762 * Unregister cpufreq cooling once all the CPUs of the policy in cpufreq_remove_dev()
1791 pr_debug("Warning: CPU frequency out of sync: cpufreq and timing core thinks of %u, is %u kHz\n", in cpufreq_out_of_sync()
1928 .name = "cpufreq",
1961 * cpufreq_suspend() - Suspend CPUFreq governors.
1997 * cpufreq_resume() - Resume CPUFreq governors.
2037 * cpufreq_driver_test_flags - Test cpufreq driver's flags against given ones.
2038 * @flags: Flags to test against the current cpufreq driver's flags.
2051 * Return the name string of the currently registered cpufreq driver or NULL if
2066 * Return the private data of the currently registered cpufreq driver, or NULL
2067 * if no cpufreq driver has been registered.
2083 * cpufreq_register_notifier - Register a notifier with cpufreq.
2089 * of notifiers that ron on cpufreq policy changes.
2129 * cpufreq_unregister_notifier - Unregister a notifier from cpufreq.
2133 * Remove a notifier from one of the cpufreq notifier lists.
2175 * @policy: cpufreq policy to switch the frequency for.
2224 * @policy: cpufreq policy object of the target CPU.
2571 * cpufreq_update_pressure() - Update cpufreq pressure for CPUs
2572 * @policy: cpufreq policy of the CPUs.
2574 * Update the value of cpufreq pressure for all @cpus in the policy.
2588 * the cpufreq pressure value. in cpufreq_update_pressure()
2603 * cpufreq_set_policy - Modify cpufreq policy parameters.
2608 * Invoke the cpufreq driver's ->verify() callback to sanity-check the frequency
2736 * cpufreq_update_policy - Re-evaluate an existing cpufreq policy.
2739 * Update the current frequency for the cpufreq policy of @cpu and use
2741 * evaluation of policy notifiers and the cpufreq driver's ->verify() callback
2862 * REGISTER / UNREGISTER CPUFREQ DRIVER *
2899 * The cpufreq core depends heavily on the availability of device in cpufreq_register_driver()
2942 pr_debug("cpufreq: supports frequency invariance\n"); in cpufreq_register_driver()
2958 "cpufreq:online", in cpufreq_register_driver()
2986 * cpufreq_unregister_driver - unregister the current CPUFreq driver
2988 * Unregister the current CPUFreq driver. Only call this if you have
3028 cpufreq_global_kobject = kobject_create_and_add("cpufreq", &dev_root->kobj); in cpufreq_core_init()
3043 pr_debug("cpufreq policy not set for CPU: %d\n", cpu); in cpufreq_policy_is_good_for_eas()