hisi_ipc.h 614 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef HISI_IPC_H
  7. #define HISI_IPC_H
  8. enum pm_mode {
  9. PM_ON = 0,
  10. PM_OFF,
  11. };
  12. void hisi_ipc_pm_on_off(unsigned int core, unsigned int cluster,
  13. enum pm_mode mode);
  14. void hisi_ipc_pm_suspend(unsigned int core, unsigned int cluster,
  15. unsigned int affinity_level);
  16. void hisi_ipc_psci_system_off(unsigned int core, unsigned int cluster);
  17. void hisi_ipc_psci_system_reset(unsigned int core, unsigned int cluster,
  18. unsigned int cmd_id);
  19. int hisi_ipc_init(void);
  20. #endif /* HISI_IPC_H */