Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/media/common/siano/
Dsmsendian.c27 msg->msg_data[0] = le32_to_cpu((__force __le32)(msg->msg_data[0])); in smsendian_handle_tx_message()
36 msg->msg_data[i] = le32_to_cpu((__force __le32)msg->msg_data[i]); in smsendian_handle_tx_message()
73 msg->msg_data[i] = le32_to_cpu((__force __le32)msg->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[0] = board->mtu; in smscore_configure_board()
855 crys_msg.msg_data[0] = 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.1.9/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()
92 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
99 return ipc->ops->tx_msg(ipc->sdev, msg_data, msg_bytes, reply_data, in sof_ipc_tx_message_no_pm()
Dipc4.c288 struct sof_ipc4_msg *ipc4_msg = msg->msg_data; in ipc4_wait_tx_done()
335 void *msg_data, size_t msg_bytes, in ipc4_tx_msg_unlocked() argument
338 struct sof_ipc4_msg *ipc4_msg = msg_data; in ipc4_tx_msg_unlocked()
345 ret = sof_ipc_send_msg(sdev, msg_data, msg_bytes, reply_bytes); in ipc4_tx_msg_unlocked()
353 sof_ipc4_log_header(sdev->dev, "ipc tx ", msg_data, true); in ipc4_tx_msg_unlocked()
359 static int sof_ipc4_tx_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc4_tx_msg() argument
368 if (!msg_data) in sof_ipc4_tx_msg()
374 ret = ipc4_tx_msg_unlocked(ipc, msg_data, msg_bytes, reply_data, reply_bytes); in sof_ipc4_tx_msg()
381 msg = msg_data; in sof_ipc4_tx_msg()
Dsof-priv.h364 void *msg_data; member
456 int (*tx_msg)(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes,
655 int sof_ipc_tx_message(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes,
657 int sof_ipc_tx_message_no_pm(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes,
659 int sof_ipc_send_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes,
Dipc3.c284 struct sof_ipc_cmd_hdr *hdr = msg->msg_data; in ipc3_wait_tx_done()
325 void *msg_data, size_t msg_bytes, in ipc3_tx_msg_unlocked() argument
328 struct sof_ipc_cmd_hdr *hdr = msg_data; in ipc3_tx_msg_unlocked()
332 ret = sof_ipc_send_msg(sdev, msg_data, msg_bytes, reply_bytes); in ipc3_tx_msg_unlocked()
347 static int sof_ipc3_tx_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc3_tx_msg() argument
353 if (!msg_data || msg_bytes < sizeof(struct sof_ipc_cmd_hdr)) { in sof_ipc3_tx_msg()
375 ret = ipc3_tx_msg_unlocked(ipc, msg_data, msg_bytes, reply_data, reply_bytes); in sof_ipc3_tx_msg()
/linux-6.1.9/sound/soc/sof/intel/
Dhda-ipc.c62 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in hda_dsp_ipc_send_msg()
72 struct sof_ipc4_msg *msg_data = msg->msg_data; in hda_dsp_ipc4_send_msg() local
75 if (msg_data->data_size) in hda_dsp_ipc4_send_msg()
76 sof_mailbox_write(sdev, sdev->host_box.offset, msg_data->data_ptr, in hda_dsp_ipc4_send_msg()
77 msg_data->data_size); in hda_dsp_ipc4_send_msg()
79 snd_sof_dsp_write(sdev, HDA_DSP_BAR, HDA_DSP_REG_HIPCIE, msg_data->extension); in hda_dsp_ipc4_send_msg()
81 msg_data->primary | HDA_DSP_REG_HIPCI_BUSY); in hda_dsp_ipc4_send_msg()
102 hdr = msg->msg_data; in hda_dsp_ipc_get_reply()
Dcnl.c237 struct sof_ipc_pm_gate *pm_gate = msg->msg_data; in cnl_compact_ipc_compress()
254 struct sof_ipc4_msg *msg_data = msg->msg_data; in cnl_ipc4_send_msg() local
257 if (msg_data->data_size) in cnl_ipc4_send_msg()
258 sof_mailbox_write(sdev, sdev->host_box.offset, msg_data->data_ptr, in cnl_ipc4_send_msg()
259 msg_data->data_size); in cnl_ipc4_send_msg()
261 snd_sof_dsp_write(sdev, HDA_DSP_BAR, CNL_DSP_REG_HIPCIDD, msg_data->extension); in cnl_ipc4_send_msg()
263 msg_data->primary | CNL_DSP_REG_HIPCIDR_BUSY); in cnl_ipc4_send_msg()
293 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in cnl_ipc_send_msg()
298 hdr = msg->msg_data; in cnl_ipc_send_msg()
Dmtl.c93 struct sof_ipc4_msg *msg_data = msg->msg_data; in mtl_ipc_send_msg() local
96 if (msg_data->data_size) in mtl_ipc_send_msg()
97 sof_mailbox_write(sdev, sdev->host_box.offset, msg_data->data_ptr, in mtl_ipc_send_msg()
98 msg_data->data_size); in mtl_ipc_send_msg()
101 msg_data->extension); in mtl_ipc_send_msg()
103 msg_data->primary | MTL_DSP_REG_HFIPCXIDR_BUSY); in mtl_ipc_send_msg()
/linux-6.1.9/net/nfc/
Dllcp_commands.c646 u8 *msg_data, *msg_ptr; in nfc_llcp_send_i_frame() local
672 msg_data = kmalloc(len, GFP_USER | __GFP_NOWARN); in nfc_llcp_send_i_frame()
673 if (msg_data == NULL) in nfc_llcp_send_i_frame()
676 if (memcpy_from_msg(msg_data, msg, len)) { in nfc_llcp_send_i_frame()
677 kfree(msg_data); in nfc_llcp_send_i_frame()
682 msg_ptr = msg_data; in nfc_llcp_send_i_frame()
696 kfree(msg_data); in nfc_llcp_send_i_frame()
717 kfree(msg_data); in nfc_llcp_send_i_frame()
728 u8 *msg_ptr, *msg_data; in nfc_llcp_send_ui_frame() local
738 msg_data = kmalloc(len, GFP_USER | __GFP_NOWARN); in nfc_llcp_send_ui_frame()
[all …]
/linux-6.1.9/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.1.9/drivers/pci/controller/dwc/
Dpcie-designware-ep.c503 u16 msg_ctrl, msg_data; in dw_pcie_ep_raise_msi_irq() local
525 msg_data = dw_pcie_readw_dbi(pci, reg); in dw_pcie_ep_raise_msi_irq()
529 msg_data = dw_pcie_readw_dbi(pci, reg); in dw_pcie_ep_raise_msi_irq()
539 writel(msg_data | (interrupt_num - 1), ep->msi_mem + aligned_offset); in dw_pcie_ep_raise_msi_irq()
552 u32 msg_data; in dw_pcie_ep_raise_msix_irq_doorbell() local
558 msg_data = (func_no << PCIE_MSIX_DOORBELL_PF_SHIFT) | in dw_pcie_ep_raise_msix_irq_doorbell()
561 dw_pcie_writel_dbi(pci, PCIE_MSIX_DOORBELL, msg_data); in dw_pcie_ep_raise_msix_irq_doorbell()
574 u32 reg, msg_data, vec_ctrl; in dw_pcie_ep_raise_msix_irq() local
594 msg_data = msix_tbl[(interrupt_num - 1)].msg_data; in dw_pcie_ep_raise_msix_irq()
608 writel(msg_data, ep->msi_mem + aligned_offset); in dw_pcie_ep_raise_msix_irq()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/media/platform/qcom/venus/
Dhfi_msgs.h259 u8 msg_data[1]; member
267 u8 msg_data[1]; member
/linux-6.1.9/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()
3857 memcpy(recv_msg->msg_data, &msg->rsp[9], msg->rsp_size - 9); in handle_ipmb_get_msg_rsp()
3864 recv_msg->msg.data = recv_msg->msg_data; in handle_ipmb_get_msg_rsp()
3970 recv_msg->msg.data = recv_msg->msg_data; in handle_ipmb_get_msg_cmd()
3977 memcpy(recv_msg->msg_data, &msg->rsp[9], in handle_ipmb_get_msg_cmd()
[all …]
/linux-6.1.9/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
Dpci-epf.h182 u32 msg_data; member
/linux-6.1.9/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.1.9/drivers/pci/controller/cadence/
Dpcie-cadence-ep.c487 u32 tbl_offset, msg_data, reg; in cdns_pcie_ep_send_msix_irq() local
514 msg_data = msix_tbl[(interrupt_num - 1)].msg_data; in cdns_pcie_ep_send_msix_irq()
528 writel(msg_data, ep->irq_cpu_addr + (msg_addr & pci_addr_mask)); in cdns_pcie_ep_send_msix_irq()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c114 memcpy(resp_pf_to_vf->msg.msg_data, msg, msg_len); in hclge_send_mbx_msg()
129 __le16 msg_data; in hclge_inform_vf_reset() local
133 msg_data = cpu_to_le16(reset_type); in hclge_inform_vf_reset()
136 return hclge_send_mbx_msg(vport, (u8 *)&msg_data, sizeof(msg_data), in hclge_inform_vf_reset()

123