Lines Matching refs:hdr
221 struct sof_ipc_cmd_hdr *hdr = msg->msg_data; in tx_wait_done() local
230 hdr->cmd, hdr->size); in tx_wait_done()
237 hdr->cmd, msg->reply_size); in tx_wait_done()
239 ipc_log_header(sdev->dev, "ipc tx succeeded", hdr->cmd); in tx_wait_done()
375 struct sof_ipc_cmd_hdr hdr; in snd_sof_ipc_msgs_rx() local
380 snd_sof_ipc_msg_data(sdev, NULL, &hdr, sizeof(hdr)); in snd_sof_ipc_msgs_rx()
381 ipc_log_header(sdev->dev, "ipc rx", hdr.cmd); in snd_sof_ipc_msgs_rx()
383 cmd = hdr.cmd & SOF_GLB_TYPE_MASK; in snd_sof_ipc_msgs_rx()
384 type = hdr.cmd & SOF_CMD_TYPE_MASK; in snd_sof_ipc_msgs_rx()
411 ipc_stream_message(sdev, hdr.cmd); in snd_sof_ipc_msgs_rx()
421 ipc_log_header(sdev->dev, "ipc rx done", hdr.cmd); in snd_sof_ipc_msgs_rx()
539 stream.hdr.size = sizeof(stream); in snd_sof_ipc_stream_posn()
540 stream.hdr.cmd = SOF_IPC_GLB_STREAM_MSG | SOF_IPC_STREAM_POSITION; in snd_sof_ipc_stream_posn()
545 stream.hdr.cmd, &stream, sizeof(stream), posn, in snd_sof_ipc_stream_posn()
631 partdata->rhdr.hdr.size = sparams->hdr_bytes + send_bytes; in sof_set_get_large_ctrl_data()
640 partdata->rhdr.hdr.cmd, in sof_set_get_large_ctrl_data()
642 partdata->rhdr.hdr.size, in sof_set_get_large_ctrl_data()
644 partdata->rhdr.hdr.size); in sof_set_get_large_ctrl_data()
695 cdata->rhdr.hdr.cmd = SOF_IPC_GLB_COMP_MSG | ipc_cmd; in snd_sof_ipc_set_get_comp_data()
728 cdata->rhdr.hdr.size = sparams.msg_bytes + sparams.hdr_bytes; in snd_sof_ipc_set_get_comp_data()
733 if (cdata->rhdr.hdr.size <= SOF_IPC_MSG_MAX_SIZE) { in snd_sof_ipc_set_get_comp_data()
734 err = sof_ipc_tx_message(sdev->ipc, cdata->rhdr.hdr.cmd, cdata, in snd_sof_ipc_set_get_comp_data()
735 cdata->rhdr.hdr.size, cdata, in snd_sof_ipc_set_get_comp_data()
736 cdata->rhdr.hdr.size); in snd_sof_ipc_set_get_comp_data()
747 cdata->rhdr.hdr.size, scontrol->size); in snd_sof_ipc_set_get_comp_data()