1 /* SPDX-License-Identifier: GPL-2.0 or MIT */
2 /* Copyright 2019 Collabora ltd. */
4 #ifndef __PANTHOR_DEVFREQ_H__
5 #define __PANTHOR_DEVFREQ_H__
8 struct thermal_cooling_device;
10 struct panthor_device;
11 struct panthor_devfreq;
13 int panthor_devfreq_init(struct panthor_device *ptdev);
15 int panthor_devfreq_resume(struct panthor_device *ptdev);
16 int panthor_devfreq_suspend(struct panthor_device *ptdev);
18 void panthor_devfreq_record_busy(struct panthor_device *ptdev);
19 void panthor_devfreq_record_idle(struct panthor_device *ptdev);
21 #endif /* __PANTHOR_DEVFREQ_H__ */