Lines Matching refs:devfreq
11 #include <linux/devfreq.h>
12 #include <linux/devfreq-governor.h>
70 * @devfreq: devfreq data of this hisi_uncore_freq device
82 struct devfreq *devfreq;
91 /* Default polling interval in ms for devfreq governors*/
294 * random value. devfreq shouldn't use 'freq' in that case though.
348 static int hisi_platform_gov_func(struct devfreq *df, unsigned long *freq)
352 * devfreq, so just pick the max freq.
359 static int hisi_platform_gov_handler(struct devfreq *df, unsigned int event,
392 * Thus, create a pseudo 'hisi_platform' governor that stops devfreq monitor
398 * Set interrupt_driven to skip the devfreq monitor mechanism, though
585 uncore->devfreq = devm_devfreq_add_device(dev, profile,
588 uncore->devfreq = devm_devfreq_add_device(dev, profile,
590 if (IS_ERR(uncore->devfreq))
591 return dev_err_probe(dev, PTR_ERR(uncore->devfreq),
592 "Failed to add devfreq device\n");
635 return dev_err_probe(dev, rc, "Failed to register devfreq\n");