Lines Matching refs:sst
220 int sst_prepare_and_post_msg(struct intel_sst_drv *sst, in sst_prepare_and_post_msg() argument
230 pvt_id = sst_assign_pvt_id(sst); in sst_prepare_and_post_msg()
236 &msg, large, sst, &block, ipc_msg, pvt_id); in sst_prepare_and_post_msg()
241 test_and_clear_bit(pvt_id, &sst->pvt_id); in sst_prepare_and_post_msg()
245 dev_dbg(sst->dev, "pvt_id = %d, pipe id = %d, task = %d ipc_msg: %d\n", in sst_prepare_and_post_msg()
251 dev_dbg(sst->dev, "header:%x\n", in sst_prepare_and_post_msg()
253 dev_dbg(sst->dev, "response rqd: %x", in sst_prepare_and_post_msg()
255 dev_dbg(sst->dev, "msg->mrfld_header.p.header_low_payload:%d", in sst_prepare_and_post_msg()
267 sst->ops->post_message(sst, msg, true); in sst_prepare_and_post_msg()
269 sst_add_to_dispatch_list_and_post(sst, msg); in sst_prepare_and_post_msg()
272 ret = sst_wait_timeout(sst, block); in sst_prepare_and_post_msg()
286 sst_free_block(sst, block); in sst_prepare_and_post_msg()
287 test_and_clear_bit(pvt_id, &sst->pvt_id); in sst_prepare_and_post_msg()
397 void sst_add_to_dispatch_list_and_post(struct intel_sst_drv *sst, in sst_add_to_dispatch_list_and_post() argument
402 spin_lock_irqsave(&sst->ipc_spin_lock, irq_flags); in sst_add_to_dispatch_list_and_post()
403 list_add_tail(&msg->node, &sst->ipc_dispatch_list); in sst_add_to_dispatch_list_and_post()
404 spin_unlock_irqrestore(&sst->ipc_spin_lock, irq_flags); in sst_add_to_dispatch_list_and_post()
405 sst->ops->post_message(sst, NULL, false); in sst_add_to_dispatch_list_and_post()