Home
last modified time | relevance | path

Searched refs:dsp_ipc (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/firmware/imx/
Dimx-dsp.c62 struct mbox_chan *imx_dsp_request_channel(struct imx_dsp_ipc *dsp_ipc, int idx) in imx_dsp_request_channel() argument
69 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() argument
82 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() argument
89 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 …]
/Linux-v6.6/sound/soc/sof/imx/
Dimx8m.c54 struct imx_dsp_ipc *dsp_ipc; member
109 imx_dsp_ring_doorbell(priv->dsp_ipc, 0); in imx8m_send_msg()
181 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in imx8m_probe()
182 if (!priv->dsp_ipc) { in imx8m_probe()
189 imx_dsp_set_data(priv->dsp_ipc, priv); in imx8m_probe()
190 priv->dsp_ipc->ops = &imx8m_dsp_ops; in imx8m_probe()
339 imx_dsp_request_channel(priv->dsp_ipc, i); in imx8m_resume()
350 imx_dsp_free_channel(priv->dsp_ipc, i); in imx8m_suspend()
Dimx8ulp.c55 struct imx_dsp_ipc *dsp_ipc; member
122 imx_dsp_ring_doorbell(priv->dsp_ipc, 0); in imx8ulp_send_msg()
198 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in imx8ulp_probe()
199 if (!priv->dsp_ipc) { in imx8ulp_probe()
206 imx_dsp_set_data(priv->dsp_ipc, priv); in imx8ulp_probe()
207 priv->dsp_ipc->ops = &dsp_ops; in imx8ulp_probe()
306 imx_dsp_free_channel(priv->dsp_ipc, i); in imx8ulp_suspend()
321 imx_dsp_request_channel(priv->dsp_ipc, i); in imx8ulp_resume()
Dimx8.c56 struct imx_dsp_ipc *dsp_ipc; member
116 imx_dsp_ring_doorbell(priv->dsp_ipc, 0); in imx8_send_msg()
258 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in imx8_probe()
259 if (!priv->dsp_ipc) { in imx8_probe()
266 imx_dsp_set_data(priv->dsp_ipc, priv); in imx8_probe()
267 priv->dsp_ipc->ops = &dsp_ops; in imx8_probe()
376 imx_dsp_free_channel(priv->dsp_ipc, i); in imx8_suspend()
392 imx_dsp_request_channel(priv->dsp_ipc, i); in imx8_resume()
/Linux-v6.6/sound/soc/sof/mediatek/mt8195/
Dmt8195.c49 return mtk_adsp_ipc_send(priv->dsp_ipc, MTK_ADSP_IPC_REQ, MTK_ADSP_IPC_OP_REQ); in mt8195_send_msg()
79 ret = mtk_adsp_ipc_send(priv->dsp_ipc, MTK_ADSP_IPC_RSP, MTK_ADSP_IPC_OP_RSP); in mt8195_dsp_handle_request()
364 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in mt8195_dsp_probe()
365 if (!priv->dsp_ipc) { in mt8195_dsp_probe()
371 mtk_adsp_ipc_set_data(priv->dsp_ipc, priv); in mt8195_dsp_probe()
372 priv->dsp_ipc->ops = &dsp_ops; in mt8195_dsp_probe()
/Linux-v6.6/sound/soc/sof/mediatek/mt8186/
Dmt8186.c49 return mtk_adsp_ipc_send(priv->dsp_ipc, MTK_ADSP_IPC_REQ, MTK_ADSP_IPC_OP_REQ); in mt8186_send_msg()
79 ret = mtk_adsp_ipc_send(priv->dsp_ipc, MTK_ADSP_IPC_RSP, MTK_ADSP_IPC_OP_RSP); in mt8186_dsp_handle_request()
373 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in mt8186_dsp_probe()
374 if (!priv->dsp_ipc) { in mt8186_dsp_probe()
380 mtk_adsp_ipc_set_data(priv->dsp_ipc, priv); in mt8186_dsp_probe()
381 priv->dsp_ipc->ops = &dsp_ops; in mt8186_dsp_probe()
/Linux-v6.6/sound/soc/sof/mediatek/
Dadsp_helper.h44 struct mtk_adsp_ipc *dsp_ipc; member