Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/sound/soc/sof/imx/
Dimx8m.c48 struct imx_dsp_ipc *dsp_ipc; member
104 imx_dsp_ring_doorbell(priv->dsp_ipc, 0); in imx8m_send_msg()
172 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in imx8m_probe()
173 if (!priv->dsp_ipc) { in imx8m_probe()
180 imx_dsp_set_data(priv->dsp_ipc, priv); in imx8m_probe()
181 priv->dsp_ipc->ops = &imx8m_dsp_ops; in imx8m_probe()
338 imx_dsp_request_channel(priv->dsp_ipc, i); in imx8m_resume()
349 imx_dsp_free_channel(priv->dsp_ipc, i); in imx8m_suspend()
Dimx8ulp.c48 struct imx_dsp_ipc *dsp_ipc; member
116 imx_dsp_ring_doorbell(priv->dsp_ipc, 0); in imx8ulp_send_msg()
188 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in imx8ulp_probe()
189 if (!priv->dsp_ipc) { in imx8ulp_probe()
196 imx_dsp_set_data(priv->dsp_ipc, priv); in imx8ulp_probe()
197 priv->dsp_ipc->ops = &dsp_ops; in imx8ulp_probe()
296 imx_dsp_free_channel(priv->dsp_ipc, i); in imx8ulp_suspend()
315 imx_dsp_request_channel(priv->dsp_ipc, i); in imx8ulp_resume()
Dimx8.c49 struct imx_dsp_ipc *dsp_ipc; member
110 imx_dsp_ring_doorbell(priv->dsp_ipc, 0); in imx8_send_msg()
248 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in imx8_probe()
249 if (!priv->dsp_ipc) { in imx8_probe()
256 imx_dsp_set_data(priv->dsp_ipc, priv); in imx8_probe()
257 priv->dsp_ipc->ops = &dsp_ops; in imx8_probe()
365 imx_dsp_free_channel(priv->dsp_ipc, i); in imx8_suspend()
383 imx_dsp_request_channel(priv->dsp_ipc, i); in imx8_resume()
/linux-6.12.1/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()
315 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in mt8195_dsp_probe()
316 if (!priv->dsp_ipc) { in mt8195_dsp_probe()
322 mtk_adsp_ipc_set_data(priv->dsp_ipc, priv); in mt8195_dsp_probe()
323 priv->dsp_ipc->ops = &dsp_ops; in mt8195_dsp_probe()
/linux-6.12.1/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()
324 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in mt8186_dsp_probe()
325 if (!priv->dsp_ipc) { in mt8186_dsp_probe()
331 mtk_adsp_ipc_set_data(priv->dsp_ipc, priv); in mt8186_dsp_probe()
332 priv->dsp_ipc->ops = &dsp_ops; in mt8186_dsp_probe()
/linux-6.12.1/sound/soc/sof/mediatek/
Dadsp_helper.h40 struct mtk_adsp_ipc *dsp_ipc; member