Lines Matching refs:ipc

182 	struct sst_generic_ipc ipc;  member
254 msg = sst_ipc_reply_find_msg(&byt->ipc, header); in sst_byt_process_reply()
268 sst_ipc_tx_msg_reply_complete(&byt->ipc, msg); in sst_byt_process_reply()
315 struct sst_generic_ipc *ipc = &byt->ipc; in sst_byt_irq_thread() local
347 queue_kthread_work(&ipc->kworker, &ipc->kwork); in sst_byt_irq_thread()
434 ret = sst_ipc_tx_message_wait(&byt->ipc, header, str_req, in sst_byt_stream_commit()
458 ret = sst_ipc_tx_message_wait(&byt->ipc, header, NULL, 0, NULL, 0); in sst_byt_stream_free()
482 return sst_ipc_tx_message_wait(&byt->ipc, header, NULL, in sst_byt_stream_operations()
485 return sst_ipc_tx_message_nowait(&byt->ipc, header, in sst_byt_stream_operations()
506 ret = sst_ipc_tx_message_nowait(&byt->ipc, header, tx_msg, size); in sst_byt_stream_start()
587 sst_ipc_drop_all(&byt->ipc); in sst_byt_dsp_suspend_late()
640 static void byt_tx_msg(struct sst_generic_ipc *ipc, struct ipc_message *msg) in byt_tx_msg() argument
643 sst_dsp_outbox_write(ipc->dsp, msg->tx_data, msg->tx_size); in byt_tx_msg()
645 sst_dsp_shim_write64_unlocked(ipc->dsp, SST_IPCX, msg->header); in byt_tx_msg()
648 static void byt_shim_dbg(struct sst_generic_ipc *ipc, const char *text) in byt_shim_dbg() argument
650 struct sst_dsp *sst = ipc->dsp; in byt_shim_dbg()
658 dev_err(ipc->dev, in byt_shim_dbg()
685 struct sst_generic_ipc *ipc; in sst_byt_dsp_init() local
696 ipc = &byt->ipc; in sst_byt_dsp_init()
697 ipc->dev = dev; in sst_byt_dsp_init()
698 ipc->ops.tx_msg = byt_tx_msg; in sst_byt_dsp_init()
699 ipc->ops.shim_dbg = byt_shim_dbg; in sst_byt_dsp_init()
700 ipc->ops.tx_data_copy = byt_tx_data_copy; in sst_byt_dsp_init()
701 ipc->ops.reply_msg_match = byt_reply_msg_match; in sst_byt_dsp_init()
703 err = sst_ipc_init(ipc); in sst_byt_dsp_init()
718 ipc->dsp = byt->dsp; in sst_byt_dsp_init()
760 sst_ipc_fini(ipc); in sst_byt_dsp_init()
774 sst_ipc_fini(&byt->ipc); in sst_byt_dsp_free()