Home
last modified time | relevance | path

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

/drivers/gpu/drm/bridge/adv7511/
Dadv7511_audio.c220 adv7511->audio_pdev = platform_device_register_data(dev, in adv7511_audio_init()
225 return PTR_ERR_OR_ZERO(adv7511->audio_pdev); in adv7511_audio_init()
230 if (adv7511->audio_pdev) { in adv7511_audio_exit()
231 platform_device_unregister(adv7511->audio_pdev); in adv7511_audio_exit()
232 adv7511->audio_pdev = NULL; in adv7511_audio_exit()
Dadv7511.h371 struct platform_device *audio_pdev; member
/drivers/gpu/drm/msm/hdmi/
Dhdmi.c525 hdmi->audio_pdev = platform_device_register_data(dev, in msm_hdmi_register_audio_driver()
530 return PTR_ERR_OR_ZERO(hdmi->audio_pdev); in msm_hdmi_register_audio_driver()
598 hdmi->audio_pdev = NULL; in msm_hdmi_bind()
610 if (priv->hdmi->audio_pdev) in msm_hdmi_unbind()
611 platform_device_unregister(priv->hdmi->audio_pdev); in msm_hdmi_unbind()
Dhdmi.h42 struct platform_device *audio_pdev; member
/drivers/gpu/drm/omapdrm/dss/
Dhdmi5.c580 hdmi->audio_pdev = platform_device_register_data( in hdmi_audio_register()
584 if (IS_ERR(hdmi->audio_pdev)) in hdmi_audio_register()
585 return PTR_ERR(hdmi->audio_pdev); in hdmi_audio_register()
633 if (hdmi->audio_pdev) in hdmi5_unbind()
634 platform_device_unregister(hdmi->audio_pdev); in hdmi5_unbind()
Dhdmi4.c586 hdmi->audio_pdev = platform_device_register_data( in hdmi_audio_register()
590 if (IS_ERR(hdmi->audio_pdev)) in hdmi_audio_register()
591 return PTR_ERR(hdmi->audio_pdev); in hdmi_audio_register()
648 if (hdmi->audio_pdev) in hdmi4_unbind()
649 platform_device_unregister(hdmi->audio_pdev); in hdmi4_unbind()
Dhdmi.h368 struct platform_device *audio_pdev; member
/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi5.c692 hdmi.audio_pdev = platform_device_register_data( in hdmi_audio_register()
696 if (IS_ERR(hdmi.audio_pdev)) in hdmi_audio_register()
697 return PTR_ERR(hdmi.audio_pdev); in hdmi_audio_register()
781 if (hdmi.audio_pdev) in hdmi5_unbind()
782 platform_device_unregister(hdmi.audio_pdev); in hdmi5_unbind()
Dhdmi4.c661 hdmi.audio_pdev = platform_device_register_data( in hdmi_audio_register()
665 return PTR_ERR_OR_ZERO(hdmi.audio_pdev); in hdmi_audio_register()
742 if (hdmi.audio_pdev) in hdmi4_unbind()
743 platform_device_unregister(hdmi.audio_pdev); in hdmi4_unbind()
Dhdmi.h347 struct platform_device *audio_pdev; member
/drivers/gpu/drm/zte/
Dzx_hdmi.c49 struct platform_device *audio_pdev; member
493 hdmi->audio_pdev = pdev; in zx_hdmi_audio_register()
728 if (hdmi->audio_pdev) in zx_hdmi_unbind()
729 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.c1241 hdmi->audio_pdev = platform_device_register_data( in sti_hdmi_register_audio_driver()
1245 if (IS_ERR(hdmi->audio_pdev)) in sti_hdmi_register_audio_driver()
1246 return PTR_ERR(hdmi->audio_pdev); in sti_hdmi_register_audio_driver()
1465 if (hdmi->audio_pdev) in sti_hdmi_remove()
1466 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()
1197 platform_device_unregister(dp->audio_pdev); in cdn_dp_remove()
/drivers/gpu/drm/i2c/
Dtda998x_drv.c66 struct platform_device *audio_pdev; member
1179 priv->audio_pdev = platform_device_register_data( in tda998x_audio_codec_init()
1183 return PTR_ERR_OR_ZERO(priv->audio_pdev); in tda998x_audio_codec_init()
1782 if (priv->audio_pdev) in tda998x_destroy()
1783 platform_device_unregister(priv->audio_pdev); in tda998x_destroy()