18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ci#ifndef _LINUX_ZYNQMP_IPI_MESSAGE_H_ 48c2ecf20Sopenharmony_ci#define _LINUX_ZYNQMP_IPI_MESSAGE_H_ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci/** 78c2ecf20Sopenharmony_ci * struct zynqmp_ipi_message - ZynqMP IPI message structure 88c2ecf20Sopenharmony_ci * @len: Length of message 98c2ecf20Sopenharmony_ci * @data: message payload 108c2ecf20Sopenharmony_ci * 118c2ecf20Sopenharmony_ci * This is the structure for data used in mbox_send_message 128c2ecf20Sopenharmony_ci * the maximum length of data buffer is fixed to 32 bytes. 138c2ecf20Sopenharmony_ci * Client is supposed to be aware of this. 148c2ecf20Sopenharmony_ci */ 158c2ecf20Sopenharmony_cistruct zynqmp_ipi_message { 168c2ecf20Sopenharmony_ci size_t len; 178c2ecf20Sopenharmony_ci u8 data[]; 188c2ecf20Sopenharmony_ci}; 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#endif /* _LINUX_ZYNQMP_IPI_MESSAGE_H_ */ 21