Lines Matching full:reply
25 * interrupt and send reply msg to dsp in hda_dsp_ipc_host_done()
42 * set DONE bit - tell DSP we have received the reply msg in hda_dsp_ipc_dsp_done()
43 * from DSP, and processed it, don't send more reply to host in hda_dsp_ipc_dsp_done()
71 struct sof_ipc_reply reply; in hda_dsp_ipc_get_reply() local
76 * Sometimes, there is unexpected reply ipc arriving. The reply in hda_dsp_ipc_get_reply()
89 * memory windows are powered off before sending IPC reply, in hda_dsp_ipc_get_reply()
93 reply.error = 0; in hda_dsp_ipc_get_reply()
94 reply.hdr.cmd = SOF_IPC_GLB_REPLY; in hda_dsp_ipc_get_reply()
95 reply.hdr.size = sizeof(reply); in hda_dsp_ipc_get_reply()
96 memcpy(msg->reply_data, &reply, sizeof(reply)); in hda_dsp_ipc_get_reply()
100 /* get IPC reply from DSP in the mailbox */ in hda_dsp_ipc_get_reply()
101 sof_mailbox_read(sdev, sdev->host_box.offset, &reply, in hda_dsp_ipc_get_reply()
102 sizeof(reply)); in hda_dsp_ipc_get_reply()
104 if (reply.error < 0) { in hda_dsp_ipc_get_reply()
105 memcpy(msg->reply_data, &reply, sizeof(reply)); in hda_dsp_ipc_get_reply()
106 ret = reply.error; in hda_dsp_ipc_get_reply()
108 /* reply correct size ? */ in hda_dsp_ipc_get_reply()
109 if (reply.hdr.size != msg->reply_size && in hda_dsp_ipc_get_reply()
111 ((reply.hdr.cmd & SOF_GLB_TYPE_MASK) != SOF_IPC_GLB_PROBE)) { in hda_dsp_ipc_get_reply()
112 dev_err(sdev->dev, "error: reply expected %zu got %u bytes\n", in hda_dsp_ipc_get_reply()
113 msg->reply_size, reply.hdr.size); in hda_dsp_ipc_get_reply()
147 /* is this a reply message from the DSP */ in hda_dsp_ipc_irq_thread()
165 * if the DSP is fast enough to receive an IPC message, reply to in hda_dsp_ipc_irq_thread()
169 * reply. in hda_dsp_ipc_irq_thread()
173 /* handle immediate reply from DSP core */ in hda_dsp_ipc_irq_thread()
279 const struct sof_ipc_pcm_params_reply *reply) in hda_ipc_pcm_params() argument
284 size_t posn_offset = reply->posn_offset; in hda_ipc_pcm_params()