Lines Matching defs:cpufreq
3 * linux/drivers/cpufreq/cpufreq.c
18 #include <linux/cpufreq.h>
54 * The "cpufreq driver" - the arch- or hardware-dependent low
168 * This is a generic cpufreq init() routine which can be used by cpufreq
215 * Call cpufreq_cpu_get_raw() to obtain a cpufreq policy for @cpu and increment
230 /* get the cpufreq driver */
247 * cpufreq_cpu_put - Decrement kobject usage counter for cpufreq policy.
248 * @policy: cpufreq policy returned by cpufreq_cpu_get().
258 * @policy: cpufreq policy returned by cpufreq_cpu_acquire().
276 * Call cpufreq_cpu_get() to get a reference on the cpufreq policy for @cpu and
341 * @policy: cpufreq policy to enable fast frequency switching for.
369 * which is not equal to what the cpufreq core thinks is
373 pr_debug("Warning: CPU frequency is %u, cpufreq assumed %u kHz\n",
419 * ASYNC_NOTIFICATION drivers are left out because the cpufreq core
491 * @policy: cpufreq policy to enable fast frequency switching for.
522 * @policy: cpufreq policy to disable fast frequency switching for.
620 pr_debug("%s: cpufreq BOOST %s\n",
723 * print out cpufreq information
850 * show_scaling_driver - show the cpufreq driver currently loaded
947 * show_bios_limit - show the current cpufreq HW/BIOS limitation
988 ATTRIBUTE_GROUPS(cpufreq);
1056 if (sysfs_create_link(&dev->kobj, &policy->kobj, "cpufreq"))
1057 dev_err(dev, "cpufreq symlink creation failed\n");
1064 sysfs_remove_link(&dev->kobj, "cpufreq");
1414 * Call driver. From then on the cpufreq must be able
1502 * frequency table present with cpufreq core. In such cases CPU might be
1505 * freq-table. This also makes cpufreq stats inconsistent as
1506 * cpufreq-stats would fail to register because current frequency of CPU
1607 * cpufreq_add_dev - the cpufreq interface for a CPU device.
1706 * Removes the cpufreq interface for a CPU device.
1750 pr_debug("Warning: CPU frequency out of sync: cpufreq and timing core thinks of %u, is %u kHz\n",
1900 .name = "cpufreq",
2009 * cpufreq_driver_test_flags - Test cpufreq driver's flags against given ones.
2010 * @flags: Flags to test against the current cpufreq driver's flags.
2023 * Return the name string of the currently registered cpufreq driver or NULL if
2038 * Return the private data of the currently registered cpufreq driver, or NULL
2039 * if no cpufreq driver has been registered.
2055 * cpufreq_register_notifier - Register a notifier with cpufreq.
2061 * of notifiers that ron on cpufreq policy changes.
2101 * cpufreq_unregister_notifier - Unregister a notifier from cpufreq.
2105 * Remove a notifier from one of the cpufreq notifier lists.
2147 * @policy: cpufreq policy to switch the frequency for.
2552 * Reads the current cpufreq policy.
2572 * cpufreq_set_policy - Modify cpufreq policy parameters.
2577 * Invoke the cpufreq driver's ->verify() callback to sanity-check the frequency
2680 * cpufreq_update_policy - Re-evaluate an existing cpufreq policy.
2683 * Update the current frequency for the cpufreq policy of @cpu and use
2685 * evaluation of policy notifiers and the cpufreq driver's ->verify() callback
2870 * The cpufreq core depends heavily on the availability of device
2931 "cpufreq:online",
2999 cpufreq_global_kobject = kobject_create_and_add("cpufreq", &dev_root->kobj);