Home
last modified time | relevance | path

Searched refs:message (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/drivers/mtd/devices/
Dmchp23k256.c65 struct spi_message message; in mchp23k256_write() local
69 spi_message_init(&message); in mchp23k256_write()
78 spi_message_add_tail(&transfer[0], &message); in mchp23k256_write()
82 spi_message_add_tail(&transfer[1], &message); in mchp23k256_write()
86 ret = spi_sync(flash->spi, &message); in mchp23k256_write()
93 if (retlen && message.actual_length > cmd_len) in mchp23k256_write()
94 *retlen += message.actual_length - cmd_len; in mchp23k256_write()
104 struct spi_message message; in mchp23k256_read() local
108 spi_message_init(&message); in mchp23k256_read()
118 spi_message_add_tail(&transfer[0], &message); in mchp23k256_read()
[all …]
Dsst25l.c211 struct spi_message message; in sst25l_read() local
215 spi_message_init(&message); in sst25l_read()
225 spi_message_add_tail(&transfer[0], &message); in sst25l_read()
229 spi_message_add_tail(&transfer[1], &message); in sst25l_read()
240 spi_sync(flash->spi, &message); in sst25l_read()
242 if (retlen && message.actual_length > sizeof(command)) in sst25l_read()
243 *retlen += message.actual_length - sizeof(command); in sst25l_read()
/drivers/hv/
Dhv_kvp.c201 struct hv_kvp_msg *message = (struct hv_kvp_msg *)msg; in kvp_on_msg() local
205 if (len < sizeof(*message)) in kvp_on_msg()
214 return kvp_handle_handshake(message); in kvp_on_msg()
228 data = &message->body.kvp_enum_data; in kvp_on_msg()
244 error = message->error; in kvp_on_msg()
253 kvp_respond_to_host(message, error); in kvp_on_msg()
376 struct hv_kvp_msg *message; in kvp_send_key() local
388 message = kzalloc(sizeof(*message), GFP_KERNEL); in kvp_send_key()
389 if (!message) in kvp_send_key()
392 message->kvp_hdr.operation = operation; in kvp_send_key()
[all …]
/drivers/mailbox/
Dmailbox-test.c40 char *message; member
100 char *message; in mbox_test_message_write() local
116 message = kzalloc(MBOX_MAX_MSG_LEN, GFP_KERNEL); in mbox_test_message_write()
117 if (!message) in mbox_test_message_write()
122 tdev->message = message; in mbox_test_message_write()
123 ret = copy_from_user(tdev->message, userbuf, count); in mbox_test_message_write()
139 data = tdev->message; in mbox_test_message_write()
142 tdev->message, MBOX_MAX_MSG_LEN); in mbox_test_message_write()
150 kfree(tdev->message); in mbox_test_message_write()
284 static void mbox_test_receive_message(struct mbox_client *client, void *message) in mbox_test_receive_message() argument
[all …]
/drivers/greybus/
Doperation.c215 static int gb_message_send(struct gb_message *message, gfp_t gfp) in gb_message_send() argument
217 struct gb_connection *connection = message->operation->connection; in gb_message_send()
219 trace_gb_message_send(message); in gb_message_send()
222 message, in gb_message_send()
229 static void gb_message_cancel(struct gb_message *message) in gb_message_cancel() argument
231 struct gb_host_device *hd = message->operation->connection->hd; in gb_message_cancel()
233 hd->driver->message_cancel(message); in gb_message_cancel()
310 struct gb_message *message, in gb_operation_message_init() argument
316 header = message->buffer; in gb_operation_message_init()
318 message->header = header; in gb_operation_message_init()
[all …]
Dgreybus_trace.h24 TP_PROTO(struct gb_message *message),
26 TP_ARGS(message),
36 __entry->size = le16_to_cpu(message->header->size);
38 le16_to_cpu(message->header->operation_id);
39 __entry->type = message->header->type;
40 __entry->result = message->header->result;
50 TP_PROTO(struct gb_message *message), \
51 TP_ARGS(message))
/drivers/input/keyboard/
Dapplespi.c300 struct message { struct
611 struct spi_message *message, void (*complete)(void *)) in applespi_async() argument
613 message->complete = complete; in applespi_async()
614 message->context = applespi; in applespi_async()
616 return spi_async(applespi->spi, message); in applespi_async()
768 struct message *message = (struct message *)packet->data; in applespi_send_cmd_msg() local
800 message->type = cpu_to_le16(0x1020); in applespi_send_cmd_msg()
801 msg_len = sizeof(message->tp_info_command); in applespi_send_cmd_msg()
803 message->zero = 0x02; in applespi_send_cmd_msg()
804 message->rsp_buf_len = cpu_to_le16(0x0200); in applespi_send_cmd_msg()
[all …]
/drivers/input/misc/
Dkeyspan_remote.c183 struct keyspan_message message; in keyspan_check_data() local
248 message.system = 0; in keyspan_check_data()
253 message.system = message.system << 1; in keyspan_check_data()
257 message.system = (message.system << 1) + 1; in keyspan_check_data()
269 message.button = 0; in keyspan_check_data()
274 message.button = message.button << 1; in keyspan_check_data()
278 message.button = (message.button << 1) + 1; in keyspan_check_data()
292 message.toggle = 0; in keyspan_check_data()
296 message.toggle = 1; in keyspan_check_data()
318 __func__, message.system, message.button, message.toggle); in keyspan_check_data()
[all …]
Dad714x-spi.c34 struct spi_message message; in ad714x_spi_read() local
39 spi_message_init(&message); in ad714x_spi_read()
46 spi_message_add_tail(&xfer[0], &message); in ad714x_spi_read()
50 spi_message_add_tail(&xfer[1], &message); in ad714x_spi_read()
52 error = spi_sync(spi, &message); in ad714x_spi_read()
/drivers/s390/crypto/
Dzcrypt_cex2a.h49 unsigned char message[128]; member
59 unsigned char message[256]; member
69 unsigned char message[512]; member
82 unsigned char message[128]; member
95 unsigned char message[256]; member
108 unsigned char message[512]; member
Dzcrypt_msgtype50.c77 unsigned char message[128]; member
87 unsigned char message[256]; member
97 unsigned char message[512]; member
110 unsigned char message[128]; member
123 unsigned char message[256]; member
136 unsigned char message[512]; member
219 inp = meb1->message + sizeof(meb1->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
230 inp = meb2->message + sizeof(meb2->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
241 inp = meb3->message + sizeof(meb3->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
296 inp = crb1->message + sizeof(crb1->message) - mod_len; in ICACRT_msg_to_type50CRT_msg()
[all …]
/drivers/md/
Ddm-user.c66 struct message { struct
158 struct message *cur_to_user;
159 struct message *cur_from_user;
184 struct message scratch_message_from_user;
187 static void message_kill(struct message *m, mempool_t *pool) in message_kill()
203 struct message *msg = container_of(del_work, struct message, work); in process_delayed_work()
228 static void enqueue_delayed_work(struct message *m, bool is_delay) in enqueue_delayed_work()
530 static ssize_t msg_copy_to_iov(struct message *msg, struct iov_iter *to) in msg_copy_to_iov()
553 static ssize_t msg_copy_from_iov(struct message *msg, struct iov_iter *from) in msg_copy_from_iov()
577 static struct message *msg_get_map(struct target *t) in msg_get_map()
[all …]
/drivers/spi/
Dspi-mpc52xx.c80 struct spi_message *message; /* current message */ member
100 cs = ms->message->spi->chip_select; in mpc52xx_spi_chipsel()
158 ms->message = list_first_entry(&ms->queue, struct spi_message, queue); in mpc52xx_spi_fsmstate_idle()
159 list_del_init(&ms->message->queue); in mpc52xx_spi_fsmstate_idle()
163 spi = ms->message->spi; in mpc52xx_spi_fsmstate_idle()
175 sppr = ((ms->ipb_freq / ms->message->spi->max_speed_hz) + 1) >> 1; in mpc52xx_spi_fsmstate_idle()
192 ms->transfer = container_of(ms->message->transfers.next, in mpc52xx_spi_fsmstate_idle()
235 ms->message->status = -EIO; in mpc52xx_spi_fsmstate_transfer()
236 if (ms->message->complete) in mpc52xx_spi_fsmstate_transfer()
237 ms->message->complete(ms->message->context); in mpc52xx_spi_fsmstate_transfer()
[all …]
/drivers/acpi/acpica/
Duterror.c175 const char *message; in acpi_ut_prefixed_namespace_error() local
186 message = "Failure creating named object"; in acpi_ut_prefixed_namespace_error()
192 message = "Could not resolve symbol"; in acpi_ut_prefixed_namespace_error()
198 message = "Failure resolving symbol"; in acpi_ut_prefixed_namespace_error()
207 acpi_os_printf("%s [%s], %s", message, in acpi_ut_prefixed_namespace_error()
301 const char *message, in acpi_ut_method_error() argument
319 acpi_ns_print_node_pathname(node, message); in acpi_ut_method_error()
Ddsdebug.c26 const char *message);
42 const char *message) in acpi_ds_print_node_pathname() argument
60 if (message) { in acpi_ds_print_node_pathname()
62 message)); in acpi_ds_print_node_pathname()
/drivers/infiniband/ulp/rtrs/
DREADME45 which of the memory chunks has been accessed and at which offset the message
70 to create a new one when necessary. The message also contains the protocol
85 RTRS_MSG_INFO_REQ message, containing the name of the session. This message
88 4. Server replies to the session info request message with RTRS_MSG_INFO_RSP,
124 RTRS_MSG_RDMA_WRITE message. Apart from the type (write), the message only
129 2. When confirming a write request server sends an "empty" rdma message with
141 RTRS_MSG_RDMA_WRITE message. Apart from the type (write), the message only
147 2. When confirming a write request server sends an "empty" rdma message with
150 SEND_WITH_IMM WR, client When it recived new rkey message, it validates
151 the message and finished IO after update rkey for the rbuffer, then post
[all …]
/drivers/misc/ibmasm/
Ddot_command.c17 void ibmasm_receive_message(struct service_processor *sp, void *message, int message_size) in ibmasm_receive_message() argument
20 struct dot_command_header *header = (struct dot_command_header *)message; in ibmasm_receive_message()
25 size = get_dot_command_size(message); in ibmasm_receive_message()
34 ibmasm_receive_event(sp, message, size); in ibmasm_receive_message()
37 ibmasm_receive_command_response(sp, message, size); in ibmasm_receive_message()
40 ibmasm_receive_heartbeat(sp, message, size); in ibmasm_receive_message()
Dlowlevel.c23 struct i2o_message *message; in ibmasm_send_i2o_message() local
33 message = get_i2o_message(sp->base_address, mfa); in ibmasm_send_i2o_message()
35 memcpy_toio(&message->header, &header, sizeof(struct i2o_header)); in ibmasm_send_i2o_message()
36 memcpy_toio(&message->data, command->buffer, command_size); in ibmasm_send_i2o_message()
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgt215.c31 u32 process, u32 message, u32 data0, u32 data1) in gt215_pmu_send() argument
54 pmu->recv.message = message; in gt215_pmu_send()
67 nvkm_wr32(device, 0x10a1c4, message); in gt215_pmu_send()
91 u32 process, message, data0, data1; in gt215_pmu_recv() local
107 message = nvkm_rd32(device, 0x10a1c4); in gt215_pmu_recv()
118 message == pmu->recv.message) { in gt215_pmu_recv()
135 process, message, data0, data1); in gt215_pmu_recv()
/drivers/fpga/
Dice40-spi.c46 struct spi_message message; in ice40_fpga_ops_write_init() local
73 spi_message_init(&message); in ice40_fpga_ops_write_init()
74 spi_message_add_tail(&assert_cs_then_reset_delay, &message); in ice40_fpga_ops_write_init()
75 ret = spi_sync_locked(dev, &message); in ice40_fpga_ops_write_init()
92 spi_message_init(&message); in ice40_fpga_ops_write_init()
93 spi_message_add_tail(&housekeeping_delay_then_release_cs, &message); in ice40_fpga_ops_write_init()
94 ret = spi_sync_locked(dev, &message); in ice40_fpga_ops_write_init()
/drivers/auxdisplay/
Dimg-ascii-lcd.c55 char *message; member
238 ctx->curr[i] = ctx->message[ch]; in img_ascii_lcd_scroll()
285 devm_kfree(&ctx->pdev->dev, ctx->message); in img_ascii_lcd_display()
286 ctx->message = NULL; in img_ascii_lcd_display()
300 if (ctx->message) in img_ascii_lcd_display()
301 devm_kfree(&ctx->pdev->dev, ctx->message); in img_ascii_lcd_display()
303 ctx->message = new_msg; in img_ascii_lcd_display()
329 return sprintf(buf, "%s\n", ctx->message); in message_show()
353 static DEVICE_ATTR_RW(message);
397 ctx->message = NULL; in img_ascii_lcd_probe()
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dhost.fuc62 // HOST->PWR comms - dequeue message(s) for process(es) from FIFO
71 // calculate address of message
76 // read message data, and pass to appropriate process
91 // PWR->HOST comms - enqueue message for HOST to RFIFO
95 // $r13 - message
96 // $r12 - message data 0
97 // $r11 - message data 1
100 // message from intr handler == HOST->PWR comms pending
117 // enqueue message
127 // notify host of pending message
/drivers/net/wireguard/
Dcookie.c75 static void compute_mac1(u8 mac1[COOKIE_LEN], const void *message, size_t len, in compute_mac1() argument
80 blake2s(mac1, message, key, COOKIE_LEN, len, NOISE_SYMMETRIC_KEY_LEN); in compute_mac1()
83 static void compute_mac2(u8 mac2[COOKIE_LEN], const void *message, size_t len, in compute_mac2() argument
88 blake2s(mac2, message, cookie, COOKIE_LEN, len, COOKIE_LEN); in compute_mac2()
156 void wg_cookie_add_mac_to_packet(void *message, size_t len, in wg_cookie_add_mac_to_packet() argument
160 ((u8 *)message + len - sizeof(*macs)); in wg_cookie_add_mac_to_packet()
163 compute_mac1(macs->mac1, message, len, in wg_cookie_add_mac_to_packet()
173 compute_mac2(macs->mac2, message, len, in wg_cookie_add_mac_to_packet()
/drivers/scsi/arm/
Dmsgqueue.h12 struct message { struct
19 struct message msg; argument
60 extern struct message *msgqueue_getmsg(MsgQueue_t *msgq, int msgno);
/drivers/edac/
Dppc4xx_edac.c629 char message[PPC4XX_EDAC_MESSAGE_SIZE]; in ppc4xx_ecc_dump_status() local
631 ppc4xx_edac_generate_message(mci, status, message, sizeof(message)); in ppc4xx_ecc_dump_status()
645 message); in ppc4xx_ecc_dump_status()
719 char message[PPC4XX_EDAC_MESSAGE_SIZE]; in ppc4xx_edac_handle_ce() local
721 ppc4xx_edac_generate_message(mci, status, message, sizeof(message)); in ppc4xx_edac_handle_ce()
728 message, ""); in ppc4xx_edac_handle_ce()
750 char message[PPC4XX_EDAC_MESSAGE_SIZE]; in ppc4xx_edac_handle_ue() local
752 ppc4xx_edac_generate_message(mci, status, message, sizeof(message)); in ppc4xx_edac_handle_ue()
759 message, ""); in ppc4xx_edac_handle_ue()

12345678910>>...12