Searched refs:codec_pdev (Results 1 – 3 of 3) sorted by relevance
567 struct platform_device *codec_pdev; in fsl_asoc_card_probe() local576 codec_pdev = of_find_device_by_node(codec_np); in fsl_asoc_card_probe()577 if (codec_pdev) { in fsl_asoc_card_probe()578 codec_dev = &codec_pdev->dev; in fsl_asoc_card_probe()579 codec_dev_name = codec_pdev->name; in fsl_asoc_card_probe()
108 struct platform_device *codec_pdev; member
2091 struct platform_device *codec_pdev; in vc4_hdmi_audio_init() local2138 codec_pdev = platform_device_register_data(dev, HDMI_CODEC_DRV_NAME, in vc4_hdmi_audio_init()2142 if (IS_ERR(codec_pdev)) { in vc4_hdmi_audio_init()2143 dev_err(dev, "Couldn't register the HDMI codec: %ld\n", PTR_ERR(codec_pdev)); in vc4_hdmi_audio_init()2144 return PTR_ERR(codec_pdev); in vc4_hdmi_audio_init()2146 vc4_hdmi->audio.codec_pdev = codec_pdev; in vc4_hdmi_audio_init()2160 dai_link->codecs->name = dev_name(&codec_pdev->dev); in vc4_hdmi_audio_init()2188 platform_device_unregister(vc4_hdmi->audio.codec_pdev); in vc4_hdmi_audio_exit()2189 vc4_hdmi->audio.codec_pdev = NULL; in vc4_hdmi_audio_exit()