• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2013-2015, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef _PM_IPI_H_
8 #define _PM_IPI_H_
9 
10 #include "pm_common.h"
11 
12 int pm_ipi_init(void);
13 
14 enum pm_ret_status pm_ipi_send(const struct pm_proc *proc,
15 			       uint32_t payload[PAYLOAD_ARG_CNT]);
16 enum pm_ret_status pm_ipi_send_sync(const struct pm_proc *proc,
17 				    uint32_t payload[PAYLOAD_ARG_CNT],
18 				    unsigned int *value, size_t count);
19 void pm_ipi_buff_read_callb(unsigned int *value, size_t count);
20 void pm_ipi_irq_enable(void);
21 void pm_ipi_irq_disable(void);
22 void pm_ipi_irq_clear(void);
23 
24 #endif /* _PM_IPI_H_ */
25