Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/s390/char/
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()
Dsclp_rw.h52 struct msg_buf { struct
59 sizeof(struct sccb_header)) / sizeof(struct msg_buf)) argument
69 struct msg_buf *current_msg;
Dsclp_early_core.c81 struct msg_buf msg;
90 struct msg_buf *msg; in sclp_early_print_lm()
/linux-6.6.21/sound/soc/sof/
Dipc3.c18 typedef void (*ipc3_rx_callback)(struct snd_sof_dev *sdev, void *msg_buf);
938 static void ipc3_stream_message(struct snd_sof_dev *sdev, void *msg_buf) in ipc3_stream_message() argument
940 struct sof_ipc_cmd_hdr *hdr = msg_buf; in ipc3_stream_message()
959 static void ipc3_comp_notification(struct snd_sof_dev *sdev, void *msg_buf) in ipc3_comp_notification() argument
962 struct sof_ipc_cmd_hdr *hdr = msg_buf; in ipc3_comp_notification()
975 tplg_ops->control->update(sdev, msg_buf); in ipc3_comp_notification()
978 static void ipc3_trace_message(struct snd_sof_dev *sdev, void *msg_buf) in ipc3_trace_message() argument
980 struct sof_ipc_cmd_hdr *hdr = msg_buf; in ipc3_trace_message()
985 ipc3_dtrace_posn_update(sdev, msg_buf); in ipc3_trace_message()
993 void sof_ipc3_do_rx_work(struct snd_sof_dev *sdev, struct sof_ipc_cmd_hdr *hdr, void *msg_buf) in sof_ipc3_do_rx_work() argument
[all …]
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);
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
316 sof_ipc3_do_rx_work(cdev->sdev, ipc_msg, msg_buf); in sof_client_ipc_rx_message()
461 void sof_client_ipc_rx_dispatcher(struct snd_sof_dev *sdev, void *msg_buf) in sof_client_ipc_rx_dispatcher() argument
467 struct sof_ipc_cmd_hdr *hdr = msg_buf; in sof_client_ipc_rx_dispatcher()
471 struct sof_ipc4_msg *msg = msg_buf; in sof_client_ipc_rx_dispatcher()
484 event->callback(event->cdev, msg_buf); in sof_client_ipc_rx_dispatcher()
Dipc3-priv.h32 void sof_ipc3_do_rx_work(struct snd_sof_dev *sdev, struct sof_ipc_cmd_hdr *hdr, void *msg_buf);
/linux-6.6.21/drivers/crypto/bcm/
Dcipher.c151 sg_set_buf(sg++, rctx->msg_buf.spu_resp_hdr, ctx->spu_resp_hdr_len); in spu_skcipher_rx_sg_create()
156 sg_set_buf(sg++, rctx->msg_buf.c.supdt_tweak, in spu_skcipher_rx_sg_create()
169 sg_set_buf(sg++, rctx->msg_buf.rx_stat_pad, stat_pad_len); in spu_skcipher_rx_sg_create()
171 memset(rctx->msg_buf.rx_stat, 0, SPU_RX_STATUS_LEN); in spu_skcipher_rx_sg_create()
172 sg_set_buf(sg, rctx->msg_buf.rx_stat, spu->spu_rx_status_len()); in spu_skcipher_rx_sg_create()
215 sg_set_buf(sg++, rctx->msg_buf.bcm_spu_req_hdr, in spu_skcipher_tx_sg_create()
221 sg_set_buf(sg++, rctx->msg_buf.iv_ctr, SPU_XTS_TWEAK_SIZE); in spu_skcipher_tx_sg_create()
233 sg_set_buf(sg++, rctx->msg_buf.spu_req_pad, pad_len); in spu_skcipher_tx_sg_create()
237 memset(rctx->msg_buf.tx_stat, 0, stat_len); in spu_skcipher_tx_sg_create()
238 sg_set_buf(sg, rctx->msg_buf.tx_stat, stat_len); in spu_skcipher_tx_sg_create()
[all …]
/linux-6.6.21/drivers/i2c/busses/
Di2c-bcm2835.c69 u8 *msg_buf; member
202 *i2c_dev->msg_buf); in bcm2835_fill_txfifo()
203 i2c_dev->msg_buf++; in bcm2835_fill_txfifo()
216 *i2c_dev->msg_buf = bcm2835_i2c_readl(i2c_dev, in bcm2835_drain_rxfifo()
218 i2c_dev->msg_buf++; in bcm2835_drain_rxfifo()
246 i2c_dev->msg_buf = msg->buf; in bcm2835_i2c_start_transfer()
267 i2c_dev->msg_buf = NULL; in bcm2835_i2c_finish_transfer()
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()
Di2c-xlp9xx.c98 u8 *msg_buf; member
150 u8 *buf = priv->msg_buf; in xlp9xx_i2c_fill_tx_fifo()
156 priv->msg_buf += len; in xlp9xx_i2c_fill_tx_fifo()
183 u8 rlen, *buf = priv->msg_buf; in xlp9xx_i2c_drain_rx_fifo()
229 priv->msg_buf = buf; in xlp9xx_i2c_drain_rx_fifo()
329 priv->msg_buf = msg->buf; in xlp9xx_i2c_xfer_msg()
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()
1344 memcpy(i2c_dev->msg_buf, i2c_dev->dma_buf, i2c_dev->msg_len); in tegra_i2c_xfer_msg()
/linux-6.6.21/drivers/net/ethernet/microsoft/mana/
Dhw_channel.c89 sge->mem_key = hwc_rxq->msg_buf->gpa_mkey; in mana_hwc_post_rx_wqe()
158 hwc->rxq->msg_buf->gpa_mkey = val; in mana_hwc_init_event_handler()
159 hwc->txq->msg_buf->gpa_mkey = val; in mana_hwc_init_event_handler()
225 rq_base_addr = hwc_rxq->msg_buf->mem_info.dma_handle; in mana_hwc_rx_event_handler()
228 rx_req = &hwc_rxq->msg_buf->reqs[rx_req_idx]; in mana_hwc_rx_event_handler()
472 mana_hwc_dealloc_dma_buf(hwc, hwc_wq->msg_buf); in mana_hwc_destroy_wq()
515 &hwc_wq->msg_buf); in mana_hwc_create_wq()
556 sge->mem_key = hwc_txq->msg_buf->gpa_mkey; in mana_hwc_post_tx_wqe()
597 req = &hwc_rxq->msg_buf->reqs[i]; in mana_hwc_test_channel()
817 tx_wr = &txq->msg_buf->reqs[msg_id]; in mana_hwc_send_request()
/linux-6.6.21/drivers/input/touchscreen/
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()
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-6.6.21/tools/testing/selftests/net/mptcp/
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()
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-6.6.21/init/
Dinitramfs.c488 static __initdata char msg_buf[64]; in unpack_to_rootfs() local
525 snprintf(msg_buf, sizeof msg_buf, in unpack_to_rootfs()
528 message = msg_buf; in unpack_to_rootfs()
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c103 event.msg_buf = kzalloc(IAVF_MAX_AQ_BUF_SIZE, GFP_KERNEL); in iavf_verify_api_ver()
104 if (!event.msg_buf) in iavf_verify_api_ver()
110 (struct virtchnl_version_info *)event.msg_buf; in iavf_verify_api_ver()
119 kfree(event.msg_buf); in iavf_verify_api_ver()
220 event.msg_buf = kzalloc(len, GFP_KERNEL); in iavf_get_vf_config()
221 if (!event.msg_buf) in iavf_get_vf_config()
225 memcpy(adapter->vf_res, event.msg_buf, min(event.msg_len, len)); in iavf_get_vf_config()
234 kfree(event.msg_buf); in iavf_get_vf_config()
247 event.msg_buf = kzalloc(len, GFP_KERNEL); in iavf_get_vf_vlan_v2_caps()
248 if (!event.msg_buf) in iavf_get_vf_vlan_v2_caps()
[all …]
Diavf_adminq.h60 u8 *msg_buf; member
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_controlq.h81 u8 *msg_buf; member
/linux-6.6.21/drivers/input/misc/
Diqs7222.c1456 u8 msg_buf[] = { 0xFF, }; in iqs7222_force_comms() local
1478 ret = i2c_master_send(iqs7222->client, msg_buf, sizeof(msg_buf)); in iqs7222_force_comms()
1479 if (ret < (int)sizeof(msg_buf)) { in iqs7222_force_comms()
1583 u8 *msg_buf; in iqs7222_write_burst() local
1585 msg_buf = kzalloc(msg_len, GFP_KERNEL); in iqs7222_write_burst()
1586 if (!msg_buf) in iqs7222_write_burst()
1590 put_unaligned_be16(reg, msg_buf); in iqs7222_write_burst()
1592 *msg_buf = (u8)reg; in iqs7222_write_burst()
1594 memcpy(msg_buf + reg_len, val, val_len); in iqs7222_write_burst()
1610 ret = i2c_master_send(client, msg_buf, msg_len); in iqs7222_write_burst()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_adminq.h59 u8 *msg_buf; member
/linux-6.6.21/include/net/mana/
Dhw_channel.h152 struct hwc_dma_buf *msg_buf; member
/linux-6.6.21/sound/firewire/fireface/
Dff.h82 __le32 msg_buf[SND_FF_OUT_MIDI_PORTS][SND_FF_MAXIMIM_MIDI_QUADS]; member

12