pmsu.h 688 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Power Management Service Unit (PMSU) support for Armada 370/XP platforms.
  4. *
  5. * Copyright (C) 2012 Marvell
  6. */
  7. #ifndef __MACH_MVEBU_PMSU_H
  8. #define __MACH_MVEBU_PMSU_H
  9. int armada_xp_boot_cpu(unsigned int cpu_id, void *phys_addr);
  10. int mvebu_setup_boot_addr_wa(unsigned int crypto_eng_target,
  11. unsigned int crypto_eng_attribute,
  12. phys_addr_t resume_addr_reg);
  13. void mvebu_v7_pmsu_idle_exit(void);
  14. void armada_370_xp_cpu_resume(void);
  15. int armada_370_xp_pmsu_idle_enter(unsigned long deepidle);
  16. int armada_38x_do_cpu_suspend(unsigned long deepidle);
  17. #endif /* __MACH_370_XP_PMSU_H */