Lines Matching refs:profile

80 	for (lev = 0; lev < devfreq->profile->max_state; lev++)
81 if (freq == devfreq->profile->freq_table[lev])
116 devfreq->profile->max_state) + lev]++;
196 err = devfreq->profile->target(devfreq->dev.parent, &freq, flags);
200 if (devfreq->profile->freq_table)
227 msecs_to_jiffies(devfreq->profile->polling_ms));
243 if (devfreq->profile->polling_ms)
245 msecs_to_jiffies(devfreq->profile->polling_ms));
307 devfreq->profile->polling_ms)
309 msecs_to_jiffies(devfreq->profile->polling_ms));
314 if (devfreq->profile->get_cur_freq &&
315 !devfreq->profile->get_cur_freq(devfreq->dev.parent, &freq))
333 unsigned int cur_delay = devfreq->profile->polling_ms;
337 devfreq->profile->polling_ms = new_delay;
352 msecs_to_jiffies(devfreq->profile->polling_ms));
363 msecs_to_jiffies(devfreq->profile->polling_ms));
412 if (devfreq->profile->exit)
413 devfreq->profile->exit(devfreq->dev.parent);
435 * @profile: device-specific profile to run devfreq.
441 struct devfreq_dev_profile *profile,
449 if (!dev || !profile || !governor_name) {
476 devfreq->profile = profile;
478 devfreq->previous_freq = profile->initial_freq;
483 devfreq->profile->max_state *
484 devfreq->profile->max_state,
487 devfreq->profile->max_state,
565 * @profile: device-specific profile to run devfreq.
575 struct devfreq_dev_profile *profile,
585 devfreq = devfreq_add_device(dev, profile, governor_name, data);
854 if (devfreq->profile->get_cur_freq &&
855 !devfreq->profile->get_cur_freq(devfreq->dev.parent, &freq))
872 return sprintf(buf, "%d\n", to_devfreq(dev)->profile->polling_ms);
1003 unsigned int max_state = devfreq->profile->max_state;
1013 devfreq->profile->freq_table[i]);
1018 if (devfreq->profile->freq_table[i]
1025 devfreq->profile->freq_table[i]);