/drivers/platform/x86/x86-android-tablets/ |
D | lenovo.c | 462 struct device *codec_dev; in lenovo_yoga_tab2_830_1050_init_codec() local 466 codec_dev = bus_find_device_by_name(&spi_bus_type, NULL, in lenovo_yoga_tab2_830_1050_init_codec() 468 if (!codec_dev) { in lenovo_yoga_tab2_830_1050_init_codec() 477 pinctrl = pinctrl_get_select(codec_dev, "codec_32khz_clk"); in lenovo_yoga_tab2_830_1050_init_codec() 479 ret = dev_err_probe(codec_dev, PTR_ERR(pinctrl), "selecting codec_32khz_clk\n"); in lenovo_yoga_tab2_830_1050_init_codec() 484 put_device(codec_dev); in lenovo_yoga_tab2_830_1050_init_codec() 492 put_device(codec_dev); in lenovo_yoga_tab2_830_1050_init_codec()
|
/drivers/staging/greybus/ |
D | audio_topology.c | 389 struct device *codec_dev = widget->dapm->dev; in gbcodec_mixer_dapm_ctl_get() local 390 struct gbaudio_codec_info *gb = dev_get_drvdata(codec_dev); in gbcodec_mixer_dapm_ctl_get() 393 dev_dbg(codec_dev, "Entered %s:%s\n", __func__, kcontrol->id.name); in gbcodec_mixer_dapm_ctl_get() 416 dev_err_ratelimited(codec_dev, "%d:Error in %s for %s\n", ret, in gbcodec_mixer_dapm_ctl_get() 438 struct device *codec_dev = widget->dapm->dev; in gbcodec_mixer_dapm_ctl_put() local 439 struct gbaudio_codec_info *gb = dev_get_drvdata(codec_dev); in gbcodec_mixer_dapm_ctl_put() 442 dev_dbg(codec_dev, "Entered %s:%s\n", __func__, kcontrol->id.name); in gbcodec_mixer_dapm_ctl_put() 488 dev_err_ratelimited(codec_dev, "%d:Error in %s for %s\n", ret, in gbcodec_mixer_dapm_ctl_put() 721 struct device *codec_dev = widget->dapm->dev; in gbcodec_enum_dapm_ctl_get() local 722 struct gbaudio_codec_info *gb = dev_get_drvdata(codec_dev); in gbcodec_enum_dapm_ctl_get() [all …]
|
/drivers/gpu/drm/msm/dp/ |
D | dp_display.h | 15 struct device *codec_dev; member 36 hdmi_codec_plugged_cb fn, struct device *codec_dev);
|
D | dp_audio.c | 462 struct device *codec_dev) in dp_audio_hook_plugged_cb() argument 480 return dp_display_set_plugged_cb(dp_display, fn, codec_dev); in dp_audio_hook_plugged_cb()
|
D | dp_display.c | 638 if (dp_display->plugged_cb && dp_display->codec_dev && in dp_display_handle_plugged_change() 640 dp_display->plugged_cb(dp_display->codec_dev, plugged); in dp_display_handle_plugged_change() 929 hdmi_codec_plugged_cb fn, struct device *codec_dev) in dp_display_set_plugged_cb() argument 934 dp_display->codec_dev = codec_dev; in dp_display_set_plugged_cb()
|
/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi-gp-audio.c | 131 struct device *codec_dev) in audio_hook_plugged_cb() argument 135 return dw_hdmi_set_plugged_cb(dw->data.hdmi, fn, codec_dev); in audio_hook_plugged_cb()
|
D | dw-hdmi-i2s-audio.c | 172 struct device *codec_dev) in dw_hdmi_i2s_hook_plugged_cb() argument 177 return dw_hdmi_set_plugged_cb(hdmi, fn, codec_dev); in dw_hdmi_i2s_hook_plugged_cb()
|
D | dw-hdmi.c | 198 struct device *codec_dev; member 226 if (hdmi->plugged_cb && hdmi->codec_dev) in handle_plugged_change() 227 hdmi->plugged_cb(hdmi->codec_dev, plugged); in handle_plugged_change() 231 struct device *codec_dev) in dw_hdmi_set_plugged_cb() argument 237 hdmi->codec_dev = codec_dev; in dw_hdmi_set_plugged_cb()
|
/drivers/gpu/drm/rockchip/ |
D | cdn-dp-core.h | 107 struct device *codec_dev; member
|
D | cdn-dp-core.c | 598 if (dp->codec_dev) in cdn_dp_audio_handle_plugged_change() 599 dp->plugged_cb(dp->codec_dev, plugged); in cdn_dp_audio_handle_plugged_change() 869 struct device *codec_dev) in cdn_dp_audio_hook_plugged_cb() argument 875 dp->codec_dev = codec_dev; in cdn_dp_audio_hook_plugged_cb()
|
/drivers/gpu/drm/mediatek/ |
D | mtk_hdmi.c | 181 struct device *codec_dev; member 1192 if (hdmi->plugged_cb && hdmi->codec_dev) in mtk_hdmi_update_plugged_status() 1193 hdmi->plugged_cb(hdmi->codec_dev, connected); in mtk_hdmi_update_plugged_status() 1645 struct device *codec_dev) in mtk_hdmi_audio_hook_plugged_cb() argument 1651 hdmi->codec_dev = codec_dev; in mtk_hdmi_audio_hook_plugged_cb()
|
D | mtk_dp.c | 134 struct device *codec_dev; member 1993 if (mtk_dp->plugged_cb && mtk_dp->codec_dev) in mtk_dp_update_plugged_status() 1994 mtk_dp->plugged_cb(mtk_dp->codec_dev, in mtk_dp_update_plugged_status() 2500 struct device *codec_dev) in mtk_dp_audio_hook_plugged_cb() argument 2506 mtk_dp->codec_dev = codec_dev; in mtk_dp_audio_hook_plugged_cb()
|
/drivers/gpu/drm/bridge/analogix/ |
D | anx7625.h | 470 struct device *codec_dev; member
|
D | anx7625.c | 1988 if (ctx->plugged_cb && ctx->codec_dev) { in anx7625_audio_update_connector_status() 1989 ctx->plugged_cb(ctx->codec_dev, in anx7625_audio_update_connector_status() 1996 struct device *codec_dev) in anx7625_audio_hook_plugged_cb() argument 2001 ctx->codec_dev = codec_dev; in anx7625_audio_hook_plugged_cb()
|
/drivers/gpu/drm/bridge/ |
D | ite-it6505.c | 453 struct device *codec_dev; member 2264 if (it6505->plugged_cb && it6505->codec_dev) in it6505_plugged_status_to_codec() 2265 it6505->plugged_cb(it6505->codec_dev, in it6505_plugged_status_to_codec() 2881 struct device *codec_dev) in it6505_audio_hook_plugged_cb() argument 2886 it6505->codec_dev = codec_dev; in it6505_audio_hook_plugged_cb()
|