panthor_devfreq.h 579 B

123456789101112131415161718192021
  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. int panthor_devfreq_resume(struct panthor_device *ptdev);
  11. int 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. #endif /* __PANTHOR_DEVFREQ_H__ */