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()
693 struct sst_generic_ipc *ipc; in sst_byt_dsp_init() local
706 ipc = &byt->ipc; in sst_byt_dsp_init()
707 ipc->dev = dev; in sst_byt_dsp_init()
708 ipc->ops.tx_msg = byt_tx_msg; in sst_byt_dsp_init()
709 ipc->ops.shim_dbg = byt_shim_dbg; in sst_byt_dsp_init()
710 ipc->ops.tx_data_copy = byt_tx_data_copy; in sst_byt_dsp_init()
711 ipc->ops.reply_msg_match = byt_reply_msg_match; in sst_byt_dsp_init()
712 ipc->ops.is_dsp_busy = byt_is_dsp_busy; in sst_byt_dsp_init()
713 ipc->tx_data_max_size = IPC_MAX_MAILBOX_BYTES; in sst_byt_dsp_init()
714 ipc->rx_data_max_size = IPC_MAX_MAILBOX_BYTES; in sst_byt_dsp_init()
716 err = sst_ipc_init(ipc); in sst_byt_dsp_init()
731 ipc->dsp = byt->dsp; in sst_byt_dsp_init()
773 sst_ipc_fini(ipc); in sst_byt_dsp_init()
787 sst_ipc_fini(&byt->ipc); in sst_byt_dsp_free()