Lines Matching refs:msg_buf
18 typedef void (*ipc3_rx_callback)(struct snd_sof_dev *sdev, void *msg_buf);
934 static void ipc3_stream_message(struct snd_sof_dev *sdev, void *msg_buf) in ipc3_stream_message() argument
936 struct sof_ipc_cmd_hdr *hdr = msg_buf; in ipc3_stream_message()
955 static void ipc3_comp_notification(struct snd_sof_dev *sdev, void *msg_buf) in ipc3_comp_notification() argument
958 struct sof_ipc_cmd_hdr *hdr = msg_buf; in ipc3_comp_notification()
971 tplg_ops->control->update(sdev, msg_buf); in ipc3_comp_notification()
974 static void ipc3_trace_message(struct snd_sof_dev *sdev, void *msg_buf) in ipc3_trace_message() argument
976 struct sof_ipc_cmd_hdr *hdr = msg_buf; in ipc3_trace_message()
981 ipc3_dtrace_posn_update(sdev, msg_buf); in ipc3_trace_message()
989 void sof_ipc3_do_rx_work(struct snd_sof_dev *sdev, struct sof_ipc_cmd_hdr *hdr, void *msg_buf) in sof_ipc3_do_rx_work() argument
1043 rx_callback(sdev, msg_buf); in sof_ipc3_do_rx_work()
1046 sof_client_ipc_rx_dispatcher(sdev, msg_buf); in sof_ipc3_do_rx_work()
1056 void *msg_buf; in sof_ipc3_rx_msg() local
1072 msg_buf = kmalloc(hdr.size, GFP_KERNEL); in sof_ipc3_rx_msg()
1073 if (!msg_buf) in sof_ipc3_rx_msg()
1076 err = snd_sof_ipc_msg_data(sdev, NULL, msg_buf, hdr.size); in sof_ipc3_rx_msg()
1079 kfree(msg_buf); in sof_ipc3_rx_msg()
1083 sof_ipc3_do_rx_work(sdev, &hdr, msg_buf); in sof_ipc3_rx_msg()
1085 kfree(msg_buf); in sof_ipc3_rx_msg()