Wendy Liang | 4981b82 | 2019-02-21 16:36:33 -0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | |
| 3 | #ifndef _LINUX_ZYNQMP_IPI_MESSAGE_H_ |
| 4 | #define _LINUX_ZYNQMP_IPI_MESSAGE_H_ |
| 5 | |
| 6 | /** |
| 7 | * struct zynqmp_ipi_message - ZynqMP IPI message structure |
| 8 | * @len: Length of message |
| 9 | * @data: message payload |
| 10 | * |
| 11 | * This is the structure for data used in mbox_send_message |
Tanmay Shah | ead3b02 | 2023-03-10 17:24:06 -0800 | [diff] [blame] | 12 | * the maximum length of data buffer is fixed to 32 bytes. |
Wendy Liang | 4981b82 | 2019-02-21 16:36:33 -0800 | [diff] [blame] | 13 | * Client is supposed to be aware of this. |
| 14 | */ |
| 15 | struct zynqmp_ipi_message { |
| 16 | size_t len; |
Gustavo A. R. Silva | 277ffd6 | 2020-08-31 10:19:18 -0500 | [diff] [blame] | 17 | u8 data[]; |
Wendy Liang | 4981b82 | 2019-02-21 16:36:33 -0800 | [diff] [blame] | 18 | }; |
| 19 | |
| 20 | #endif /* _LINUX_ZYNQMP_IPI_MESSAGE_H_ */ |