Lines Matching refs:devfreq
11 #include <linux/devfreq.h>
12 #include <linux/devfreq-event.h>
42 struct devfreq *devfreq;
253 dev_err(dev, "failed to disable the devfreq-event devices\n");
257 ret = devfreq_suspend_device(dmcfreq->devfreq);
259 dev_err(dev, "failed to suspend the devfreq devices\n");
273 dev_err(dev, "failed to enable the devfreq-event devices\n");
277 ret = devfreq_resume_device(dmcfreq->devfreq);
279 dev_err(dev, "failed to resume the devfreq devices\n");
361 data->edev = devfreq_event_get_edev_by_phandle(dev, "devfreq-events", 0);
367 dev_err(dev, "failed to enable devfreq-event devices\n");
408 * We add a devfreq driver to our parent since it has a device tree node
440 data->devfreq = devm_devfreq_add_device(dev,
444 if (IS_ERR(data->devfreq)) {
445 ret = PTR_ERR(data->devfreq);
449 devm_devfreq_register_opp_notifier(dev, data->devfreq);
488 MODULE_DESCRIPTION("RK3399 dmcfreq driver with devfreq framework");