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