Lines Matching refs:devfreq
26 struct devfreq *devfreq; member
37 struct devfreq *devfreq = dtpm_devfreq->devfreq; in update_pd_power_uw() local
38 struct device *dev = devfreq->dev.parent; in update_pd_power_uw()
51 struct devfreq *devfreq = dtpm_devfreq->devfreq; in set_pd_power_limit() local
52 struct device *dev = devfreq->dev.parent; in set_pd_power_limit()
88 struct devfreq *devfreq = dtpm_devfreq->devfreq; in get_pd_power_uw() local
89 struct device *dev = devfreq->dev.parent; in get_pd_power_uw()
96 mutex_lock(&devfreq->lock); in get_pd_power_uw()
97 status = devfreq->last_status; in get_pd_power_uw()
98 mutex_unlock(&devfreq->lock); in get_pd_power_uw()
135 static int __dtpm_devfreq_setup(struct devfreq *devfreq, struct dtpm *parent) in __dtpm_devfreq_setup() argument
137 struct device *dev = devfreq->dev.parent; in __dtpm_devfreq_setup()
157 dtpm_devfreq->devfreq = devfreq; in __dtpm_devfreq_setup()
186 struct devfreq *devfreq; in dtpm_devfreq_setup() local
188 devfreq = devfreq_get_devfreq_by_node(np); in dtpm_devfreq_setup()
189 if (IS_ERR(devfreq)) in dtpm_devfreq_setup()
192 return __dtpm_devfreq_setup(devfreq, dtpm); in dtpm_devfreq_setup()