Lines Matching refs:ipc
234 ret = skl_ipc_set_dx(&cnl->ipc, CNL_INSTANCE_ID, in cnl_set_dsp_D0()
261 ret = skl_ipc_set_dx(&cnl->ipc, CNL_INSTANCE_ID, in cnl_set_dsp_D3()
316 struct sst_generic_ipc *ipc = &cnl->ipc; in cnl_dsp_irq_thread_handler() local
356 skl_ipc_process_reply(ipc, header); in cnl_dsp_irq_thread_handler()
359 skl_ipc_process_notification(ipc, header); in cnl_dsp_irq_thread_handler()
377 schedule_work(&ipc->kwork); in cnl_dsp_irq_thread_handler()
387 static void cnl_ipc_tx_msg(struct sst_generic_ipc *ipc, struct ipc_message *msg) in cnl_ipc_tx_msg() argument
392 sst_dsp_outbox_write(ipc->dsp, msg->tx.data, msg->tx.size); in cnl_ipc_tx_msg()
393 sst_dsp_shim_write_unlocked(ipc->dsp, CNL_ADSP_REG_HIPCIDD, in cnl_ipc_tx_msg()
395 sst_dsp_shim_write_unlocked(ipc->dsp, CNL_ADSP_REG_HIPCIDR, in cnl_ipc_tx_msg()
410 struct sst_generic_ipc *ipc; in cnl_ipc_init() local
413 ipc = &cnl->ipc; in cnl_ipc_init()
414 ipc->dsp = cnl->dsp; in cnl_ipc_init()
415 ipc->dev = dev; in cnl_ipc_init()
417 ipc->tx_data_max_size = CNL_ADSP_W1_SZ; in cnl_ipc_init()
418 ipc->rx_data_max_size = CNL_ADSP_W0_UP_SZ; in cnl_ipc_init()
420 err = sst_ipc_init(ipc); in cnl_ipc_init()
428 ipc->ops.tx_msg = cnl_ipc_tx_msg; in cnl_ipc_init()
429 ipc->ops.tx_data_copy = skl_ipc_tx_data_copy; in cnl_ipc_init()
430 ipc->ops.is_dsp_busy = cnl_ipc_is_dsp_busy; in cnl_ipc_init()
501 cnl_ipc_free(&skl->ipc); in cnl_sst_dsp_cleanup()