Lines Matching refs:ipc
316 struct sst_generic_ipc ipc; member
564 msg = sst_ipc_reply_find_msg(&hsw->ipc, header); in hsw_process_reply()
575 hsw->ipc.pending = true; in hsw_process_reply()
582 hsw->ipc.pending = false; in hsw_process_reply()
638 sst_ipc_tx_msg_reply_complete(&hsw->ipc, msg); in hsw_process_reply()
779 struct sst_generic_ipc *ipc = &hsw->ipc; in hsw_irq_thread() local
826 queue_kthread_work(&ipc->kworker, &ipc->kwork); in hsw_irq_thread()
836 ret = sst_ipc_tx_message_wait(&hsw->ipc, in sst_hsw_fw_get_version()
901 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, req, in sst_hsw_stream_set_volume()
967 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, &req, in sst_hsw_mixer_set_volume()
1026 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, &stream->free_req, in sst_hsw_stream_free()
1218 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, str_req, in sst_hsw_stream_commit()
1268 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, NULL, 0, in sst_hsw_mixer_get_info()
1290 return sst_ipc_tx_message_wait(&hsw->ipc, header, in sst_hsw_stream_operations()
1293 return sst_ipc_tx_message_nowait(&hsw->ipc, header, NULL, 0); in sst_hsw_stream_operations()
1420 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, &config, in sst_hsw_device_set_config()
1441 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, &state_, in sst_hsw_dx_set_state()
1664 sst_ipc_drop_all(&hsw->ipc); in sst_hsw_dsp_runtime_suspend()
1956 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, in sst_hsw_module_enable()
1995 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, NULL, 0, NULL, 0); in sst_hsw_module_disable()
2049 ret = sst_ipc_tx_message_wait(&hsw->ipc, header, in sst_hsw_module_set_param()
2068 static void hsw_tx_msg(struct sst_generic_ipc *ipc, struct ipc_message *msg) in hsw_tx_msg() argument
2071 sst_dsp_outbox_write(ipc->dsp, msg->tx_data, msg->tx_size); in hsw_tx_msg()
2072 sst_dsp_ipc_msg_tx(ipc->dsp, msg->header); in hsw_tx_msg()
2075 static void hsw_shim_dbg(struct sst_generic_ipc *ipc, const char *text) in hsw_shim_dbg() argument
2077 struct sst_dsp *sst = ipc->dsp; in hsw_shim_dbg()
2085 dev_err(ipc->dev, in hsw_shim_dbg()
2117 struct sst_generic_ipc *ipc; in sst_hsw_dsp_init() local
2128 ipc = &hsw->ipc; in sst_hsw_dsp_init()
2129 ipc->dev = dev; in sst_hsw_dsp_init()
2130 ipc->ops.tx_msg = hsw_tx_msg; in sst_hsw_dsp_init()
2131 ipc->ops.shim_dbg = hsw_shim_dbg; in sst_hsw_dsp_init()
2132 ipc->ops.tx_data_copy = hsw_tx_data_copy; in sst_hsw_dsp_init()
2133 ipc->ops.reply_msg_match = hsw_reply_msg_match; in sst_hsw_dsp_init()
2134 ipc->ops.is_dsp_busy = hsw_is_dsp_busy; in sst_hsw_dsp_init()
2136 ipc->tx_data_max_size = IPC_MAX_MAILBOX_BYTES; in sst_hsw_dsp_init()
2137 ipc->rx_data_max_size = IPC_MAX_MAILBOX_BYTES; in sst_hsw_dsp_init()
2139 ret = sst_ipc_init(ipc); in sst_hsw_dsp_init()
2154 ipc->dsp = hsw->dsp; in sst_hsw_dsp_init()
2220 sst_ipc_fini(ipc); in sst_hsw_dsp_init()
2235 sst_ipc_fini(&hsw->ipc); in sst_hsw_dsp_free()