]> Git Repo - linux.git/blob - include/linux/mailbox/mchp-ipc.h
Linux 6.14-rc3
[linux.git] / include / linux / mailbox / mchp-ipc.h
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
12 struct mchp_ipc_msg {
13         u32 *buf;
14         u16 size;
15 };
16
17 struct 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_ */
This page took 0.034237 seconds and 4 git commands to generate.