2019-02-22 08:36:33 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
|
|
|
|
#ifndef _LINUX_ZYNQMP_IPI_MESSAGE_H_
|
|
|
|
#define _LINUX_ZYNQMP_IPI_MESSAGE_H_
|
|
|
|
|
|
|
|
/**
|
|
|
|
* struct zynqmp_ipi_message - ZynqMP IPI message structure
|
|
|
|
* @len: Length of message
|
|
|
|
* @data: message payload
|
|
|
|
*
|
|
|
|
* This is the structure for data used in mbox_send_message
|
2023-03-11 09:24:06 +08:00
|
|
|
* the maximum length of data buffer is fixed to 32 bytes.
|
2019-02-22 08:36:33 +08:00
|
|
|
* Client is supposed to be aware of this.
|
|
|
|
*/
|
|
|
|
struct zynqmp_ipi_message {
|
|
|
|
size_t len;
|
2020-08-31 23:19:18 +08:00
|
|
|
u8 data[];
|
2019-02-22 08:36:33 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _LINUX_ZYNQMP_IPI_MESSAGE_H_ */
|