Lines Matching refs:to_devfreq
588 struct devfreq *devfreq = to_devfreq(dev); in devfreq_dev_release()
1118 if (!to_devfreq(dev)->governor) in governor_show()
1121 return sprintf(buf, "%s\n", to_devfreq(dev)->governor->name); in governor_show()
1127 struct devfreq *df = to_devfreq(dev); in governor_store()
1190 struct devfreq *df = to_devfreq(d); in available_governors_show()
1233 struct devfreq *devfreq = to_devfreq(dev); in cur_freq_show()
1246 return sprintf(buf, "%lu\n", to_devfreq(dev)->previous_freq); in target_freq_show()
1253 return sprintf(buf, "%d\n", to_devfreq(dev)->profile->polling_ms); in polling_interval_show()
1260 struct devfreq *df = to_devfreq(dev); in polling_interval_store()
1281 struct devfreq *df = to_devfreq(dev); in min_freq_store()
1317 struct devfreq *df = to_devfreq(dev); in min_freq_show()
1325 struct devfreq *df = to_devfreq(dev); in max_freq_store()
1362 struct devfreq *df = to_devfreq(dev); in max_freq_show()
1372 struct devfreq *df = to_devfreq(d); in available_frequencies_show()
1396 struct devfreq *devfreq = to_devfreq(dev); in trans_stat_show()