Lines Matching refs:message
39 char *message; member
113 tdev->message = kzalloc(MBOX_MAX_MSG_LEN, GFP_KERNEL); in mbox_test_message_write()
114 if (!tdev->message) in mbox_test_message_write()
117 ret = copy_from_user(tdev->message, userbuf, count); in mbox_test_message_write()
133 data = tdev->message; in mbox_test_message_write()
136 tdev->message, MBOX_MAX_MSG_LEN); in mbox_test_message_write()
144 kfree(tdev->message); in mbox_test_message_write()
276 static void mbox_test_receive_message(struct mbox_client *client, void *message) in mbox_test_receive_message() argument
286 } else if (message) { in mbox_test_receive_message()
288 message, MBOX_MAX_MSG_LEN); in mbox_test_receive_message()
289 memcpy(tdev->rx_buffer, message, MBOX_MAX_MSG_LEN); in mbox_test_receive_message()
299 static void mbox_test_prepare_message(struct mbox_client *client, void *message) in mbox_test_prepare_message() argument
305 memcpy_toio(tdev->tx_mmio, tdev->message, MBOX_MAX_MSG_LEN); in mbox_test_prepare_message()
307 memcpy_toio(tdev->tx_mmio, message, MBOX_MAX_MSG_LEN); in mbox_test_prepare_message()
312 void *message, int r) in mbox_test_message_sent() argument