Lines Matching refs:msg

30 	struct sst_block *msg;  in sst_create_block()  local
33 msg = kzalloc(sizeof(*msg), GFP_KERNEL); in sst_create_block()
34 if (!msg) in sst_create_block()
36 msg->condition = false; in sst_create_block()
37 msg->on = true; in sst_create_block()
38 msg->msg_id = msg_id; in sst_create_block()
39 msg->drv_id = drv_id; in sst_create_block()
41 list_add_tail(&msg->node, &ctx->block_list); in sst_create_block()
44 return msg; in sst_create_block()
117 struct ipc_post *msg = ipc_msg; in sst_post_message_mrfld() local
154 msg = list_entry(sst_drv_ctx->ipc_dispatch_list.next, in sst_post_message_mrfld()
156 list_del(&msg->node); in sst_post_message_mrfld()
159 msg->mrfld_header.p.header_high.full); in sst_post_message_mrfld()
161 msg->mrfld_header.p.header_low_payload); in sst_post_message_mrfld()
163 if (msg->mrfld_header.p.header_high.part.large) in sst_post_message_mrfld()
165 msg->mailbox_data, in sst_post_message_mrfld()
166 msg->mrfld_header.p.header_low_payload); in sst_post_message_mrfld()
168 sst_shim_write64(sst_drv_ctx->shim, SST_IPCX, msg->mrfld_header.full); in sst_post_message_mrfld()
172 kfree(msg->mailbox_data); in sst_post_message_mrfld()
173 kfree(msg); in sst_post_message_mrfld()
215 void *msg) in process_fw_init() argument
218 (struct ipc_header_fw_init *)msg; in process_fw_init()
248 struct ipc_post *msg) in process_fw_async_msg() argument
257 msg_low = msg->mrfld_header.p.header_low_payload; in process_fw_async_msg()
258 msg_id = ((struct ipc_dsp_hdr *)msg->mailbox_data)->cmd_id; in process_fw_async_msg()
259 data_offset = (msg->mailbox_data + sizeof(struct ipc_dsp_hdr)); in process_fw_async_msg()
264 pipe_id = ((struct ipc_dsp_hdr *)msg->mailbox_data)->pipe_id; in process_fw_async_msg()
282 pipe_id = ((struct ipc_dsp_hdr *)msg->mailbox_data)->pipe_id; in process_fw_async_msg()
303 pipe_id = ((struct ipc_dsp_hdr *)msg->mailbox_data)->pipe_id; in process_fw_async_msg()
318 struct ipc_post *msg) in sst_process_reply_mrfld() argument
326 msg_high = msg->mrfld_header.p.header_high; in sst_process_reply_mrfld()
327 msg_low = msg->mrfld_header.p.header_low_payload; in sst_process_reply_mrfld()
330 msg->mrfld_header.p.header_high.full, in sst_process_reply_mrfld()
331 msg->mrfld_header.p.header_low_payload); in sst_process_reply_mrfld()
338 process_fw_async_msg(sst_drv_ctx, msg); in sst_process_reply_mrfld()
358 data = kmemdup((void *)msg->mailbox_data, msg_low, GFP_KERNEL); in sst_process_reply_mrfld()