xref: /linux/drivers/gpu/drm/panthor/panthor_devfreq.h (revision 55d0969c451159cff86949b38c39171cab962069)
1 /* SPDX-License-Identifier: GPL-2.0 or MIT */
2 /* Copyright 2019 Collabora ltd. */
3 
4 #ifndef __PANTHOR_DEVFREQ_H__
5 #define __PANTHOR_DEVFREQ_H__
6 
7 struct devfreq;
8 struct thermal_cooling_device;
9 
10 struct panthor_device;
11 struct panthor_devfreq;
12 
13 int panthor_devfreq_init(struct panthor_device *ptdev);
14 
15 int panthor_devfreq_resume(struct panthor_device *ptdev);
16 int panthor_devfreq_suspend(struct panthor_device *ptdev);
17 
18 void panthor_devfreq_record_busy(struct panthor_device *ptdev);
19 void panthor_devfreq_record_idle(struct panthor_device *ptdev);
20 
21 #endif /* __PANTHOR_DEVFREQ_H__ */
22