Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | devfreq_dev_status |
struct | devfreq_dev_profile |
struct | devfreq_governor |
struct | devfreq |
Macros | |
#define | DEVFREQ_NAME_LEN 16 |
#define | DEVFREQ_FLAG_LEAST_UPPER_BOUND 0x1 |
Governor's name | |
struct devfreq_governor - Devfreq policy governor Returns desired operating frequency for the device. Basically, get_target_freq will run devfreq_dev_profile.get_dev_status() to get the status of the device (load = busy_time / total_time). If no_central_polling is set, this callback is called only with update_devfreq() notified by OPP. Called when the devfreq is being attached to a device Called when the devfreq is being removed from a device. Governor should stop any internal routines before return because related data may be freed after exit(). Do not use devfreq's central polling mechanism. When this is set, devfreq will not call get_target_freq with devfreq_monitor(). However, devfreq will call get_target_freq with devfreq_update() notified by OPP framework. Note that the callbacks are called with devfreq->lock locked by devfreq. | |
#define | devfreq_powersave NULL |
#define | devfreq_performance NULL |
#define | devfreq_userspace NULL |
#define | devfreq_simple_ondemand NULL |