Home
last modified time | relevance | path

Searched refs:msg_data (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/media/common/siano/
H A Dsmsendian.c23 u32 *msg_data = &msg->msg_data; in smsendian_handle_tx_message() local
28 msg->msg_data = le32_to_cpu((__force __le32)(msg->msg_data)); in smsendian_handle_tx_message()
37 msg_data[i] = le32_to_cpu((__force __le32)msg_data[i]); in smsendian_handle_tx_message()
70 u32 *msg_data = &msg->msg_data; in smsendian_handle_rx_message() local
75 msg_data[i] = le32_to_cpu((__force __le32)msg_data[i]); in smsendian_handle_rx_message()
H A Dsmscoreapi.c798 msg->msg_data[0] = coredev->ir.controller; in smscore_init_ir()
799 msg->msg_data[1] = coredev->ir.timeout; in smscore_init_ir()
842 mtu_msg.msg_data = board->mtu; in smscore_configure_board()
855 crys_msg.msg_data = board->crystal; in smscore_configure_board()
981 msg->msg_data[0] = firmware->start_address; in smscore_load_firmware_family2()
983 msg->msg_data[1] = firmware->length; in smscore_load_firmware_family2()
984 msg->msg_data[2] = 0; /* Regular checksum*/ in smscore_load_firmware_family2()
997 msg->msg_data[0] = firmware->start_address; in smscore_load_firmware_family2()
999 msg->msg_data[1] = 6; /* Priority */ in smscore_load_firmware_family2()
1000 msg->msg_data[2] = 0x200; /* Stack size */ in smscore_load_firmware_family2()
[all …]
H A Dsmscoreapi.h618 u32 msg_data; member
623 u32 msg_data[2]; member
628 u32 msg_data[5]; member
/linux/sound/soc/sof/
H A Dipc.c36 int sof_ipc_send_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc_send_msg() argument
56 msg->msg_data = msg_data; in sof_ipc_send_msg()
75 int sof_ipc_tx_message(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes, in sof_ipc_tx_message() argument
82 return ipc->ops->tx_msg(ipc->sdev, msg_data, msg_bytes, reply_data, in sof_ipc_tx_message()
88 int sof_ipc_set_get_data(struct snd_sof_ipc *ipc, void *msg_data, in sof_ipc_set_get_data() argument
91 return ipc->ops->set_get_data(ipc->sdev, msg_data, msg_bytes, set); in sof_ipc_set_get_data()
100 int sof_ipc_tx_message_no_pm(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes, in sof_ipc_tx_message_no_pm() argument
107 return ipc->ops->tx_msg(ipc->sdev, msg_data, msg_bytes, reply_data, in sof_ipc_tx_message_no_pm()
H A Dipc4.c322 struct sof_ipc4_msg *ipc4_msg = msg->msg_data; in ipc4_wait_tx_done()
369 void *msg_data, size_t msg_bytes, in ipc4_tx_msg_unlocked() argument
372 struct sof_ipc4_msg *ipc4_msg = msg_data; in ipc4_tx_msg_unlocked()
379 sof_ipc4_log_header(sdev->dev, "ipc tx ", msg_data, true); in ipc4_tx_msg_unlocked()
381 ret = sof_ipc_send_msg(sdev, msg_data, msg_bytes, reply_bytes); in ipc4_tx_msg_unlocked()
393 static int sof_ipc4_tx_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc4_tx_msg() argument
399 if (!msg_data) in sof_ipc4_tx_msg()
416 ret = ipc4_tx_msg_unlocked(ipc, msg_data, msg_bytes, reply_data, reply_bytes); in sof_ipc4_tx_msg()
423 msg = msg_data; in sof_ipc4_tx_msg()
H A Dipc4-control.c668 struct sof_ipc4_control_msg_payload *msg_data; in sof_ipc4_control_update() local
678 if (ndata->event_data_size < sizeof(*msg_data)) { in sof_ipc4_control_update()
712 msg_data = (struct sof_ipc4_control_msg_payload *)ndata->event_data; in sof_ipc4_control_update()
724 msg_data->id == cdata->index) { in sof_ipc4_control_update()
735 msg_data->id); in sof_ipc4_control_update()
739 if (msg_data->num_elems) { in sof_ipc4_control_update()
744 for (i = 0; i < msg_data->num_elems; i++) { in sof_ipc4_control_update()
745 u32 channel = msg_data->chanv[i].channel; in sof_ipc4_control_update()
760 cdata->chanv[channel].value = msg_data->chanv[i].value; in sof_ipc4_control_update()
/linux/sound/soc/sof/intel/
H A Dhda-ipc.c68 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in hda_dsp_ipc_send_msg()
93 struct sof_ipc4_msg *msg_data = msg->msg_data; in hda_dsp_ipc4_schedule_d0i3_work() local
96 if (hda_dsp_ipc4_pm_msg(msg_data->primary)) in hda_dsp_ipc4_schedule_d0i3_work()
107 struct sof_ipc4_msg *msg_data = msg->msg_data; in hda_dsp_ipc4_send_msg() local
117 if (msg_data->data_size) in hda_dsp_ipc4_send_msg()
118 sof_mailbox_write(sdev, sdev->host_box.offset, msg_data->data_ptr, in hda_dsp_ipc4_send_msg()
119 msg_data->data_size); in hda_dsp_ipc4_send_msg()
121 snd_sof_dsp_write(sdev, HDA_DSP_BAR, HDA_DSP_REG_HIPCIE, msg_data in hda_dsp_ipc4_send_msg()
[all...]
H A Dcnl.c249 struct sof_ipc_pm_gate *pm_gate = msg->msg_data; in cnl_compact_ipc_compress()
267 struct sof_ipc4_msg *msg_data = msg->msg_data; in cnl_ipc4_send_msg() local
277 if (msg_data->data_size) in cnl_ipc4_send_msg()
278 sof_mailbox_write(sdev, sdev->host_box.offset, msg_data->data_ptr, in cnl_ipc4_send_msg()
279 msg_data->data_size); in cnl_ipc4_send_msg()
281 snd_sof_dsp_write(sdev, HDA_DSP_BAR, CNL_DSP_REG_HIPCIDD, msg_data->extension); in cnl_ipc4_send_msg()
283 msg_data->primary | CNL_DSP_REG_HIPCIDR_BUSY); in cnl_ipc4_send_msg()
316 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in cnl_ipc_send_msg()
321 hdr = msg->msg_data; in cnl_ipc_send_msg()
[all...]
H A Datom.c188 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in atom_send_msg()
/linux/net/nfc/
H A Dllcp_commands.c653 u8 *msg_data, *msg_ptr; in nfc_llcp_send_i_frame() local
679 msg_data = kmalloc(len, GFP_USER | __GFP_NOWARN); in nfc_llcp_send_i_frame()
680 if (msg_data == NULL) in nfc_llcp_send_i_frame()
683 if (memcpy_from_msg(msg_data, msg, len)) { in nfc_llcp_send_i_frame()
684 kfree(msg_data); in nfc_llcp_send_i_frame()
689 msg_ptr = msg_data; in nfc_llcp_send_i_frame()
703 kfree(msg_data); in nfc_llcp_send_i_frame()
724 kfree(msg_data); in nfc_llcp_send_i_frame()
735 u8 *msg_ptr, *msg_data; in nfc_llcp_send_ui_frame() local
745 msg_data = kmalloc(len, GFP_USER | __GFP_NOWARN); in nfc_llcp_send_ui_frame()
[all …]
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_mbx.c712 mbx, mbx->msg_data); in fm10k_mbx_dequeue_rx()
1477 static s32 fm10k_mbx_validate_handlers(const struct fm10k_msg_data *msg_data) in fm10k_mbx_validate_handlers() argument
1483 if (!msg_data) in fm10k_mbx_validate_handlers()
1486 while (msg_data->id != FM10K_TLV_ERROR) { in fm10k_mbx_validate_handlers()
1488 if (!msg_data->func) in fm10k_mbx_validate_handlers()
1492 attr = msg_data->attr; in fm10k_mbx_validate_handlers()
1510 id = msg_data->id; in fm10k_mbx_validate_handlers()
1511 msg_data++; in fm10k_mbx_validate_handlers()
1513 if (id >= msg_data->id) in fm10k_mbx_validate_handlers()
1518 if ((msg_data->id != FM10K_TLV_ERROR) || !msg_data->func) in fm10k_mbx_validate_handlers()
[all …]
H A Dfm10k_mbx.h253 const struct fm10k_msg_data *msg_data; member
/linux/net/tipc/
H A Dname_distr.c108 item = (struct distr_item *)msg_data(buf_msg(skb)); in tipc_named_publish()
137 item = (struct distr_item *)msg_data(buf_msg(skb)); in tipc_named_withdraw()
174 item = (struct distr_item *)msg_data(hdr); in named_distribute()
377 item = (struct distr_item *)msg_data(hdr); in tipc_named_rcv()
H A Dmsg.h367 static inline unchar *msg_data(struct tipc_msg *m) in msg_data() function
374 return (struct tipc_msg *)msg_data(m); in msg_inner_hdr()
866 m = (void *)msg_data(m); in msg_link_selector()
1147 memcpy(msg_data(hdr), id, 16); in msg_set_node_id()
1152 return (u8 *)msg_data(hdr); in msg_node_id()
H A Dmsg.c594 ihdr = (struct tipc_msg *)(msg_data(hdr) + *pos); in tipc_msg_extract()
655 memcpy((*skb)->data + hlen, msg_data(_hdr), dlen); in tipc_msg_reverse()
/linux/drivers/media/platform/qcom/venus/
H A Dhfi_msgs.h259 u8 msg_data[]; member
267 u8 msg_data[]; member
/linux/drivers/char/ipmi/
H A Dipmi_msghandler.c995 msg->msg_data[0] = err; in deliver_err_response()
998 msg->msg.data = msg->msg_data; in deliver_err_response()
2090 memcpy(recv_msg->msg_data, smi_msg->data, in i_ipmi_req_ipmb()
2092 recv_msg->msg.data = recv_msg->msg_data; in i_ipmi_req_ipmb()
2257 memcpy(recv_msg->msg_data, smi_msg->data, in i_ipmi_req_lan()
2259 recv_msg->msg.data = recv_msg->msg_data; in i_ipmi_req_lan()
3880 memcpy(recv_msg->msg_data, &msg->rsp[9], msg->rsp_size - 9); in handle_ipmb_get_msg_rsp()
3887 recv_msg->msg.data = recv_msg->msg_data; in handle_ipmb_get_msg_rsp()
3976 recv_msg->msg.data = recv_msg->msg_data; in handle_ipmb_get_msg_cmd()
3983 memcpy(recv_msg->msg_data, &msg->rsp[9], in handle_ipmb_get_msg_cmd()
[all …]
/linux/drivers/char/xillybus/
H A Dxillybus_core.c93 int msg_channel, msg_bufno, msg_data, msg_dir; in malformed_message() local
99 msg_data = buf[1] & 0xfffffff; in malformed_message()
103 opcode, msg_channel, msg_dir, msg_bufno, msg_data); in malformed_message()
119 unsigned int msg_channel, msg_bufno, msg_data, msg_dir; in xillybus_isr() local
167 msg_data = buf[i+1] & 0xfffffff; in xillybus_isr()
186 msg_data; in xillybus_isr()
239 ep->idtlen = msg_data; in xillybus_isr()
/linux/sound/soc/sof/amd/
H A Dacp-ipc.c83 acp_mailbox_write(sdev, offset, msg->msg_data, msg->msg_size); in acp_sof_ipc_send_msg()
113 hdr = msg->msg_data; in acp_dsp_ipc_get_reply()
/linux/drivers/pci/controller/cadence/
H A Dpcie-cadence-ep.c491 u32 tbl_offset, msg_data, reg; in cdns_pcie_ep_send_msix_irq() local
519 msg_data = msix_tbl[(interrupt_num - 1)].msg_data; in cdns_pcie_ep_send_msix_irq()
533 writel(msg_data, ep->irq_cpu_addr + (msg_addr & pci_addr_mask)); in cdns_pcie_ep_send_msix_irq()
/linux/include/linux/
H A Dipmi.h72 unsigned char msg_data[IPMI_MAX_MSG_LENGTH]; member
/linux/arch/m68k/mac/
H A Diop.c451 uint msg_len, __u8 *msg_data, in iop_send_message() argument
468 memcpy(msg->message, msg_data, msg_len); in iop_send_message()
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhclge_mbx.h149 u8 msg_data[HCLGE_MBX_MAX_MSG_SIZE]; member
/linux/kernel/trace/
H A Dblktrace.c264 buf = this_cpu_ptr(bt->msg_data); in __blk_trace_note_message()
485 free_percpu(bt->msg_data); in blk_trace_free()
683 bt->msg_data = __alloc_percpu(BLK_TN_MAX_MSG, __alignof__(char)); in blk_trace_setup_prepare()
684 if (!bt->msg_data) in blk_trace_setup_prepare()
1887 bt->msg_data = __alloc_percpu(BLK_TN_MAX_MSG, __alignof__(char)); in blk_trace_setup_queue()
1888 if (!bt->msg_data) in blk_trace_setup_queue()
/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-ntb.c496 u32 db_entry_size, msg_data; in epf_ntb_configure_msix() local
525 msg_data = msix_tbl[i].msg_data; in epf_ntb_configure_msix()
535 peer_ctrl->db_data[i] = msg_data; in epf_ntb_configure_msix()

12