1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 3 * Texas Instruments' Message Manager 4 * 5 * Copyright (C) 2015-2022 Texas Instruments I 6 * Nishanth Menon 7 */ 8 9 #ifndef TI_MSGMGR_H 10 #define TI_MSGMGR_H 11 12 struct mbox_chan; 13 14 /** 15 * struct ti_msgmgr_message - Message Manager 16 * @len: Length of data in the Buffer 17 * @buf: Buffer pointer 18 * @chan_rx: Expected channel for response, mu 19 * @timeout_rx_ms: Timeout value to use if pol 20 * 21 * This is the structure for data used in mbox 22 * the length of data buffer used depends on t 23 * parameters - each message may be 64, 128 by 24 * on SoC. Client is supposed to be aware of t 25 */ 26 struct ti_msgmgr_message { 27 size_t len; 28 u8 *buf; 29 struct mbox_chan *chan_rx; 30 int timeout_rx_ms; 31 }; 32 33 #endif /* TI_MSGMGR_H */ 34
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.