Lines Matching refs:data
10 * protocol modes: data-transfer and doorbell, to be used on those channel
15 * resources of the device are utilized when transmitting data. Refer to the
147 /* ====== MHUv2 data structures ====== */
160 * struct mhuv2 - MHUv2 mailbox controller data
200 * @read_data: Reads and clears newly available data.
204 * @send_data: Send data to the receiver.
354 u32 *data;
361 data = msg->data = msg + 1;
374 * data-transfer protocol, the interrupt is de-asserted.
378 data[windows - 1 - i] = readl_relaxed(&mhu->recv->ch_wn[idx].stat);
426 * u32 *data = [0x00000001], [0x00000002], [0x00000003], [0x00000004],
436 * data += 4 // Increment data pointer by number of stat regs
452 u32 *data = msg->data, word;
455 if (!data[0]) {
470 word = data[i];
482 data += windows;
538 static irqreturn_t mhuv2_sender_interrupt(int irq, void *data)
540 struct mhuv2 *mhu = data;
683 void *data;
691 /* Read and clear the data first */
692 data = priv->ops->read_data(mhu, chan);
695 dev_warn(dev, "Received data on channel (%u) not currently attached to a mailbox client\n",
697 } else if (IS_ERR(data)) {
698 dev_err(dev, "Failed to read data: %lu\n", PTR_ERR(data));
700 mbox_chan_received_data(chan, data);
704 if (!IS_ERR(data))
705 kfree(data);
719 static int mhuv2_sender_send_data(struct mbox_chan *chan, void *data)
727 return priv->ops->send_data(mhu, chan, data);
772 static int mhuv2_receiver_send_data(struct mbox_chan *chan, void *data)