Lines Matching defs:message
53 * struct ti_msgmgr_desc - Description of message manager integration
149 * @d: Description of message manager
173 * @d: Description of message manager
200 struct ti_msgmgr_message message;
208 * out.. I just read the full message and pass it on..
210 message.len = desc->max_message_size;
211 message.buf = (u8 *)qinst->rx_buff;
225 * queue message as read.
233 * Last register read automatically clears the IRQ if only 1 message
238 mbox_chan_received_data(chan, (void *)&message);
397 struct ti_msgmgr_message *message = data;
413 if (desc->max_message_size < message->len) {
414 dev_err(dev, "Queue %s message length %zu > max %d\n",
415 qinst->name, message->len, desc->max_message_size);
421 num_words = message->len / sizeof(u32),
422 word_data = (u32 *)message->buf;
426 trail_bytes = message->len % sizeof(u32);
449 if (ti_msgmgr_chan_has_polled_queue_rx(message->chan_rx))
450 ret = ti_msgmgr_queue_rx_poll_timeout(message->chan_rx,
451 message->timeout_rx_ms * 1000);
507 * Return: 0 if all goes good, else return corresponding error message
627 * @dev: pointer to the message manager device
803 {.compatible = "ti,k2g-message-manager", .data = &k2g_desc},
938 MODULE_DESCRIPTION("TI message manager driver");