• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2018 Marvell International Ltd.
3  *
4  * SPDX-License-Identifier:     BSD-3-Clause
5  * https://spdx.org/licenses
6  */
7 
8 #ifndef MSS_PM_IPC_H
9 #define MSS_PM_IPC_H
10 
11 #include <mss_ipc_drv.h>
12 
13 /* Currently MSS does not support Cluster level Power Down */
14 #define DISABLE_CLUSTER_LEVEL
15 
16 
17 /*****************************************************************************
18  * mss_pm_ipc_msg_send
19  *
20  * DESCRIPTION: create and transmit IPC message
21  *****************************************************************************
22  */
23 int mss_pm_ipc_msg_send(unsigned int channel_id, unsigned int msg_id,
24 			const psci_power_state_t *target_state);
25 
26 /*****************************************************************************
27  * mss_pm_ipc_msg_trigger
28  *
29  * DESCRIPTION: Trigger IPC message interrupt to MSS
30  *****************************************************************************
31  */
32 int mss_pm_ipc_msg_trigger(void);
33 
34 
35 #endif /* MSS_PM_IPC_H */
36