Home
last modified time | relevance | path

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

/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()
/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()
Datom.c188 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in atom_send_msg()
Dbdw.c366 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in bdw_send_msg()
/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()
/sound/soc/sof/imx/
Dimx8ulp.c120 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in imx8ulp_send_msg()
Dimx8m.c107 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in imx8m_send_msg()
Dimx8.c114 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in imx8_send_msg()
/sound/soc/sof/mediatek/mt8186/
Dmt8186.c45 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in mt8186_send_msg()
/sound/soc/sof/mediatek/mt8195/
Dmt8195.c46 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in mt8195_send_msg()