Lines Matching refs:ipc

312 	struct sst_generic_ipc ipc;  member
560 msg = sst_ipc_reply_find_msg(&hsw->ipc, header); in hsw_process_reply()
571 hsw->ipc.pending = true; in hsw_process_reply()
578 hsw->ipc.pending = false; in hsw_process_reply()
634 sst_ipc_tx_msg_reply_complete(&hsw->ipc, msg); in hsw_process_reply()
775 struct sst_generic_ipc *ipc = &hsw->ipc; in hsw_irq_thread() local
822 queue_kthread_work(&ipc->kworker, &ipc->kwork); in hsw_irq_thread()
832 ret = sst_ipc_tx_message_wait(&hsw->ipc, in sst_hsw_fw_get_version()
897 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, req, in sst_hsw_stream_set_volume()
963 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, &req, in sst_hsw_mixer_set_volume()
1022 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, &stream->free_req, in sst_hsw_stream_free()
1214 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, str_req, in sst_hsw_stream_commit()
1264 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, NULL, 0, in sst_hsw_mixer_get_info()
1286 return sst_ipc_tx_message_wait(&hsw->ipc, header, in sst_hsw_stream_operations()
1289 return sst_ipc_tx_message_nowait(&hsw->ipc, header, NULL, 0); in sst_hsw_stream_operations()
1416 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, &config, in sst_hsw_device_set_config()
1437 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, &state_, in sst_hsw_dx_set_state()
1660 sst_ipc_drop_all(&hsw->ipc); in sst_hsw_dsp_runtime_suspend()
1952 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, in sst_hsw_module_enable()
1991 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, NULL, 0, NULL, 0); in sst_hsw_module_disable()
2045 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, in sst_hsw_module_set_param()
2064 static void hsw_tx_msg(struct sst_generic_ipc *ipc, struct ipc_message *msg) in hsw_tx_msg() argument
2067 sst_dsp_outbox_write(ipc->dsp, msg->tx_data, msg->tx_size); in hsw_tx_msg()
2068 sst_dsp_ipc_msg_tx(ipc->dsp, msg->header); in hsw_tx_msg()
2071 static void hsw_shim_dbg(struct sst_generic_ipc *ipc, const char *text) in hsw_shim_dbg() argument
2073 struct sst_dsp *sst = ipc->dsp; in hsw_shim_dbg()
2081 dev_err(ipc->dev, in hsw_shim_dbg()
2105 struct sst_generic_ipc *ipc; in sst_hsw_dsp_init() local
2114 ipc = &hsw->ipc; in sst_hsw_dsp_init()
2115 ipc->dev = dev; in sst_hsw_dsp_init()
2116 ipc->ops.tx_msg = hsw_tx_msg; in sst_hsw_dsp_init()
2117 ipc->ops.shim_dbg = hsw_shim_dbg; in sst_hsw_dsp_init()
2118 ipc->ops.tx_data_copy = hsw_tx_data_copy; in sst_hsw_dsp_init()
2119 ipc->ops.reply_msg_match = hsw_reply_msg_match; in sst_hsw_dsp_init()
2121 ret = sst_ipc_init(ipc); in sst_hsw_dsp_init()
2136 ipc->dsp = hsw->dsp; in sst_hsw_dsp_init()
2202 sst_ipc_fini(ipc); in sst_hsw_dsp_init()
2217 sst_ipc_fini(&hsw->ipc); in sst_hsw_dsp_free()