Lines Matching defs:pfdev
56 struct panfrost_device *pfdev = dev_get_drvdata(dev);
57 struct panfrost_devfreq *pfdevfreq = &pfdev->pfdevfreq;
60 status->current_frequency = clk_get_rate(pfdev->clock);
75 dev_dbg(pfdev->dev, "busy %lu total %lu %lu %% freq %lu MHz\n",
89 int panfrost_devfreq_init(struct panfrost_device *pfdev)
94 struct device *dev = &pfdev->pdev->dev;
98 struct panfrost_devfreq *pfdevfreq = &pfdev->pfdevfreq;
100 opp_table = dev_pm_opp_set_regulators(dev, pfdev->comp->supply_names,
101 pfdev->comp->num_supplies);
126 cur_freq = clk_get_rate(pfdev->clock);
155 panfrost_devfreq_fini(pfdev);
159 void panfrost_devfreq_fini(struct panfrost_device *pfdev)
161 struct panfrost_devfreq *pfdevfreq = &pfdev->pfdevfreq;
169 dev_pm_opp_of_remove_table(&pfdev->pdev->dev);
179 void panfrost_devfreq_resume(struct panfrost_device *pfdev)
181 struct panfrost_devfreq *pfdevfreq = &pfdev->pfdevfreq;
191 void panfrost_devfreq_suspend(struct panfrost_device *pfdev)
193 struct panfrost_devfreq *pfdevfreq = &pfdev->pfdevfreq;