Lines Matching defs:ldev
62 struct lima_device *ldev = dev_get_drvdata(dev);
63 struct lima_devfreq *devfreq = &ldev->devfreq;
66 status->current_frequency = clk_get_rate(ldev->clk_gpu);
80 dev_dbg(ldev->dev, "busy %lu total %lu %lu %% freq %lu MHz\n",
94 void lima_devfreq_fini(struct lima_device *ldev)
96 struct lima_devfreq *devfreq = &ldev->devfreq;
104 devm_devfreq_remove_device(ldev->dev, devfreq->devfreq);
109 dev_pm_opp_of_remove_table(ldev->dev);
124 int lima_devfreq_init(struct lima_device *ldev)
127 struct device *dev = ldev->dev;
130 struct lima_devfreq *ldevfreq = &ldev->devfreq;
169 cur_freq = clk_get_rate(ldev->clk_gpu);
199 lima_devfreq_fini(ldev);