arm-ux500-pm.h 586 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (C) ST-Ericsson SA 2010-2013
  3. * Author: Rickard Andersson <rickard.andersson@stericsson.com> for
  4. * ST-Ericsson.
  5. * Author: Daniel Lezcano <daniel.lezcano@linaro.org> for Linaro.
  6. * License terms: GNU General Public License (GPL) version 2
  7. *
  8. */
  9. #ifndef ARM_UX500_PM_H
  10. #define ARM_UX500_PM_H
  11. int prcmu_gic_decouple(void);
  12. int prcmu_gic_recouple(void);
  13. bool prcmu_gic_pending_irq(void);
  14. bool prcmu_pending_irq(void);
  15. bool prcmu_is_cpu_in_wfi(int cpu);
  16. int prcmu_copy_gic_settings(void);
  17. void ux500_pm_init(u32 phy_base, u32 size);
  18. #endif /* ARM_UX500_PM_H */