Home
last modified time | relevance | path

Searched refs:ipc_dev (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/sound/soc/sof/imx/
Dimx8m.c55 struct platform_device *ipc_dev; member
175 priv->ipc_dev = platform_device_register_data(sdev->dev, "imx-dsp", in imx8m_probe()
178 if (IS_ERR(priv->ipc_dev)) in imx8m_probe()
179 return PTR_ERR(priv->ipc_dev); in imx8m_probe()
181 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in imx8m_probe()
268 platform_device_unregister(priv->ipc_dev); in imx8m_probe()
277 platform_device_unregister(priv->ipc_dev); in imx8m_remove()
Dimx8ulp.c56 struct platform_device *ipc_dev; member
192 priv->ipc_dev = platform_device_register_data(sdev->dev, "imx-dsp", in imx8ulp_probe()
195 if (IS_ERR(priv->ipc_dev)) in imx8ulp_probe()
196 return PTR_ERR(priv->ipc_dev); in imx8ulp_probe()
198 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in imx8ulp_probe()
276 platform_device_unregister(priv->ipc_dev); in imx8ulp_probe()
286 platform_device_unregister(priv->ipc_dev); in imx8ulp_remove()
Dimx8.c57 struct platform_device *ipc_dev; member
250 priv->ipc_dev = platform_device_register_data(sdev->dev, "imx-dsp", in imx8_probe()
253 if (IS_ERR(priv->ipc_dev)) { in imx8_probe()
254 ret = PTR_ERR(priv->ipc_dev); in imx8_probe()
258 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in imx8_probe()
331 platform_device_unregister(priv->ipc_dev); in imx8_probe()
347 platform_device_unregister(priv->ipc_dev); in imx8_remove()
/Linux-v6.6/sound/soc/sof/mediatek/mt8195/
Dmt8195.c355 priv->ipc_dev = platform_device_register_data(&pdev->dev, "mtk-adsp-ipc", in mt8195_dsp_probe()
358 if (IS_ERR(priv->ipc_dev)) { in mt8195_dsp_probe()
359 ret = PTR_ERR(priv->ipc_dev); in mt8195_dsp_probe()
364 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in mt8195_dsp_probe()
377 platform_device_unregister(priv->ipc_dev); in mt8195_dsp_probe()
396 platform_device_unregister(priv->ipc_dev); in mt8195_dsp_remove()
/Linux-v6.6/sound/soc/sof/mediatek/mt8186/
Dmt8186.c364 priv->ipc_dev = platform_device_register_data(&pdev->dev, "mtk-adsp-ipc", in mt8186_dsp_probe()
367 if (IS_ERR(priv->ipc_dev)) { in mt8186_dsp_probe()
368 ret = PTR_ERR(priv->ipc_dev); in mt8186_dsp_probe()
373 priv->dsp_ipc = dev_get_drvdata(&priv->ipc_dev->dev); in mt8186_dsp_probe()
386 platform_device_unregister(priv->ipc_dev); in mt8186_dsp_probe()
398 platform_device_unregister(priv->ipc_dev); in mt8186_dsp_remove()
/Linux-v6.6/sound/soc/sof/mediatek/
Dadsp_helper.h45 struct platform_device *ipc_dev; member