Home
last modified time | relevance | path

Searched refs:audio_pdev (Results 1 – 18 of 18) sorted by relevance

/drivers/gpu/drm/bridge/adv7511/
Dadv7511_audio.c236 adv7511->audio_pdev = platform_device_register_data(dev, in adv7511_audio_init()
241 return PTR_ERR_OR_ZERO(adv7511->audio_pdev); in adv7511_audio_init()
246 if (adv7511->audio_pdev) { in adv7511_audio_exit()
247 platform_device_unregister(adv7511->audio_pdev); in adv7511_audio_exit()
248 adv7511->audio_pdev = NULL; in adv7511_audio_exit()
Dadv7511.h373 struct platform_device *audio_pdev; member
/drivers/gpu/drm/msm/dp/
Ddp_audio.c27 struct platform_device *audio_pdev; member
586 if (audio_priv->audio_pdev) { in dp_unregister_audio_driver()
587 platform_device_unregister(audio_priv->audio_pdev); in dp_unregister_audio_driver()
588 audio_priv->audio_pdev = NULL; in dp_unregister_audio_driver()
600 audio_priv->audio_pdev = platform_device_register_data(dev, in dp_register_audio_driver()
605 return PTR_ERR_OR_ZERO(audio_priv->audio_pdev); in dp_register_audio_driver()
/drivers/gpu/drm/msm/hdmi/
Dhdmi.c547 hdmi->audio_pdev = platform_device_register_data(dev, in msm_hdmi_register_audio_driver()
552 return PTR_ERR_OR_ZERO(hdmi->audio_pdev); in msm_hdmi_register_audio_driver()
584 hdmi->audio_pdev = NULL; in msm_hdmi_bind()
596 if (priv->hdmi->audio_pdev) in msm_hdmi_unbind()
597 platform_device_unregister(priv->hdmi->audio_pdev); in msm_hdmi_unbind()
Dhdmi.h36 struct platform_device *audio_pdev; member
/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi5.c693 hdmi.audio_pdev = platform_device_register_data( in hdmi_audio_register()
697 if (IS_ERR(hdmi.audio_pdev)) in hdmi_audio_register()
698 return PTR_ERR(hdmi.audio_pdev); in hdmi_audio_register()
782 if (hdmi.audio_pdev) in hdmi5_unbind()
783 platform_device_unregister(hdmi.audio_pdev); in hdmi5_unbind()
Dhdmi4.c660 hdmi.audio_pdev = platform_device_register_data( in hdmi_audio_register()
664 return PTR_ERR_OR_ZERO(hdmi.audio_pdev); in hdmi_audio_register()
741 if (hdmi.audio_pdev) in hdmi4_unbind()
742 platform_device_unregister(hdmi.audio_pdev); in hdmi4_unbind()
Dhdmi.h347 struct platform_device *audio_pdev; member
/drivers/gpu/drm/omapdrm/dss/
Dhdmi5.c604 hdmi->audio_pdev = platform_device_register_data( in hdmi_audio_register()
608 if (IS_ERR(hdmi->audio_pdev)) in hdmi_audio_register()
609 return PTR_ERR(hdmi->audio_pdev); in hdmi_audio_register()
657 if (hdmi->audio_pdev) in hdmi5_unbind()
658 platform_device_unregister(hdmi->audio_pdev); in hdmi5_unbind()
Dhdmi4.c620 hdmi->audio_pdev = platform_device_register_data( in hdmi_audio_register()
624 if (IS_ERR(hdmi->audio_pdev)) in hdmi_audio_register()
625 return PTR_ERR(hdmi->audio_pdev); in hdmi_audio_register()
682 if (hdmi->audio_pdev) in hdmi4_unbind()
683 platform_device_unregister(hdmi->audio_pdev); in hdmi4_unbind()
Dhdmi.h370 struct platform_device *audio_pdev; member
/drivers/gpu/drm/bridge/
Dlontium-lt9611.c42 struct platform_device *audio_pdev; member
1107 lt9611->audio_pdev = in lt9611_audio_init()
1112 return PTR_ERR_OR_ZERO(lt9611->audio_pdev); in lt9611_audio_init()
1117 if (lt9611->audio_pdev) { in lt9611_audio_exit()
1118 platform_device_unregister(lt9611->audio_pdev); in lt9611_audio_exit()
1119 lt9611->audio_pdev = NULL; in lt9611_audio_exit()
/drivers/gpu/drm/zte/
Dzx_hdmi.c50 struct platform_device *audio_pdev; member
492 hdmi->audio_pdev = pdev; in zx_hdmi_audio_register()
727 if (hdmi->audio_pdev) in zx_hdmi_unbind()
728 platform_device_unregister(hdmi->audio_pdev); in zx_hdmi_unbind()
/drivers/gpu/drm/sti/
Dsti_hdmi.h93 struct platform_device *audio_pdev; member
Dsti_hdmi.c1242 hdmi->audio_pdev = platform_device_register_data( in sti_hdmi_register_audio_driver()
1246 if (IS_ERR(hdmi->audio_pdev)) in sti_hdmi_register_audio_driver()
1247 return PTR_ERR(hdmi->audio_pdev); in sti_hdmi_register_audio_driver()
1472 if (hdmi->audio_pdev) in sti_hdmi_remove()
1473 platform_device_unregister(hdmi->audio_pdev); in sti_hdmi_remove()
/drivers/gpu/drm/rockchip/
Dcdn-dp-core.h70 struct platform_device *audio_pdev; member
Dcdn-dp-core.c869 dp->audio_pdev = platform_device_register_data( in cdn_dp_audio_codec_init()
873 return PTR_ERR_OR_ZERO(dp->audio_pdev); in cdn_dp_audio_codec_init()
1200 platform_device_unregister(dp->audio_pdev); in cdn_dp_probe()
1208 platform_device_unregister(dp->audio_pdev); in cdn_dp_remove()
/drivers/gpu/drm/i2c/
Dtda998x_drv.c68 struct platform_device *audio_pdev; member
1183 priv->audio_pdev = platform_device_register_data( in tda998x_audio_codec_init()
1187 return PTR_ERR_OR_ZERO(priv->audio_pdev); in tda998x_audio_codec_init()
1793 if (priv->audio_pdev) in tda998x_destroy()
1794 platform_device_unregister(priv->audio_pdev); in tda998x_destroy()