Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/media/common/siano/
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()
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 …]
/linux-6.12.1/sound/soc/sof/
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()
Dsof-priv.h422 void *msg_data; member
522 int (*tx_msg)(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes,
748 int sof_ipc_tx_message(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes,
750 static inline int sof_ipc_tx_message_no_reply(struct snd_sof_ipc *ipc, void *msg_data, in sof_ipc_tx_message_no_reply() argument
753 return sof_ipc_tx_message(ipc, msg_data, msg_bytes, NULL, 0); in sof_ipc_tx_message_no_reply()
755 int sof_ipc_set_get_data(struct snd_sof_ipc *ipc, void *msg_data,
757 int sof_ipc_tx_message_no_pm(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes,
759 static inline int sof_ipc_tx_message_no_pm_no_reply(struct snd_sof_ipc *ipc, void *msg_data, in sof_ipc_tx_message_no_pm_no_reply() argument
762 return sof_ipc_tx_message_no_pm(ipc, msg_data, msg_bytes, NULL, 0); in sof_ipc_tx_message_no_pm_no_reply()
764 int sof_ipc_send_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes,
Dipc4.c297 struct sof_ipc4_msg *ipc4_msg = msg->msg_data; in ipc4_wait_tx_done()
344 void *msg_data, size_t msg_bytes, in ipc4_tx_msg_unlocked() argument
347 struct sof_ipc4_msg *ipc4_msg = msg_data; in ipc4_tx_msg_unlocked()
354 sof_ipc4_log_header(sdev->dev, "ipc tx ", msg_data, true); in ipc4_tx_msg_unlocked()
356 ret = sof_ipc_send_msg(sdev, msg_data, msg_bytes, reply_bytes); in ipc4_tx_msg_unlocked()
368 static int sof_ipc4_tx_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc4_tx_msg() argument
374 if (!msg_data) in sof_ipc4_tx_msg()
391 ret = ipc4_tx_msg_unlocked(ipc, msg_data, msg_bytes, reply_data, reply_bytes); in sof_ipc4_tx_msg()
398 msg = msg_data; in sof_ipc4_tx_msg()
Dipc4-control.c659 struct sof_ipc4_control_msg_payload *msg_data; in sof_ipc4_control_update() local
669 if (ndata->event_data_size < sizeof(*msg_data)) { in sof_ipc4_control_update()
703 msg_data = (struct sof_ipc4_control_msg_payload *)ndata->event_data; in sof_ipc4_control_update()
715 msg_data->id == cdata->index) { in sof_ipc4_control_update()
726 msg_data->id); in sof_ipc4_control_update()
730 if (msg_data->num_elems) { in sof_ipc4_control_update()
735 for (i = 0; i < msg_data->num_elems; i++) { in sof_ipc4_control_update()
736 u32 channel = msg_data->chanv[i].channel; in sof_ipc4_control_update()
751 cdata->chanv[channel].value = msg_data->chanv[i].value; in sof_ipc4_control_update()
Dipc3.c292 struct sof_ipc_cmd_hdr *hdr = msg->msg_data; in ipc3_wait_tx_done()
333 void *msg_data, size_t msg_bytes, in ipc3_tx_msg_unlocked() argument
336 struct sof_ipc_cmd_hdr *hdr = msg_data; in ipc3_tx_msg_unlocked()
342 ret = sof_ipc_send_msg(sdev, msg_data, msg_bytes, reply_bytes); in ipc3_tx_msg_unlocked()
355 static int sof_ipc3_tx_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc3_tx_msg() argument
361 if (!msg_data || msg_bytes < sizeof(struct sof_ipc_cmd_hdr)) { in sof_ipc3_tx_msg()
383 ret = ipc3_tx_msg_unlocked(ipc, msg_data, msg_bytes, reply_data, reply_bytes); in sof_ipc3_tx_msg()
391 payload = msg_data; in sof_ipc3_tx_msg()
/linux-6.12.1/sound/soc/sof/intel/
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->extension); in hda_dsp_ipc4_send_msg()
123 msg_data->primary | HDA_DSP_REG_HIPCI_BUSY); in hda_dsp_ipc4_send_msg()
147 hdr = msg->msg_data; in hda_dsp_ipc_get_reply()
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()
Dmtl.c101 struct sof_ipc4_msg *msg_data = msg->msg_data; in mtl_ipc_send_msg() local
111 if (msg_data->data_size) in mtl_ipc_send_msg()
112 sof_mailbox_write(sdev, sdev->host_box.offset, msg_data->data_ptr, in mtl_ipc_send_msg()
113 msg_data->data_size); in mtl_ipc_send_msg()
116 msg_data->extension); in mtl_ipc_send_msg()
118 msg_data->primary | MTL_DSP_REG_HFIPCXIDR_BUSY); in mtl_ipc_send_msg()
/linux-6.12.1/net/nfc/
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-6.12.1/drivers/net/ethernet/intel/fm10k/
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 …]
/linux-6.12.1/drivers/pci/controller/dwc/
Dpcie-designware-ep.c492 u16 msg_ctrl, msg_data; in dw_pcie_ep_raise_msi_irq() local
511 msg_data = dw_pcie_ep_readw_dbi(ep, func_no, reg); in dw_pcie_ep_raise_msi_irq()
515 msg_data = dw_pcie_ep_readw_dbi(ep, func_no, reg); in dw_pcie_ep_raise_msi_irq()
526 writel(msg_data | (interrupt_num - 1), ep->msi_mem + aligned_offset); in dw_pcie_ep_raise_msi_irq()
548 u32 msg_data; in dw_pcie_ep_raise_msix_irq_doorbell() local
554 msg_data = (func_no << PCIE_MSIX_DOORBELL_PF_SHIFT) | in dw_pcie_ep_raise_msix_irq_doorbell()
557 dw_pcie_writel_dbi(pci, PCIE_MSIX_DOORBELL, msg_data); in dw_pcie_ep_raise_msix_irq_doorbell()
577 u32 reg, msg_data, vec_ctrl; in dw_pcie_ep_raise_msix_irq() local
595 msg_data = msix_tbl[(interrupt_num - 1)].msg_data; in dw_pcie_ep_raise_msix_irq()
610 writel(msg_data, ep->msi_mem + aligned_offset); in dw_pcie_ep_raise_msix_irq()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
Ddcn35_smu.c502 union dcn35_dpia_host_router_bw msg_data = { 0 }; in dcn35_smu_notify_host_router_bw() local
504 msg_data.bits.hr_id = hr_id; in dcn35_smu_notify_host_router_bw()
505 msg_data.bits.bw_mbps = bw_kbps / 1000; in dcn35_smu_notify_host_router_bw()
507 dcn35_smu_send_msg_with_param(clk_mgr, VBIOSSMC_MSG_NotifyHostRouterBW, msg_data.all); in dcn35_smu_notify_host_router_bw()
/linux-6.12.1/net/tipc/
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()
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()
/linux-6.12.1/drivers/ntb/test/
Dntb_pingpong.c190 u32 msg_data, spad_data; in pp_pong() local
195 msg_data = ntb_msg_read(pp->ntb, &pidx, 0); in pp_pong()
204 spad_data, msg_data, ntb_peer_port_number(pp->ntb, pidx)); in pp_pong()
/linux-6.12.1/drivers/media/platform/qcom/venus/
Dhfi_msgs.h259 u8 msg_data[]; member
267 u8 msg_data[]; member
/linux-6.12.1/drivers/char/ipmi/
Dipmi_msghandler.c974 msg->msg_data[0] = err; in deliver_err_response()
977 msg->msg.data = msg->msg_data; in deliver_err_response()
2097 memcpy(recv_msg->msg_data, smi_msg->data, in i_ipmi_req_ipmb()
2099 recv_msg->msg.data = recv_msg->msg_data; in i_ipmi_req_ipmb()
2267 memcpy(recv_msg->msg_data, smi_msg->data, in i_ipmi_req_lan()
2269 recv_msg->msg.data = recv_msg->msg_data; in i_ipmi_req_lan()
3856 memcpy(recv_msg->msg_data, &msg->rsp[9], msg->rsp_size - 9); in handle_ipmb_get_msg_rsp()
3863 recv_msg->msg.data = recv_msg->msg_data; in handle_ipmb_get_msg_rsp()
3969 recv_msg->msg.data = recv_msg->msg_data; in handle_ipmb_get_msg_cmd()
3976 memcpy(recv_msg->msg_data, &msg->rsp[9], in handle_ipmb_get_msg_cmd()
[all …]
/linux-6.12.1/include/linux/
Dmailbox_controller.h125 void *msg_data[MBOX_TX_QUEUE_LEN]; member
Dipmi.h72 unsigned char msg_data[IPMI_MAX_MSG_LENGTH]; member
Dblktrace_api.h20 unsigned char __percpu *msg_data; member
/linux-6.12.1/drivers/char/xillybus/
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-6.12.1/sound/soc/sof/amd/
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-6.12.1/drivers/pci/controller/cadence/
Dpcie-cadence-ep.c485 u32 tbl_offset, msg_data, reg; in cdns_pcie_ep_send_msix_irq() local
512 msg_data = msix_tbl[(interrupt_num - 1)].msg_data; in cdns_pcie_ep_send_msix_irq()
526 writel(msg_data, ep->irq_cpu_addr + (msg_addr & pci_addr_mask)); in cdns_pcie_ep_send_msix_irq()

123