at master 33 lines 625 B view raw
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_ */