Home
last modified time | relevance | path

Searched refs:reply (Results 1 – 19 of 19) sorted by relevance

/sound/soc/sof/intel/
Dhda-ipc.c71 struct sof_ipc_reply reply; in hda_dsp_ipc_get_reply() local
91 reply.error = 0; in hda_dsp_ipc_get_reply()
92 reply.hdr.cmd = SOF_IPC_GLB_REPLY; in hda_dsp_ipc_get_reply()
93 reply.hdr.size = sizeof(reply); in hda_dsp_ipc_get_reply()
94 memcpy(msg->reply_data, &reply, sizeof(reply)); in hda_dsp_ipc_get_reply()
99 sof_mailbox_read(sdev, sdev->host_box.offset, &reply, in hda_dsp_ipc_get_reply()
100 sizeof(reply)); in hda_dsp_ipc_get_reply()
102 if (reply.error < 0) { in hda_dsp_ipc_get_reply()
103 memcpy(msg->reply_data, &reply, sizeof(reply)); in hda_dsp_ipc_get_reply()
104 ret = reply.error; in hda_dsp_ipc_get_reply()
[all …]
Dbdw.c353 struct sof_ipc_reply reply; in bdw_get_reply() local
367 sof_mailbox_read(sdev, sdev->host_box.offset, &reply, sizeof(reply)); in bdw_get_reply()
369 if (reply.error < 0) { in bdw_get_reply()
370 memcpy(msg->reply_data, &reply, sizeof(reply)); in bdw_get_reply()
371 ret = reply.error; in bdw_get_reply()
374 if (reply.hdr.size != msg->reply_size) { in bdw_get_reply()
376 msg->reply_size, reply.hdr.size); in bdw_get_reply()
Dbyt.c250 struct sof_ipc_reply reply; in byt_get_reply() local
264 sof_mailbox_read(sdev, sdev->host_box.offset, &reply, sizeof(reply)); in byt_get_reply()
266 if (reply.error < 0) { in byt_get_reply()
267 memcpy(msg->reply_data, &reply, sizeof(reply)); in byt_get_reply()
268 ret = reply.error; in byt_get_reply()
271 if (reply.hdr.size != msg->reply_size) { in byt_get_reply()
273 msg->reply_size, reply.hdr.size); in byt_get_reply()
Dintel-ipc.c46 const struct sof_ipc_pcm_params_reply *reply) in intel_ipc_pcm_params() argument
49 size_t posn_offset = reply->posn_offset; in intel_ipc_pcm_params()
Dhda-dai.c160 struct sof_ipc_reply reply; in hda_link_config_ipc() local
186 &reply, sizeof(reply)); in hda_link_config_ipc()
Dhda.h517 const struct sof_ipc_pcm_params_reply *reply);
/sound/soc/intel/common/
Dsst-ipc.c46 struct ipc_message *msg, struct sst_ipc_message *reply) in tx_wait_done() argument
65 if (reply) { in tx_wait_done()
66 reply->header = msg->rx.header; in tx_wait_done()
67 if (reply->data) in tx_wait_done()
68 memcpy(reply->data, msg->rx.data, msg->rx.size); in tx_wait_done()
80 struct sst_ipc_message *reply, int wait) in ipc_tx_message() argument
96 msg->rx.size = reply ? reply->size : 0; in ipc_tx_message()
110 return tx_wait_done(ipc, msg, reply); in ipc_tx_message()
181 struct sst_ipc_message request, struct sst_ipc_message *reply) in sst_ipc_tx_message_wait() argument
194 ret = ipc_tx_message(ipc, request, reply, 1); in sst_ipc_tx_message_wait()
[all …]
Dsst-ipc.h71 struct sst_ipc_message request, struct sst_ipc_message *reply);
77 struct sst_ipc_message request, struct sst_ipc_message *reply);
/sound/soc/sof/imx/
Dimx8.c63 struct sof_ipc_reply reply; in imx8_get_reply() local
72 sof_mailbox_read(sdev, sdev->host_box.offset, &reply, sizeof(reply)); in imx8_get_reply()
74 if (reply.error < 0) { in imx8_get_reply()
75 memcpy(msg->reply_data, &reply, sizeof(reply)); in imx8_get_reply()
76 ret = reply.error; in imx8_get_reply()
79 if (reply.hdr.size != msg->reply_size) { in imx8_get_reply()
81 msg->reply_size, reply.hdr.size); in imx8_get_reply()
353 const struct sof_ipc_pcm_params_reply *reply) in imx8_ipc_pcm_params() argument
/sound/soc/intel/haswell/
Dsst-haswell-ipc.c211 struct sst_hsw_ipc_stream_alloc_reply reply; member
417 if (stream->reply.stream_hw_id == stream_id) in get_stream_by_id()
480 stream->reply.stream_hw_id); in hsw_notification_work()
490 stream->reply.stream_hw_id); in hsw_notification_work()
527 trace_ipc_notification("stream reset", stream->reply.stream_hw_id); in hsw_stream_update()
532 stream->reply.stream_hw_id); in hsw_stream_update()
537 stream->reply.stream_hw_id); in hsw_stream_update()
545 u32 reply = msg_get_global_reply(header); in hsw_process_reply() local
557 switch (reply) { in hsw_process_reply()
814 struct sst_ipc_message request = {0}, reply = {0}; in sst_hsw_fw_get_version() local
[all …]
/sound/soc/sof/
Dpm.c120 struct sof_ipc_reply reply; in sof_restore_pipelines() local
132 &reply, sizeof(reply)); in sof_restore_pipelines()
147 struct sof_ipc_reply reply; in sof_restore_pipelines() local
168 &reply, sizeof(reply)); in sof_restore_pipelines()
203 struct sof_ipc_reply reply; in sof_send_pm_ipc() local
213 sizeof(pm_ctx), &reply, sizeof(reply)); in sof_send_pm_ipc()
Dtopology.c116 struct sof_ipc_reply reply; in ipc_trigger() local
126 sizeof(stream), &reply, sizeof(reply)); in ipc_trigger()
2040 struct sof_ipc_comp_reply reply; in sof_widget_ready() local
2055 memset(&reply, 0, sizeof(reply)); in sof_widget_ready()
2072 ret = sof_widget_load_dai(scomp, index, swidget, tw, &reply, in sof_widget_ready()
2083 ret = sof_widget_load_mixer(scomp, index, swidget, tw, &reply); in sof_widget_ready()
2086 ret = sof_widget_load_pga(scomp, index, swidget, tw, &reply); in sof_widget_ready()
2090 scontrol->readback_offset = reply.offset; in sof_widget_ready()
2096 ret = sof_widget_load_buffer(scomp, index, swidget, tw, &reply); in sof_widget_ready()
2100 &reply); in sof_widget_ready()
[all …]
Dpcm.c42 const struct sof_ipc_pcm_params_reply *reply) in sof_pcm_dsp_params() argument
46 int ret = snd_sof_ipc_pcm_params(sdev, substream, reply); in sof_pcm_dsp_params()
224 struct sof_ipc_reply reply; in sof_pcm_dsp_pcm_free() local
233 sizeof(stream), &reply, sizeof(reply)); in sof_pcm_dsp_pcm_free()
324 struct sof_ipc_reply reply; in sof_pcm_trigger() local
385 sizeof(stream), &reply, sizeof(reply)); in sof_pcm_trigger()
Ddebug.c32 struct sof_ipc_reply reply; in sof_debug_ipc_flood_test() local
53 &reply, sizeof(reply)); in sof_debug_ipc_flood_test()
Dops.h368 const struct sof_ipc_pcm_params_reply *reply) in snd_sof_ipc_pcm_params() argument
370 return sof_ops(sdev)->ipc_pcm_params(sdev, substream, reply); in snd_sof_ipc_pcm_params()
Dsof-priv.h167 const struct sof_ipc_pcm_params_reply *reply); /* mandatory */
661 const struct sof_ipc_pcm_params_reply *reply);
/sound/soc/intel/skylake/
Dskl-sst-ipc.c392 enum skl_ipc_glb_reply reply; member
405 static int skl_ipc_set_reply_error_code(struct sst_generic_ipc *ipc, u32 reply) in skl_ipc_set_reply_error_code() argument
410 if (skl_err_map[i].reply == reply) in skl_ipc_set_reply_error_code()
416 reply, in skl_ipc_set_reply_error_code()
437 u32 reply = header.primary & IPC_GLB_REPLY_STATUS_MASK; in skl_ipc_process_reply() local
452 if (reply == IPC_GLB_REPLY_SUCCESS) { in skl_ipc_process_reply()
469 msg->errno = skl_ipc_set_reply_error_code(ipc, reply); in skl_ipc_process_reply()
976 struct sst_ipc_message request, reply = {0}; in skl_ipc_get_large_config() local
980 reply.data = kzalloc(SKL_ADSP_W1_SZ, GFP_KERNEL); in skl_ipc_get_large_config()
981 if (!reply.data) in skl_ipc_get_large_config()
[all …]
/sound/soc/intel/baytrail/
Dsst-baytrail-ipc.c146 struct sst_byt_alloc_response reply; member
411 struct sst_ipc_message request, reply = {0}; in sst_byt_stream_commit() local
419 reply.data = &stream->reply; in sst_byt_stream_commit()
420 reply.size = sizeof(stream->reply); in sst_byt_stream_commit()
422 ret = sst_ipc_tx_message_wait(&byt->ipc, request, &reply); in sst_byt_stream_commit()
/sound/pci/hda/
Dpatch_ca0132.c1944 unsigned int len, void *reply, unsigned int *reply_len) in dspio_scp() argument
1958 if (dir == SCP_GET && reply == NULL) { in dspio_scp()
1963 if (reply != NULL && (reply_len == NULL || (*reply_len == 0))) { in dspio_scp()
2006 } else if (!reply) { in dspio_scp()
2011 memcpy(reply, scp_reply.data, *reply_len); in dspio_scp()