Lines Matching refs:msg
167 struct ipc_post *msg; in sst_create_ipc_msg() local
169 msg = kzalloc(sizeof(struct ipc_post), GFP_ATOMIC); in sst_create_ipc_msg()
170 if (!msg) in sst_create_ipc_msg()
173 msg->mailbox_data = kzalloc(SST_MAILBOX_SIZE, GFP_ATOMIC); in sst_create_ipc_msg()
174 if (!msg->mailbox_data) { in sst_create_ipc_msg()
175 kfree(msg); in sst_create_ipc_msg()
179 msg->mailbox_data = NULL; in sst_create_ipc_msg()
181 msg->is_large = large; in sst_create_ipc_msg()
182 *arg = msg; in sst_create_ipc_msg()
234 struct ipc_post *msg = NULL; in sst_prepare_and_post_msg() local
245 &msg, large, sst, &block, ipc_msg, pvt_id); in sst_prepare_and_post_msg()
247 ret = sst_create_ipc_msg(&msg, large); in sst_prepare_and_post_msg()
256 sst_fill_header_mrfld(&msg->mrfld_header, ipc_msg, in sst_prepare_and_post_msg()
258 msg->mrfld_header.p.header_low_payload = sizeof(dsp_hdr) + mbox_data_len; in sst_prepare_and_post_msg()
259 msg->mrfld_header.p.header_high.part.res_rqd = !sync; in sst_prepare_and_post_msg()
261 msg->mrfld_header.p.header_high.full); in sst_prepare_and_post_msg()
263 msg->mrfld_header.p.header_high.part.res_rqd); in sst_prepare_and_post_msg()
265 msg->mrfld_header.p.header_low_payload); in sst_prepare_and_post_msg()
268 memcpy(msg->mailbox_data, &dsp_hdr, sizeof(dsp_hdr)); in sst_prepare_and_post_msg()
270 memcpy(msg->mailbox_data + sizeof(dsp_hdr), in sst_prepare_and_post_msg()
276 sst->ops->post_message(sst, msg, true); in sst_prepare_and_post_msg()
278 sst_add_to_dispatch_list_and_post(sst, msg); in sst_prepare_and_post_msg()
314 int msg, int task_id, int large, int drv_id) in sst_fill_header_mrfld() argument
317 header->p.header_high.part.msg_id = msg; in sst_fill_header_mrfld()
326 void sst_fill_header_dsp(struct ipc_dsp_hdr *dsp, int msg, in sst_fill_header_dsp() argument
329 dsp->cmd_id = msg; in sst_fill_header_dsp()
417 struct ipc_post *msg) in sst_add_to_dispatch_list_and_post() argument
422 list_add_tail(&msg->node, &sst->ipc_dispatch_list); in sst_add_to_dispatch_list_and_post()