• Home
  • Raw
  • Download

Lines Matching refs:df

923 	struct devfreq *df = to_devfreq(dev);  in governor_store()  local
938 if (df->governor == governor) { in governor_store()
941 } else if ((df->governor && df->governor->immutable) || in governor_store()
947 if (df->governor) { in governor_store()
948 ret = df->governor->event_handler(df, DEVFREQ_GOV_STOP, NULL); in governor_store()
951 __func__, df->governor->name, ret); in governor_store()
955 df->governor = governor; in governor_store()
956 strncpy(df->governor_name, governor->name, DEVFREQ_NAME_LEN); in governor_store()
957 ret = df->governor->event_handler(df, DEVFREQ_GOV_START, NULL); in governor_store()
960 __func__, df->governor->name, ret); in governor_store()
974 struct devfreq *df = to_devfreq(d); in available_governors_show() local
983 if (df->governor && df->governor->immutable) { in available_governors_show()
985 "%s ", df->governor_name); in available_governors_show()
1044 struct devfreq *df = to_devfreq(dev); in polling_interval_store() local
1048 if (!df->governor) in polling_interval_store()
1055 df->governor->event_handler(df, DEVFREQ_GOV_INTERVAL, &value); in polling_interval_store()
1065 struct devfreq *df = to_devfreq(dev); in min_freq_store() local
1074 mutex_lock(&df->lock); in min_freq_store()
1075 max = df->max_freq; in min_freq_store()
1081 df->min_freq = value; in min_freq_store()
1082 update_devfreq(df); in min_freq_store()
1085 mutex_unlock(&df->lock); in min_freq_store()
1092 struct devfreq *df = to_devfreq(dev); in max_freq_store() local
1101 mutex_lock(&df->lock); in max_freq_store()
1102 min = df->min_freq; in max_freq_store()
1108 df->max_freq = value; in max_freq_store()
1109 update_devfreq(df); in max_freq_store()
1112 mutex_unlock(&df->lock); in max_freq_store()
1132 struct devfreq *df = to_devfreq(d); in available_frequencies_show() local
1133 struct device *dev = df->dev.parent; in available_frequencies_show()