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>
16 #define to_devfreq(DEV) container_of((DEV), struct devfreq, dev)
18 /* Devfreq events */
29 * struct devfreq_governor - Devfreq policy governor
30 * @node: list node - contains registered devfreq governors
34 * @interrupt_driven: Devfreq core won't schedule polling work for this
42 * @event_handler: Callback for devfreq core framework to notify events
44 * init and exit, opp changes out of devfreq, suspend
45 * and resume of per device devfreq during device idle.
47 * Note that the callbacks are called with devfreq->lock locked by devfreq.
55 int (*get_target_freq)(struct devfreq *this, unsigned long *freq);
56 int (*event_handler)(struct devfreq *devfreq,
60 void devfreq_monitor_start(struct devfreq *devfreq);
61 void devfreq_monitor_stop(struct devfreq *devfreq);
62 void devfreq_monitor_suspend(struct devfreq *devfreq);
63 void devfreq_monitor_resume(struct devfreq *devfreq);
64 void devfreq_update_interval(struct devfreq *devfreq, unsigned int *delay);
69 int devfreq_update_status(struct devfreq *devfreq, unsigned long freq);
71 static inline int devfreq_update_stats(struct devfreq *df) in devfreq_update_stats()