Home
last modified time | relevance | path

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

/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 Dsof-priv.h414 void *msg_data; member
514 int (*tx_msg)(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes,
740 int sof_ipc_tx_message(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes,
742 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
745 return sof_ipc_tx_message(ipc, msg_data, msg_bytes, NULL, 0); in sof_ipc_tx_message_no_reply()
747 int sof_ipc_set_get_data(struct snd_sof_ipc *ipc, void *msg_data,
749 int sof_ipc_tx_message_no_pm(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes,
751 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
754 return sof_ipc_tx_message_no_pm(ipc, msg_data, msg_bytes, NULL, 0); in sof_ipc_tx_message_no_pm_no_reply()
756 int sof_ipc_send_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes,
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()
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()
A 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()
/sound/soc/sof/intel/
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->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()
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()
A Dmtl.c102 struct sof_ipc4_msg *msg_data = msg->msg_data; in mtl_ipc_send_msg() local
112 if (msg_data->data_size) in mtl_ipc_send_msg()
113 sof_mailbox_write(sdev, sdev->host_box.offset, msg_data->data_ptr, in mtl_ipc_send_msg()
114 msg_data->data_size); in mtl_ipc_send_msg()
117 msg_data->extension); in mtl_ipc_send_msg()
119 msg_data->primary | MTL_DSP_REG_HFIPCXIDR_BUSY); in mtl_ipc_send_msg()
A Datom.c188 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in atom_send_msg()
A Dbdw.c366 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in bdw_send_msg()
/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()
/sound/soc/sof/mediatek/
A Dmtk-adsp-common.c96 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in mtk_adsp_send_msg()
/sound/soc/sof/imx/
A Dimx-common.c124 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, msg->msg_size); in imx_send_msg()

Completed in 35 milliseconds