Home
last modified time | relevance | path

Searched refs:codec_dev (Results 1 – 15 of 15) sorted by relevance

/drivers/platform/x86/x86-android-tablets/
Dlenovo.c462 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/
Daudio_topology.c389 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/
Ddp_display.h15 struct device *codec_dev; member
36 hdmi_codec_plugged_cb fn, struct device *codec_dev);
Ddp_audio.c462 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()
Ddp_display.c638 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/
Ddw-hdmi-gp-audio.c131 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()
Ddw-hdmi-i2s-audio.c172 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()
Ddw-hdmi.c198 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/
Dcdn-dp-core.h107 struct device *codec_dev; member
Dcdn-dp-core.c598 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/
Dmtk_hdmi.c181 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()
Dmtk_dp.c134 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/
Danx7625.h470 struct device *codec_dev; member
Danx7625.c1988 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/
Dite-it6505.c453 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()