Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/sound/soc/sof/
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()
A Dipc4.c290 struct sof_ipc4_msg *ipc4_msg = msg->msg_data; in ipc4_wait_tx_done()
337 void *msg_data, size_t msg_bytes, in ipc4_tx_msg_unlocked() argument
340 struct sof_ipc4_msg *ipc4_msg = msg_data; in ipc4_tx_msg_unlocked()
347 sof_ipc4_log_header(sdev->dev, "ipc tx ", msg_data, true); in ipc4_tx_msg_unlocked()
349 ret = sof_ipc_send_msg(sdev, msg_data, msg_bytes, reply_bytes); in ipc4_tx_msg_unlocked()
361 static int sof_ipc4_tx_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc4_tx_msg() argument
370 if (!msg_data) in sof_ipc4_tx_msg()
387 ret = ipc4_tx_msg_unlocked(ipc, msg_data, msg_bytes, reply_data, reply_bytes); in sof_ipc4_tx_msg()
394 msg = msg_data; in sof_ipc4_tx_msg()
A Dsof-priv.h394 void *msg_data; member
493 int (*tx_msg)(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes,
701 int sof_ipc_tx_message(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes,
703 int sof_ipc_set_get_data(struct snd_sof_ipc *ipc, void *msg_data,
705 int sof_ipc_tx_message_no_pm(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes,
707 int sof_ipc_send_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes,
A 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()
334 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.3-rc2/drivers/media/common/siano/
A 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()
A Dsmscoreapi.c1309 msg->msg_data[0] = mode; in smscore_init_device()
1397 msg->msg_data[0] = mode; in smscore_set_device_mode()
1557 validity->msg_data[0]); in smscore_onresponse()
1951 u32 msg_data[6]; in smscore_gpio_configure() member
1974 p_msg->msg_data[0] = pin_num; in smscore_gpio_configure()
1999 p_msg->msg_data[5] = 0; in smscore_gpio_configure()
2047 p_msg->msg_data[0] = pin_num; in smscore_gpio_set_level()
2048 p_msg->msg_data[1] = new_level; in smscore_gpio_set_level()
2074 u32 msg_data[2]; in smscore_gpio_get_level() member
2095 p_msg->msg_data[0] = pin_num; in smscore_gpio_get_level()
[all …]
/linux-6.3-rc2/sound/soc/sof/intel/
A Dhda-ipc.c62 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in hda_dsp_ipc_send_msg()
86 struct sof_ipc4_msg *msg_data = msg->msg_data; in hda_dsp_ipc4_schedule_d0i3_work() local
89 if (hda_dsp_ipc4_pm_msg(msg_data->primary)) in hda_dsp_ipc4_schedule_d0i3_work()
99 struct sof_ipc4_msg *msg_data = msg->msg_data; in hda_dsp_ipc4_send_msg() local
109 if (msg_data->data_size) in hda_dsp_ipc4_send_msg()
110 sof_mailbox_write(sdev, sdev->host_box.offset, msg_data->data_ptr, in hda_dsp_ipc4_send_msg()
111 msg_data->data_size); in hda_dsp_ipc4_send_msg()
113 snd_sof_dsp_write(sdev, HDA_DSP_BAR, HDA_DSP_REG_HIPCIE, msg_data->extension); in hda_dsp_ipc4_send_msg()
115 msg_data->primary | HDA_DSP_REG_HIPCI_BUSY); in hda_dsp_ipc4_send_msg()
138 hdr = msg->msg_data; in hda_dsp_ipc_get_reply()
A Dcnl.c247 struct sof_ipc_pm_gate *pm_gate = msg->msg_data; in cnl_compact_ipc_compress()
265 struct sof_ipc4_msg *msg_data = msg->msg_data; in cnl_ipc4_send_msg() local
275 if (msg_data->data_size) in cnl_ipc4_send_msg()
276 sof_mailbox_write(sdev, sdev->host_box.offset, msg_data->data_ptr, in cnl_ipc4_send_msg()
277 msg_data->data_size); in cnl_ipc4_send_msg()
279 snd_sof_dsp_write(sdev, HDA_DSP_BAR, CNL_DSP_REG_HIPCIDD, msg_data->extension); in cnl_ipc4_send_msg()
281 msg_data->primary | CNL_DSP_REG_HIPCIDR_BUSY); in cnl_ipc4_send_msg()
313 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in cnl_ipc_send_msg()
318 hdr = msg->msg_data; in cnl_ipc_send_msg()
A Dmtl.c94 struct sof_ipc4_msg *msg_data = msg->msg_data; in mtl_ipc_send_msg() local
104 if (msg_data->data_size) in mtl_ipc_send_msg()
105 sof_mailbox_write(sdev, sdev->host_box.offset, msg_data->data_ptr, in mtl_ipc_send_msg()
106 msg_data->data_size); in mtl_ipc_send_msg()
109 msg_data->extension); in mtl_ipc_send_msg()
111 msg_data->primary | MTL_DSP_REG_HFIPCXIDR_BUSY); in mtl_ipc_send_msg()
/linux-6.3-rc2/net/nfc/
A Dllcp_commands.c646 u8 *msg_data, *msg_ptr; in nfc_llcp_send_i_frame() local
673 if (msg_data == NULL) 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
739 if (msg_data == NULL) in nfc_llcp_send_ui_frame()
743 kfree(msg_data); in nfc_llcp_send_ui_frame()
748 msg_ptr = msg_data; in nfc_llcp_send_ui_frame()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/intel/fm10k/
A Dfm10k_mbx.c712 mbx, mbx->msg_data); in fm10k_mbx_dequeue_rx()
1483 if (!msg_data) 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()
1539 mbx->msg_data = msg_data; in fm10k_mbx_register_handlers()
1587 mbx->msg_data = msg_data; in fm10k_pfvf_mbx_init()
[all …]
/linux-6.3-rc2/drivers/pci/controller/dwc/
A Dpcie-designware-ep.c501 u16 msg_ctrl, msg_data; in dw_pcie_ep_raise_msi_irq() local
523 msg_data = dw_pcie_readw_dbi(pci, reg); in dw_pcie_ep_raise_msi_irq()
527 msg_data = dw_pcie_readw_dbi(pci, reg); in dw_pcie_ep_raise_msi_irq()
537 writel(msg_data | (interrupt_num - 1), ep->msi_mem + aligned_offset); in dw_pcie_ep_raise_msi_irq()
550 u32 msg_data; in dw_pcie_ep_raise_msix_irq_doorbell() local
556 msg_data = (func_no << PCIE_MSIX_DOORBELL_PF_SHIFT) | in dw_pcie_ep_raise_msix_irq_doorbell()
559 dw_pcie_writel_dbi(pci, PCIE_MSIX_DOORBELL, msg_data); in dw_pcie_ep_raise_msix_irq_doorbell()
572 u32 reg, msg_data, vec_ctrl; in dw_pcie_ep_raise_msix_irq() local
592 msg_data = msix_tbl[(interrupt_num - 1)].msg_data; in dw_pcie_ep_raise_msix_irq()
606 writel(msg_data, ep->msi_mem + aligned_offset); in dw_pcie_ep_raise_msix_irq()
/linux-6.3-rc2/net/tipc/
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()
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()
/linux-6.3-rc2/drivers/ntb/test/
A 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.3-rc2/drivers/media/platform/qcom/venus/
A Dhfi_msgs.h259 u8 msg_data[1]; member
267 u8 msg_data[1]; member
/linux-6.3-rc2/drivers/char/ipmi/
A Dipmi_msghandler.c974 msg->msg_data[0] = err; in deliver_err_response()
977 msg->msg.data = msg->msg_data; in deliver_err_response()
2099 recv_msg->msg.data = recv_msg->msg_data; in i_ipmi_req_ipmb()
2269 recv_msg->msg.data = recv_msg->msg_data; in i_ipmi_req_lan()
3864 recv_msg->msg.data = recv_msg->msg_data; in handle_ipmb_get_msg_rsp()
4101 recv_msg->msg.data = recv_msg->msg_data; in handle_ipmb_direct_rcv_rsp()
4164 recv_msg->msg.data = recv_msg->msg_data; in handle_lan_get_msg_rsp()
4389 recv_msg->msg.data = recv_msg->msg_data; in copy_event_into_recv_msg()
4518 recv_msg->msg.data = recv_msg->msg_data; in handle_bmc_rsp()
4662 recv_msg->msg.data = recv_msg->msg_data; in handle_one_recv_msg()
[all …]
/linux-6.3-rc2/include/linux/
A Dmailbox_controller.h125 void *msg_data[MBOX_TX_QUEUE_LEN]; member
A Dblktrace_api.h20 unsigned char __percpu *msg_data; member
A Dipmi.h72 unsigned char msg_data[IPMI_MAX_MSG_LENGTH]; member
A Dpci-epf.h187 u32 msg_data; member
/linux-6.3-rc2/sound/soc/sof/amd/
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-6.3-rc2/drivers/char/xillybus/
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-6.3-rc2/drivers/pci/controller/cadence/
A 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.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A 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()

Completed in 74 milliseconds

123