1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */ 2*4882a593Smuzhiyun 3*4882a593Smuzhiyun #ifndef _LINUX_ZYNQMP_IPI_MESSAGE_H_ 4*4882a593Smuzhiyun #define _LINUX_ZYNQMP_IPI_MESSAGE_H_ 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun /** 7*4882a593Smuzhiyun * struct zynqmp_ipi_message - ZynqMP IPI message structure 8*4882a593Smuzhiyun * @len: Length of message 9*4882a593Smuzhiyun * @data: message payload 10*4882a593Smuzhiyun * 11*4882a593Smuzhiyun * This is the structure for data used in mbox_send_message 12*4882a593Smuzhiyun * the maximum length of data buffer is fixed to 12 bytes. 13*4882a593Smuzhiyun * Client is supposed to be aware of this. 14*4882a593Smuzhiyun */ 15*4882a593Smuzhiyun struct zynqmp_ipi_message { 16*4882a593Smuzhiyun size_t len; 17*4882a593Smuzhiyun u8 data[]; 18*4882a593Smuzhiyun }; 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun #endif /* _LINUX_ZYNQMP_IPI_MESSAGE_H_ */ 21