Lines Matching defs:msg
67 struct sof_ipc4_msg *data = sdev->ipc->msg.reply_data;
89 sdev->ipc->msg.rx_data = ¬ification_data;
91 sdev->ipc->msg.rx_data = NULL;
121 u32 msg;
133 msg = hipcida & CNL_DSP_REG_HIPCIDA_MSG_MASK;
135 trace_sof_intel_ipc_firmware_response(sdev, msg, msg_ext);
147 snd_sof_ipc_reply(sdev, msg);
154 msg);
162 msg = hipctdr & CNL_DSP_REG_HIPCTDR_MSG_MASK;
165 trace_sof_intel_ipc_firmware_initiated(sdev, msg, msg_ext);
217 * set done bit to ack dsp the msg has been
218 * processed and send reply msg to dsp
229 * set DONE bit - tell DSP we have received the reply msg
244 static bool cnl_compact_ipc_compress(struct snd_sof_ipc_msg *msg,
247 struct sof_ipc_pm_gate *pm_gate = msg->msg_data;
262 int cnl_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg)
265 struct sof_ipc4_msg *msg_data = msg->msg_data;
268 hdev->delayed_ipc_tx_msg = msg;
283 hda_dsp_ipc4_schedule_d0i3_work(hdev, msg);
288 int cnl_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg)
303 if (cnl_compact_ipc_compress(msg, &dr, &dd)) {
313 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data,
314 msg->msg_size);
318 hdr = msg->msg_data;
349 /* TODO: parse the raw msg */
370 /* TODO: parse the raw msg */