Lines Matching refs:msg
67 int acp_sof_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in acp_sof_ipc_send_msg() argument
83 acp_mailbox_write(sdev, offset, msg->msg_data, msg->msg_size); in acp_sof_ipc_send_msg()
98 struct snd_sof_ipc_msg *msg = sdev->msg; in acp_dsp_ipc_get_reply() local
109 if (!msg) { in acp_dsp_ipc_get_reply()
113 hdr = msg->msg_data; in acp_dsp_ipc_get_reply()
124 memcpy(msg->reply_data, &reply, sizeof(reply)); in acp_dsp_ipc_get_reply()
130 memcpy(msg->reply_data, &reply, sizeof(reply)); in acp_dsp_ipc_get_reply()
137 if (!msg->reply_size) in acp_dsp_ipc_get_reply()
141 if (reply.hdr.size != msg->reply_size && in acp_dsp_ipc_get_reply()
144 msg->reply_size, reply.hdr.size); in acp_dsp_ipc_get_reply()
148 if (msg->reply_size > 0) in acp_dsp_ipc_get_reply()
149 acp_mailbox_read(sdev, offset, msg->reply_data, msg->reply_size); in acp_dsp_ipc_get_reply()
152 msg->reply_error = ret; in acp_dsp_ipc_get_reply()