Lines Matching defs:devfreq
7 * The devfreq device combined with the energy model and the load can
15 #include <linux/devfreq.h>
26 struct devfreq *devfreq;
37 struct devfreq *devfreq = dtpm_devfreq->devfreq;
38 struct device *dev = devfreq->dev.parent;
51 struct devfreq *devfreq = dtpm_devfreq->devfreq;
52 struct device *dev = devfreq->dev.parent;
88 struct devfreq *devfreq = dtpm_devfreq->devfreq;
89 struct device *dev = devfreq->dev.parent;
96 mutex_lock(&devfreq->lock);
97 status = devfreq->last_status;
98 mutex_unlock(&devfreq->lock);
135 static int __dtpm_devfreq_setup(struct devfreq *devfreq, struct dtpm *parent)
137 struct device *dev = devfreq->dev.parent;
157 dtpm_devfreq->devfreq = devfreq;
186 struct devfreq *devfreq;
188 devfreq = devfreq_get_devfreq_by_node(np);
189 if (IS_ERR(devfreq))
192 return __dtpm_devfreq_setup(devfreq, dtpm);