Lines Matching full:sst

3  *  sst_pvt.c - Intel SST Driver for audio engine
27 #include "../sst-mfld-platform.h"
28 #include "sst.h"
145 * sst_create_block_and_ipc_msg - Creates IPC message and sst block
148 * @sst_drv_ctx: sst driver context
187 int sst_prepare_and_post_msg(struct intel_sst_drv *sst, in sst_prepare_and_post_msg() argument
197 pvt_id = sst_assign_pvt_id(sst); in sst_prepare_and_post_msg()
203 &msg, large, sst, &block, ipc_msg, pvt_id); in sst_prepare_and_post_msg()
208 test_and_clear_bit(pvt_id, &sst->pvt_id); in sst_prepare_and_post_msg()
212 dev_dbg(sst->dev, "pvt_id = %d, pipe id = %d, task = %d ipc_msg: %d\n", in sst_prepare_and_post_msg()
218 dev_dbg(sst->dev, "header:%x\n", in sst_prepare_and_post_msg()
220 dev_dbg(sst->dev, "response rqd: %x", in sst_prepare_and_post_msg()
222 dev_dbg(sst->dev, "msg->mrfld_header.p.header_low_payload:%d", in sst_prepare_and_post_msg()
234 sst->ops->post_message(sst, msg, true); in sst_prepare_and_post_msg()
236 sst_add_to_dispatch_list_and_post(sst, msg); in sst_prepare_and_post_msg()
239 ret = sst_wait_timeout(sst, block); in sst_prepare_and_post_msg()
253 sst_free_block(sst, block); in sst_prepare_and_post_msg()
254 test_and_clear_bit(pvt_id, &sst->pvt_id); in sst_prepare_and_post_msg()
325 "SST ERR: invalid stream id : %d, max %d\n", in sst_validate_strid()
363 void sst_add_to_dispatch_list_and_post(struct intel_sst_drv *sst, in sst_add_to_dispatch_list_and_post() argument
368 spin_lock_irqsave(&sst->ipc_spin_lock, irq_flags); in sst_add_to_dispatch_list_and_post()
369 list_add_tail(&msg->node, &sst->ipc_dispatch_list); in sst_add_to_dispatch_list_and_post()
370 spin_unlock_irqrestore(&sst->ipc_spin_lock, irq_flags); in sst_add_to_dispatch_list_and_post()
371 sst->ops->post_message(sst, NULL, false); in sst_add_to_dispatch_list_and_post()