mali_pm.h 806 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * This confidential and proprietary software may be used only as
  3. * authorised by a licensing agreement from ARM Limited
  4. * (C) COPYRIGHT 2011-2013 ARM Limited
  5. * ALL RIGHTS RESERVED
  6. * The entire notice above must be reproduced on all authorised
  7. * copies and copies may only be made to the extent permitted
  8. * by a licensing agreement from ARM Limited.
  9. */
  10. #ifndef __MALI_PM_H__
  11. #define __MALI_PM_H__
  12. #include "mali_osk.h"
  13. _mali_osk_errcode_t mali_pm_initialize(void);
  14. void mali_pm_terminate(void);
  15. /* Callback functions registered for the runtime PMM system */
  16. void mali_pm_os_suspend(void);
  17. void mali_pm_os_resume(void);
  18. void mali_pm_runtime_suspend(void);
  19. void mali_pm_runtime_resume(void);
  20. void mali_pm_set_power_is_on(void);
  21. mali_bool mali_pm_is_power_on(void);
  22. #endif /* __MALI_PM_H__ */