Lines Matching refs:to_devfreq
426 struct devfreq *devfreq = to_devfreq(dev); in devfreq_dev_release()
773 if (!to_devfreq(dev)->governor) in governor_show()
776 return sprintf(buf, "%s\n", to_devfreq(dev)->governor->name); in governor_show()
782 struct devfreq *df = to_devfreq(dev); in governor_store()
852 struct devfreq *devfreq = to_devfreq(dev); in cur_freq_show()
865 return sprintf(buf, "%lu\n", to_devfreq(dev)->previous_freq); in target_freq_show()
872 return sprintf(buf, "%d\n", to_devfreq(dev)->profile->polling_ms); in polling_interval_show()
879 struct devfreq *df = to_devfreq(dev); in polling_interval_store()
900 struct devfreq *df = to_devfreq(dev); in min_freq_store()
927 return sprintf(buf, "%lu\n", to_devfreq(dev)->min_freq); in min_freq_show()
933 struct devfreq *df = to_devfreq(dev); in max_freq_store()
961 return sprintf(buf, "%lu\n", to_devfreq(dev)->max_freq); in max_freq_show()
969 struct devfreq *df = to_devfreq(d); in available_frequencies_show()
1000 struct devfreq *devfreq = to_devfreq(dev); in trans_stat_show()