#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/stat.h>
#include <linux/opp.h>
#include <linux/devfreq.h>
#include <linux/workqueue.h>
#include <linux/platform_device.h>
#include <linux/list.h>
#include <linux/printk.h>
#include <linux/hrtimer.h>
#include "governor.h"
Go to the source code of this file.
devfreq_add_device() - Add devfreq feature to the device : the device to add devfreq feature. : device-specific profile to run devfreq. : the policy to choose frequency. : private data for the governor. The devfreq framework does not touch this value.
Definition at line 347 of file devfreq.c.
devfreq_recommended_opp() - Helper function to get proper OPP for the freq value given to target callback. The devfreq user device. (parent of devfreq) The frequency given to target function Flags handed from devfreq framework.
Definition at line 649 of file devfreq.c.
late_initcall |
( |
devfreq_start_polling |
| ) |
|
module_exit |
( |
devfreq_exit |
| ) |
|
subsys_initcall |
( |
devfreq_init |
| ) |
|
update_devfreq() - Reevaluate the device and configure frequency. : the devfreq instance.
Note: Lock devfreq->lock before calling update_devfreq This function is exported for governors.
Definition at line 82 of file devfreq.c.