Home
last modified time | relevance | path

Searched refs:rpmsg_pdev (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/soc/fsl/
H A Dimx-audio-rpmsg.c14 struct platform_device *rpmsg_pdev; member
26 if (!rpmsg->rpmsg_pdev) in imx_audio_rpmsg_cb()
29 info = platform_get_drvdata(rpmsg->rpmsg_pdev); in imx_audio_rpmsg_cb()
89 data->rpmsg_pdev = platform_device_register_data(&rpdev->dev, in imx_audio_rpmsg_probe()
93 if (IS_ERR(data->rpmsg_pdev)) { in imx_audio_rpmsg_probe()
95 ret = PTR_ERR(data->rpmsg_pdev); in imx_audio_rpmsg_probe()
105 if (data->rpmsg_pdev) in imx_audio_rpmsg_remove()
106 platform_device_unregister(data->rpmsg_pdev); in imx_audio_rpmsg_remove()
H A Dimx-rpmsg.c58 struct platform_device *rpmsg_pdev = to_platform_device(dev); in imx_rpmsg_probe() local
59 struct device_node *np = rpmsg_pdev->dev.of_node; in imx_rpmsg_probe()
118 data->dai.cpus->dai_name = dev_name(&rpmsg_pdev->dev); in imx_rpmsg_probe()