Searched refs:dsp_ipc (Results 1 – 5 of 5) sorted by relevance
62 struct mbox_chan *imx_dsp_request_channel(struct imx_dsp_ipc *dsp_ipc, int idx) in imx_dsp_request_channel() argument69 dsp_chan = &dsp_ipc->chans[idx]; in imx_dsp_request_channel()75 void imx_dsp_free_channel(struct imx_dsp_ipc *dsp_ipc, int idx) in imx_dsp_free_channel() argument82 dsp_chan = &dsp_ipc->chans[idx]; in imx_dsp_free_channel()87 static int imx_dsp_setup_channels(struct imx_dsp_ipc *dsp_ipc) in imx_dsp_setup_channels() argument89 struct device *dev = dsp_ipc->dev; in imx_dsp_setup_channels()105 dsp_chan = &dsp_ipc->chans[i]; in imx_dsp_setup_channels()113 dsp_chan->ipc = dsp_ipc; in imx_dsp_setup_channels()131 dsp_chan = &dsp_ipc->chans[j]; in imx_dsp_setup_channels()142 struct imx_dsp_ipc *dsp_ipc; in imx_dsp_probe() local[all …]
261 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in mt8195_dsp_probe()262 if (!priv->dsp_ipc) { in mt8195_dsp_probe()268 mtk_adsp_ipc_set_data(priv->dsp_ipc, priv); in mt8195_dsp_probe()269 priv->dsp_ipc->ops = &dsp_ops; in mt8195_dsp_probe()
99 return mtk_adsp_ipc_send(priv->dsp_ipc, MTK_ADSP_IPC_REQ, MTK_ADSP_IPC_OP_REQ); in mtk_adsp_send_msg() 137 ret = mtk_adsp_ipc_send(priv->dsp_ipc, MTK_ADSP_IPC_RSP, MTK_ADSP_IPC_OP_RSP); in mtk_adsp_handle_request()
40 struct mtk_adsp_ipc *dsp_ipc; member
270 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in mt8186_dsp_probe()271 if (!priv->dsp_ipc) { in mt8186_dsp_probe()277 mtk_adsp_ipc_set_data(priv->dsp_ipc, priv); in mt8186_dsp_probe()278 priv->dsp_ipc->ops = &dsp_ops; in mt8186_dsp_probe()