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()
56 struct devfreq *devfreq = dtpm_devfreq->devfreq; in set_pd_power_limit() local
57 struct device *dev = devfreq->dev.parent; in set_pd_power_limit()
96 struct devfreq *devfreq = dtpm_devfreq->devfreq; in get_pd_power_uw() local
97 struct device *dev = devfreq->dev.parent; in get_pd_power_uw()
105 mutex_lock(&devfreq->lock); in get_pd_power_uw()
106 status = devfreq->last_status; in get_pd_power_uw()
107 mutex_unlock(&devfreq->lock); in get_pd_power_uw()
147 static int __dtpm_devfreq_setup(struct devfreq *devfreq, struct dtpm *parent) in __dtpm_devfreq_setup() argument
149 struct device *dev = devfreq->dev.parent; in __dtpm_devfreq_setup()
169 dtpm_devfreq->devfreq = devfreq; in __dtpm_devfreq_setup()
198 struct devfreq *devfreq; in dtpm_devfreq_setup() local
200 devfreq = devfreq_get_devfreq_by_node(np); in dtpm_devfreq_setup()
201 if (IS_ERR(devfreq)) in dtpm_devfreq_setup()
204 return __dtpm_devfreq_setup(devfreq, dtpm); in dtpm_devfreq_setup()