File Index
Files and directories
Sign in
FILE

mchp-ipc.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/mailbox/mchp-ipc.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 *Copyright (c) 2024 Microchip Technology Inc. All rights reserved.
 4 */
 5
 6#ifndef _LINUX_MCHP_IPC_H_
 7#define _LINUX_MCHP_IPC_H_
 8
 9#include <linux/mailbox_controller.h>
10#include <linux/types.h>
11
12struct mchp_ipc_msg {
13	u32 *buf;
14	u16 size;
15};
16
17struct mchp_ipc_sbi_chan {
18	void *buf_base_tx;
19	void *buf_base_rx;
20	void *msg_buf_tx;
21	void *msg_buf_rx;
22	phys_addr_t buf_base_tx_addr;
23	phys_addr_t buf_base_rx_addr;
24	phys_addr_t msg_buf_tx_addr;
25	phys_addr_t msg_buf_rx_addr;
26	int chan_aggregated_irq;
27	int mp_irq;
28	int mc_irq;
29	u32 id;
30	u32 max_msg_size;
31};
32
33#endif /* _LINUX_MCHP_IPC_H_ */
~/ Read-only file preview.