Home
last modified time | relevance | path

Searched refs:to_devfreq (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/devfreq/
Ddevfreq.c526 struct devfreq *devfreq = to_devfreq(dev); in devfreq_dev_release()
975 if (!to_devfreq(dev)->governor) in governor_show()
978 return sprintf(buf, "%s\n", to_devfreq(dev)->governor->name); in governor_show()
984 struct devfreq *df = to_devfreq(dev); in governor_store()
1035 struct devfreq *df = to_devfreq(d); in available_governors_show()
1078 struct devfreq *devfreq = to_devfreq(dev); in cur_freq_show()
1091 return sprintf(buf, "%lu\n", to_devfreq(dev)->previous_freq); in target_freq_show()
1098 return sprintf(buf, "%d\n", to_devfreq(dev)->profile->polling_ms); in polling_interval_show()
1105 struct devfreq *df = to_devfreq(dev); in polling_interval_store()
1126 struct devfreq *df = to_devfreq(dev); in min_freq_store()
[all …]
Dgovernor_userspace.c48 struct devfreq *devfreq = to_devfreq(dev); in store_freq()
69 struct devfreq *devfreq = to_devfreq(dev); in show_freq()
Dgovernor.h19 #define to_devfreq(DEV) container_of((DEV), struct devfreq, dev) macro