pm_ipi.h 653 Bytes
Newer Older
1
2
3
/*
 * Copyright (c) 2013-2015, ARM Limited and Contributors. All rights reserved.
 *
dp-arm's avatar
dp-arm committed
4
 * SPDX-License-Identifier: BSD-3-Clause
5
6
7
8
9
10
11
12
13
14
15
16
17
 */

#ifndef _PM_IPI_H_
#define _PM_IPI_H_

#include "pm_common.h"

int pm_ipi_init(void);

enum pm_ret_status pm_ipi_send(const struct pm_proc *proc,
			       uint32_t payload[PAYLOAD_ARG_CNT]);
enum pm_ret_status pm_ipi_send_sync(const struct pm_proc *proc,
				    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
21
void pm_ipi_irq_enable(void);
void pm_ipi_irq_disable(void);
22
void pm_ipi_irq_clear(void);
23
24

#endif /* _PM_IPI_H_ */