panthor_devfreq.h 652 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0 or MIT */
  2. /* Copyright 2019 Collabora ltd. */
  3. #ifndef __PANTHOR_DEVFREQ_H__
  4. #define __PANTHOR_DEVFREQ_H__
  5. struct devfreq;
  6. struct thermal_cooling_device;
  7. struct panthor_device;
  8. struct panthor_devfreq;
  9. int panthor_devfreq_init(struct panthor_device *ptdev);
  10. void panthor_devfreq_resume(struct panthor_device *ptdev);
  11. void panthor_devfreq_suspend(struct panthor_device *ptdev);
  12. void panthor_devfreq_record_busy(struct panthor_device *ptdev);
  13. void panthor_devfreq_record_idle(struct panthor_device *ptdev);
  14. unsigned long panthor_devfreq_get_freq(struct panthor_device *ptdev);
  15. #endif /* __PANTHOR_DEVFREQ_H__ */