Lines Matching defs:msg
25 * interrupt and send reply msg to dsp
42 * set DONE bit - tell DSP we have received the reply msg
57 int hda_dsp_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg)
60 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data,
61 msg->msg_size);
70 struct snd_sof_ipc_msg *msg = sdev->msg;
80 if (!msg) {
85 hdr = msg->msg_data;
96 memcpy(msg->reply_data, &reply, sizeof(reply));
105 memcpy(msg->reply_data, &reply, sizeof(reply));
109 if (reply.hdr.size != msg->reply_size &&
113 msg->reply_size, reply.hdr.size);
118 if (msg->reply_size > 0)
120 msg->reply_data, msg->reply_size);
124 msg->reply_error = ret;
136 u32 msg;
149 msg = hipci & HDA_DSP_REG_HIPCI_MSG_MASK;
153 "ipc: firmware response, msg:0x%x, msg_ext:0x%x\n",
154 msg, msg_ext);
175 snd_sof_ipc_reply(sdev, msg);
187 msg = hipct & HDA_DSP_REG_HIPCT_MSG_MASK;
191 "ipc: firmware initiated, msg:0x%x, msg_ext:0x%x\n",
192 msg, msg_ext);