Lines Matching defs:devfreq
13 #include <linux/devfreq.h>
1211 hba->devfreq->previous_freq);
1542 ufshcd_scale_clks(hba, hba->devfreq->previous_freq,
1568 devfreq_suspend_device(hba->devfreq);
1583 devfreq_resume_device(hba->devfreq);
1723 struct devfreq *devfreq;
1726 /* Skip devfreq if we don't have any clocks in the list */
1738 devfreq = devfreq_add_device(hba->dev,
1742 if (IS_ERR(devfreq)) {
1743 ret = PTR_ERR(devfreq);
1744 dev_err(hba->dev, "Unable to register with devfreq %d\n", ret);
1753 hba->devfreq = devfreq;
1762 if (!hba->devfreq)
1765 devfreq_remove_device(hba->devfreq);
1766 hba->devfreq = NULL;
1794 devfreq_suspend_device(hba->devfreq);
1810 devfreq_resume_device(hba->devfreq);
9255 /* Initialize devfreq after UFS device is detected */