Lines Matching full:devfreq
3 * governor.h - internal header for devfreq governors.
8 * This header is for devfreq governors in drivers/devfreq/
14 #include <linux/devfreq.h>
18 #define to_devfreq(DEV) container_of((DEV), struct devfreq, dev)
20 /* Devfreq events */
35 * : The devfreq won't schedule the work for this governor.
51 * struct devfreq_governor - Devfreq policy governor
52 * @node: list node - contains registered devfreq governors
60 * @event_handler: Callback for devfreq core framework to notify events
62 * init and exit, opp changes out of devfreq, suspend
63 * and resume of per device devfreq during device idle.
65 * Note that the callbacks are called with devfreq->lock locked by devfreq.
73 int (*get_target_freq)(struct devfreq *this, unsigned long *freq);
74 int (*event_handler)(struct devfreq *devfreq,
78 void devfreq_monitor_start(struct devfreq *devfreq);
79 void devfreq_monitor_stop(struct devfreq *devfreq);
80 void devfreq_monitor_suspend(struct devfreq *devfreq);
81 void devfreq_monitor_resume(struct devfreq *devfreq);
82 void devfreq_update_interval(struct devfreq *devfreq, unsigned int *delay);
87 int devfreq_update_status(struct devfreq *devfreq, unsigned long freq);
88 int devfreq_update_target(struct devfreq *devfreq, unsigned long freq);
90 static inline int devfreq_update_stats(struct devfreq *df) in devfreq_update_stats()