Lines Matching refs:sst
229 int sst_prepare_and_post_msg(struct intel_sst_drv *sst, in sst_prepare_and_post_msg() argument
239 pvt_id = sst_assign_pvt_id(sst); in sst_prepare_and_post_msg()
245 &msg, large, sst, &block, ipc_msg, pvt_id); in sst_prepare_and_post_msg()
250 test_and_clear_bit(pvt_id, &sst->pvt_id); in sst_prepare_and_post_msg()
254 dev_dbg(sst->dev, "pvt_id = %d, pipe id = %d, task = %d ipc_msg: %d\n", in sst_prepare_and_post_msg()
260 dev_dbg(sst->dev, "header:%x\n", in sst_prepare_and_post_msg()
262 dev_dbg(sst->dev, "response rqd: %x", in sst_prepare_and_post_msg()
264 dev_dbg(sst->dev, "msg->mrfld_header.p.header_low_payload:%d", 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()
281 ret = sst_wait_timeout(sst, block); in sst_prepare_and_post_msg()
297 sst_free_block(sst, block); in sst_prepare_and_post_msg()
298 test_and_clear_bit(pvt_id, &sst->pvt_id); in sst_prepare_and_post_msg()
416 void sst_add_to_dispatch_list_and_post(struct intel_sst_drv *sst, in sst_add_to_dispatch_list_and_post() argument
421 spin_lock_irqsave(&sst->ipc_spin_lock, irq_flags); in sst_add_to_dispatch_list_and_post()
422 list_add_tail(&msg->node, &sst->ipc_dispatch_list); in sst_add_to_dispatch_list_and_post()
423 spin_unlock_irqrestore(&sst->ipc_spin_lock, irq_flags); in sst_add_to_dispatch_list_and_post()
424 sst->ops->post_message(sst, NULL, false); in sst_add_to_dispatch_list_and_post()