Lines Matching defs:pfdev
52 struct panfrost_device *pfdev = dev_get_drvdata(dev);
53 struct panfrost_devfreq *pfdevfreq = &pfdev->pfdevfreq;
56 status->current_frequency = clk_get_rate(pfdev->clock);
71 dev_dbg(pfdev->dev, "busy %lu total %lu %lu %% freq %lu MHz\n",
111 int panfrost_devfreq_init(struct panfrost_device *pfdev)
116 struct device *dev = &pfdev->pdev->dev;
119 struct panfrost_devfreq *pfdevfreq = &pfdev->pfdevfreq;
121 if (pfdev->comp->num_supplies > 1) {
134 ret = devm_pm_opp_set_regulators(dev, pfdev->comp->supply_names);
157 cur_freq = clk_get_rate(pfdev->clock);
202 void panfrost_devfreq_fini(struct panfrost_device *pfdev)
204 struct panfrost_devfreq *pfdevfreq = &pfdev->pfdevfreq;
212 void panfrost_devfreq_resume(struct panfrost_device *pfdev)
214 struct panfrost_devfreq *pfdevfreq = &pfdev->pfdevfreq;
224 void panfrost_devfreq_suspend(struct panfrost_device *pfdev)
226 struct panfrost_devfreq *pfdevfreq = &pfdev->pfdevfreq;