Home
last modified time | relevance | path

Searched refs:msg_buf (Results 1 – 25 of 41) sorted by relevance

12

/linux/drivers/s390/char/
H A Dsclp_rw.c86 struct msg_buf *msg; in sclp_initialize_mto()
93 msg_size = sizeof(struct msg_buf) + max_len; in sclp_initialize_mto()
100 msg = (struct msg_buf *)((addr_t) sccb + sccb->length); in sclp_initialize_mto()
101 memset(msg, 0, sizeof(struct msg_buf)); in sclp_initialize_mto()
102 msg->header.length = sizeof(struct msg_buf); in sclp_initialize_mto()
136 struct msg_buf *msg; in sclp_finalize_mto()
314 count -= sizeof(struct msg_buf) + buffer->current_length; in sclp_buffer_space()
H A Dsclp_rw.h52 struct msg_buf { struct
59 sizeof(struct sccb_header)) / sizeof(struct msg_buf)) argument
69 struct msg_buf *current_msg;
H A Dsclp_early_core.c82 struct msg_buf msg;
91 struct msg_buf *msg; in sclp_early_print_lm()
/linux/drivers/i2c/busses/
H A Di2c-virtio.c61 struct scatterlist *sgs[3], out_hdr, msg_buf, in_hdr; in virtio_i2c_prepare_reqs() local
89 sg_init_one(&msg_buf, reqs[i].buf, msgs[i].len); in virtio_i2c_prepare_reqs()
92 sgs[outcnt + incnt++] = &msg_buf; in virtio_i2c_prepare_reqs()
94 sgs[outcnt++] = &msg_buf; in virtio_i2c_prepare_reqs()
H A Di2c-tegra.c282 u8 *msg_buf; member
739 u8 *buf = i2c_dev->msg_buf; in tegra_i2c_empty_rx_fifo()
790 i2c_dev->msg_buf = buf; in tegra_i2c_empty_rx_fifo()
799 u8 *buf = i2c_dev->msg_buf; in tegra_i2c_fill_tx_fifo()
834 i2c_dev->msg_buf = buf + words_to_transfer * BYTES_PER_FIFO_WORD; in tegra_i2c_fill_tx_fifo()
859 i2c_dev->msg_buf = NULL; in tegra_i2c_fill_tx_fifo()
1226 i2c_dev->msg_buf = msg->buf; in tegra_i2c_xfer_msg()
1242 i2c_dev->msg_buf += 1; in tegra_i2c_xfer_msg()
1343 memcpy(i2c_dev->msg_buf, i2c_dev->dma_buf, i2c_dev->msg_len); in tegra_i2c_xfer_msg()
/linux/drivers/net/ethernet/microsoft/mana/
H A Dhw_channel.c64 sge->mem_key = hwc_rxq->msg_buf->gpa_mkey; in mana_hwc_post_rx_wqe()
167 hwc->rxq->msg_buf->gpa_mkey = val; in mana_hwc_init_event_handler()
168 hwc->txq->msg_buf->gpa_mkey = val; in mana_hwc_init_event_handler()
234 rq_base_addr = hwc_rxq->msg_buf->mem_info.dma_handle; in mana_hwc_rx_event_handler()
237 rx_req = &hwc_rxq->msg_buf->reqs[rx_req_idx]; in mana_hwc_rx_event_handler()
480 mana_hwc_dealloc_dma_buf(hwc, hwc_wq->msg_buf); in mana_hwc_destroy_wq()
523 &hwc_wq->msg_buf); in mana_hwc_create_wq()
564 sge->mem_key = hwc_txq->msg_buf->gpa_mkey; in mana_hwc_post_tx_wqe()
605 req = &hwc_rxq->msg_buf->reqs[i]; in mana_hwc_test_channel()
825 tx_wr = &txq->msg_buf->reqs[msg_id]; in mana_hwc_send_request()
/linux/sound/soc/sof/
H A Dsof-client.c306 int sof_client_ipc_rx_message(struct sof_client_dev *cdev, void *ipc_msg, void *msg_buf) in sof_client_ipc_rx_message() argument
317 sof_ipc3_do_rx_work(cdev->sdev, ipc_msg, msg_buf); in sof_client_ipc_rx_message()
462 void sof_client_ipc_rx_dispatcher(struct snd_sof_dev *sdev, void *msg_buf) in sof_client_ipc_rx_dispatcher() argument
468 struct sof_ipc_cmd_hdr *hdr = msg_buf; in sof_client_ipc_rx_dispatcher()
472 struct sof_ipc4_msg *msg = msg_buf; in sof_client_ipc_rx_dispatcher()
485 event->callback(event->cdev, msg_buf); in sof_client_ipc_rx_dispatcher()
H A Dsof-client.h62 typedef void (*sof_client_event_callback)(struct sof_client_dev *cdev, void *msg_buf);
78 int sof_client_ipc_rx_message(struct sof_client_dev *cdev, void *ipc_msg, void *msg_buf);
H A Dipc3-priv.h32 void sof_ipc3_do_rx_work(struct snd_sof_dev *sdev, struct sof_ipc_cmd_hdr *hdr, void *msg_buf);
/linux/drivers/input/touchscreen/
H A Diqs7211.c1238 u8 msg_buf[] = { 0xFF, }; in iqs7211_force_comms() local
1274 ret = i2c_master_send(iqs7211->client, msg_buf, sizeof(msg_buf)); in iqs7211_force_comms()
1275 if (ret < (int)sizeof(msg_buf)) { in iqs7211_force_comms()
1365 u8 *msg_buf; in iqs7211_write_burst() local
1367 msg_buf = kzalloc(msg_len, GFP_KERNEL); in iqs7211_write_burst()
1368 if (!msg_buf) in iqs7211_write_burst()
1371 *msg_buf = reg; in iqs7211_write_burst()
1372 memcpy(msg_buf + sizeof(reg), val, val_len); in iqs7211_write_burst()
1388 ret = i2c_master_send(client, msg_buf, msg_len); in iqs7211_write_burst()
1401 kfree(msg_buf); in iqs7211_write_burst()
H A Datmel_mxt_ts.c308 u8 *msg_buf; member
1079 data->T5_msg_size * count, data->msg_buf); in mxt_read_and_process_messages()
1087 data->msg_buf + data->T5_msg_size * i); in mxt_read_and_process_messages()
1105 data->T5_msg_size + 1, data->msg_buf); in mxt_process_messages_t44()
1111 count = data->msg_buf[0]; in mxt_process_messages_t44()
1126 ret = mxt_proc_message(data, data->msg_buf + 1); in mxt_process_messages_t44()
1716 kfree(data->msg_buf); in mxt_free_object_table()
1717 data->msg_buf = NULL; in mxt_free_object_table()
1846 data->msg_buf = kcalloc(data->max_reportid, in mxt_parse_object_table()
1848 if (!data->msg_buf) in mxt_parse_object_table()
/linux/init/
H A Dinitramfs.c505 static __initdata char msg_buf[64]; in unpack_to_rootfs() local
542 snprintf(msg_buf, sizeof msg_buf, in unpack_to_rootfs()
545 message = msg_buf; in unpack_to_rootfs()
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c330 char msg_buf[4096]; in process_one_client() local
340 .msg_control = msg_buf, in process_one_client()
341 .msg_controllen = sizeof(msg_buf), in process_one_client()
H A Dmptcp_connect.c507 char msg_buf[8192]; in do_recvmsg_cmsg() local
515 .msg_control = msg_buf, in do_recvmsg_cmsg()
516 .msg_controllen = sizeof(msg_buf), in do_recvmsg_cmsg()
550 int next = read(fd, msg_buf, sizeof(msg_buf)); in do_recvmsg_cmsg()
/linux/drivers/input/misc/
H A Diqs7222.c1568 u8 msg_buf[] = { 0xFF, }; in iqs7222_force_comms() local
1590 ret = i2c_master_send(iqs7222->client, msg_buf, sizeof(msg_buf)); in iqs7222_force_comms()
1591 if (ret < (int)sizeof(msg_buf)) { in iqs7222_force_comms()
1695 u8 *msg_buf; in iqs7222_write_burst() local
1697 msg_buf = kzalloc(msg_len, GFP_KERNEL); in iqs7222_write_burst()
1698 if (!msg_buf) in iqs7222_write_burst()
1702 put_unaligned_be16(reg, msg_buf); in iqs7222_write_burst()
1704 *msg_buf = (u8)reg; in iqs7222_write_burst()
1706 memcpy(msg_buf + reg_len, val, val_len); in iqs7222_write_burst()
1722 ret = i2c_master_send(client, msg_buf, msg_len); in iqs7222_write_burst()
[all …]
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_virtchnl.c104 event.msg_buf = kzalloc(IAVF_MAX_AQ_BUF_SIZE, GFP_KERNEL); in iavf_verify_api_ver()
105 if (!event.msg_buf) in iavf_verify_api_ver()
111 (struct virtchnl_version_info *)event.msg_buf; in iavf_verify_api_ver()
120 kfree(event.msg_buf); in iavf_verify_api_ver()
224 event.msg_buf = kzalloc(len, GFP_KERNEL); in iavf_get_vf_config()
225 if (!event.msg_buf) in iavf_get_vf_config()
229 memcpy(adapter->vf_res, event.msg_buf, min(event.msg_len, len)); in iavf_get_vf_config()
238 kfree(event.msg_buf); in iavf_get_vf_config()
251 event.msg_buf = kzalloc(len, GFP_KERNEL); in iavf_get_vf_vlan_v2_caps()
252 if (!event.msg_buf) in iavf_get_vf_vlan_v2_caps()
[all …]
H A Diavf_adminq.h53 u8 *msg_buf; member
H A Diavf_adminq.c882 if (e->msg_buf && (e->msg_len != 0)) in iavf_clean_arq_element()
883 memcpy(e->msg_buf, hw->aq.arq.r.arq_bi[desc_idx].va, in iavf_clean_arq_element()
887 iavf_debug_aq(hw, IAVF_DEBUG_AQ_COMMAND, (void *)desc, e->msg_buf, in iavf_clean_arq_element()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_controlq.h87 u8 *msg_buf; member
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_adminq.h53 u8 *msg_buf; member
/linux/include/net/mana/
H A Dhw_channel.h152 struct hwc_dma_buf *msg_buf; member
/linux/sound/firewire/fireface/
H A Dff.h82 __le32 msg_buf[SND_FF_OUT_MIDI_PORTS][SND_FF_MAXIMIM_MIDI_QUADS]; member
H A Dff-protocol-former.c268 u8 *buf = (u8 *)ff->msg_buf[port]; in former_fill_midi_msg()
279 ff->msg_buf[port][i] = cpu_to_le32(buf[i]); in former_fill_midi_msg()
/linux/include/linux/ceph/
H A Dauth.h124 void *msg_buf, size_t msg_len);
/linux/drivers/input/keyboard/
H A Dapplespi.c380 u8 *msg_buf; member
1462 memcpy(applespi->msg_buf + off, &packet->data, len); in applespi_got_data()
1468 message = (struct message *)applespi->msg_buf; in applespi_got_data()
1643 applespi->msg_buf = devm_kmalloc_array(&spi->dev, MAX_PKTS_PER_MSG, in applespi_probe()
1648 !applespi->rx_buffer || !applespi->msg_buf) in applespi_probe()

12