Lines Matching refs:df
161 struct devfreq *df = dfc->devfreq; in devfreq_cooling_set_cur_state() local
162 struct device *dev = df->dev.parent; in devfreq_cooling_set_cur_state()
216 struct devfreq *df = dfc->devfreq; in get_static_power() local
217 struct device *dev = df->dev.parent; in get_static_power()
279 struct devfreq *df = dfc->devfreq; in devfreq_cooling_get_requested_power() local
280 struct devfreq_dev_status *status = &df->last_status; in devfreq_cooling_get_requested_power()
330 struct devfreq *df = dfc->devfreq; in devfreq_cooling_power2state() local
331 struct devfreq_dev_status *status = &df->last_status; in devfreq_cooling_power2state()
386 struct devfreq *df = dfc->devfreq; in devfreq_cooling_gen_tables() local
387 struct device *dev = df->dev.parent; in devfreq_cooling_gen_tables()
471 of_devfreq_cooling_register_power(struct device_node *np, struct devfreq *df, in of_devfreq_cooling_register_power() argument
483 dfc->devfreq = df; in of_devfreq_cooling_register_power()
508 dev_err(df->dev.parent, in of_devfreq_cooling_register_power()
537 of_devfreq_cooling_register(struct device_node *np, struct devfreq *df) in of_devfreq_cooling_register() argument
539 return of_devfreq_cooling_register_power(np, df, NULL); in of_devfreq_cooling_register()
547 struct thermal_cooling_device *devfreq_cooling_register(struct devfreq *df) in devfreq_cooling_register() argument
549 return of_devfreq_cooling_register(NULL, df); in devfreq_cooling_register()