Home
last modified time | relevance | path

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

/linux/sound/soc/amd/
H A Dacp-es8336.c34 static struct device *codec_dev; variable
202 codec_dev = acpi_get_first_physical_node(adev); in st_es8336_late_probe()
204 if (!codec_dev) { in st_es8336_late_probe()
209 ret = devm_acpi_dev_add_driver_gpios(codec_dev, acpi_es8336_gpios); in st_es8336_late_probe()
213 gpio_pa = gpiod_get_optional(codec_dev, "pa-enable", GPIOD_OUT_LOW); in st_es8336_late_probe()
217 put_device(codec_dev); in st_es8336_late_probe()
/linux/sound/soc/fsl/
H A Dimx-sgtl5000.c56 struct i2c_client *codec_dev; in imx_sgtl5000_probe() local
113 codec_dev = of_find_i2c_device_by_node(codec_np); in imx_sgtl5000_probe()
114 if (!codec_dev) { in imx_sgtl5000_probe()
132 data->codec_clk = clk_get(&codec_dev->dev, NULL); in imx_sgtl5000_probe()
186 put_device(&codec_dev->dev); in imx_sgtl5000_probe()
H A Dfsl-asoc-card.c625 struct device *codec_dev[2] = { NULL, NULL }; in fsl_asoc_card_probe() local
669 codec_dev[codec_idx] = &codec_i2c->dev; in fsl_asoc_card_probe()
672 if (!codec_dev[codec_idx]) { in fsl_asoc_card_probe()
675 codec_dev[codec_idx] = &codec_pdev->dev; in fsl_asoc_card_probe()
688 if (codec_dev[codec_idx]) { in fsl_asoc_card_probe()
689 struct clk *codec_clk = clk_get(codec_dev[codec_idx], NULL); in fsl_asoc_card_probe()
831 if (codec_dev[0]) in fsl_asoc_card_probe()
832 priv->codec_priv[0].mclk = devm_clk_get(codec_dev[0], NULL); in fsl_asoc_card_probe()
892 if (!fsl_asoc_card_is_ac97(priv) && !codec_dev[0] in fsl_asoc_card_probe()
/linux/drivers/platform/x86/x86-android-tablets/
H A Dlenovo.c523 struct device *codec_dev; in lenovo_yoga_tab2_830_1050_init_codec() local
527 codec_dev = bus_find_device_by_name(&spi_bus_type, NULL, in lenovo_yoga_tab2_830_1050_init_codec()
529 if (!codec_dev) { in lenovo_yoga_tab2_830_1050_init_codec()
538 pinctrl = pinctrl_get_select(codec_dev, "codec_32khz_clk"); in lenovo_yoga_tab2_830_1050_init_codec()
540 ret = dev_err_probe(codec_dev, PTR_ERR(pinctrl), "selecting codec_32khz_clk\n"); in lenovo_yoga_tab2_830_1050_init_codec()
544 ret = device_add_software_node(codec_dev, &lenovo_yoga_tab2_830_1050_wm5102); in lenovo_yoga_tab2_830_1050_init_codec()
546 dev_err_probe(codec_dev, ret, "adding software node\n"); in lenovo_yoga_tab2_830_1050_init_codec()
550 lenovo_yoga_tab2_830_1050_codec_dev = codec_dev; in lenovo_yoga_tab2_830_1050_init_codec()
559 put_device(codec_dev); in lenovo_yoga_tab2_830_1050_init_codec()
/linux/drivers/gpu/drm/display/
H A Ddrm_hdmi_audio_helper.c98 struct device *codec_dev) in drm_connector_hdmi_audio_hook_plugged_cb() argument
105 connector->hdmi_audio.plugged_cb_dev = codec_dev; in drm_connector_hdmi_audio_hook_plugged_cb()
108 fn(codec_dev, connector->hdmi_audio.last_state); in drm_connector_hdmi_audio_hook_plugged_cb()
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_hdmi_common.h174 struct device *codec_dev; member
186 struct device *codec_dev);
H A Dmtk_hdmi_common.c193 struct device *codec_dev) in mtk_hdmi_audio_set_plugged_cb() argument
197 hdmi->codec_dev = codec_dev; in mtk_hdmi_audio_set_plugged_cb()
H A Dmtk_hdmi.c887 if (hdmi->plugged_cb && hdmi->codec_dev) in mtk_hdmi_update_plugged_status()
888 hdmi->plugged_cb(hdmi->codec_dev, connected); in mtk_hdmi_update_plugged_status()
1140 struct device *codec_dev) in mtk_hdmi_audio_hook_plugged_cb() argument
1144 mtk_hdmi_audio_set_plugged_cb(hdmi, fn, codec_dev); in mtk_hdmi_audio_hook_plugged_cb()
H A Dmtk_hdmi_v2.c987 if (hdmi->plugged_cb && hdmi->codec_dev) in mtk_hdmi_v2_handle_plugged_change()
988 hdmi->plugged_cb(hdmi->codec_dev, plugged); in mtk_hdmi_v2_handle_plugged_change()
1342 struct device *codec_dev) in mtk_hdmi_v2_audio_hook_plugged_cb() argument
1350 mtk_hdmi_audio_set_plugged_cb(hdmi, fn, codec_dev); in mtk_hdmi_v2_audio_hook_plugged_cb()
H A Dmtk_dp.c134 struct device *codec_dev; member
2115 if (mtk_dp->plugged_cb && mtk_dp->codec_dev) in mtk_dp_update_plugged_status()
2116 mtk_dp->plugged_cb(mtk_dp->codec_dev, in mtk_dp_update_plugged_status()
2632 struct device *codec_dev) in mtk_dp_audio_hook_plugged_cb() argument
2638 mtk_dp->codec_dev = codec_dev; in mtk_dp_audio_hook_plugged_cb()
/linux/sound/soc/intel/boards/
H A Dcht_bsw_rt5645.c532 struct device *codec_dev; in snd_cht_mc_probe() local
587 codec_dev = acpi_get_first_physical_node(adev); in snd_cht_mc_probe()
589 if (!codec_dev) in snd_cht_mc_probe()
592 snd_soc_card_chtrt5645.components = rt5645_components(codec_dev); in snd_cht_mc_probe()
593 snd_soc_card_chtrt5650.components = rt5645_components(codec_dev); in snd_cht_mc_probe()
/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-i2s-audio.c173 struct device *codec_dev) in dw_hdmi_i2s_hook_plugged_cb() argument
178 return dw_hdmi_set_plugged_cb(hdmi, fn, codec_dev); in dw_hdmi_i2s_hook_plugged_cb()
/linux/include/sound/
H A Dhdmi-codec.h117 struct device *codec_dev);
/linux/drivers/gpu/drm/bridge/analogix/
H A Danx7625.h464 struct device *codec_dev; member
H A Danx7625.c1974 if (ctx->plugged_cb && ctx->codec_dev) { in anx7625_audio_update_connector_status()
1975 ctx->plugged_cb(ctx->codec_dev, in anx7625_audio_update_connector_status()
1982 struct device *codec_dev) in anx7625_audio_hook_plugged_cb() argument
1987 ctx->codec_dev = codec_dev; in anx7625_audio_hook_plugged_cb()
/linux/sound/soc/codecs/
H A Drt5645.c3947 static void rt5645_get_pdata(struct device *codec_dev, struct rt5645_platform_data *pdata) in rt5645_get_pdata()
3953 dev_info(codec_dev, "Detected %s platform\n", dmi_data->ident); in rt5645_get_pdata()
3955 } else if (rt5645_check_dp(codec_dev)) { in rt5645_get_pdata()
3956 rt5645_parse_dt(codec_dev, pdata); in rt5645_get_pdata()
3972 const char *rt5645_components(struct device *codec_dev) in rt5645_components()
3979 rt5645_get_pdata(codec_dev, &pdata); in rt5645_components()
3946 rt5645_get_pdata(struct device * codec_dev,struct rt5645_platform_data * pdata) rt5645_get_pdata() argument
3971 rt5645_components(struct device * codec_dev) rt5645_components() argument
H A Drt5645.h2211 const char *rt5645_components(struct device *codec_dev);