Searched refs:codec_dev (Results 1 - 25 of 30) sorted by relevance

12

/linux-master/drivers/gpu/drm/msm/dp/
H A Ddp_display.h18 struct device *codec_dev; member in struct:msm_dp
38 hdmi_codec_plugged_cb fn, struct device *codec_dev);
H A Ddp_audio.c391 struct device *codec_dev)
409 return dp_display_set_plugged_cb(dp_display, fn, codec_dev);
389 dp_audio_hook_plugged_cb(struct device *dev, void *data, hdmi_codec_plugged_cb fn, struct device *codec_dev) argument
H A Ddp_display.c613 if (dp_display->plugged_cb && dp_display->codec_dev &&
615 dp_display->plugged_cb(dp_display->codec_dev, plugged);
893 hdmi_codec_plugged_cb fn, struct device *codec_dev)
898 dp_display->codec_dev = codec_dev;
892 dp_display_set_plugged_cb(struct msm_dp *dp_display, hdmi_codec_plugged_cb fn, struct device *codec_dev) argument
/linux-master/sound/soc/amd/acp/acp3x-es83xx/
H A Dacp3x-es83xx.c37 struct device *codec_dev; member in struct:acp3x_es83xx_private
77 dev_dbg(priv->codec_dev, "using a 48Mhz MCLK\n");
80 dev_dbg(priv->codec_dev, "using a 12.288Mhz MCLK\n");
163 dev_dbg(priv->codec_dev, "headphone power event = %d\n", event);
180 dev_dbg(priv->codec_dev, "speaker power event: %d\n", event);
206 dev_dbg(priv->codec_dev, "card suspend\n");
218 dev_dbg(priv->codec_dev, "card resume\n");
242 dev_info(priv->codec_dev, "speaker gpio %d active %s, headphone gpio %d active %s\n",
266 dev_info(priv->codec_dev, "%s is %s\n",
296 ret = devm_acpi_dev_add_driver_gpios(priv->codec_dev, pri
407 struct device *codec_dev; local
[all...]
/linux-master/sound/soc/intel/boards/
H A Dbytcht_es8316.c41 struct device *codec_dev; member in struct:byt_cht_es8316_private
473 ret = es83xx_dsm(priv->codec_dev, PLATFORM_MAINMIC_TYPE_ARG, &val1);
477 ret = es83xx_dsm(priv->codec_dev, PLATFORM_HPMIC_TYPE_ARG, &val2);
486 dev_warn(priv->codec_dev, "Unknown mic settings mainmic 0x%02x hpmic 0x%02x\n",
491 ret = es83xx_dsm(priv->codec_dev, PLATFORM_SPK_TYPE_ARG, &val1);
502 dev_warn(priv->codec_dev, "Unknown speaker setting 0x%02x\n", val1);
506 ret = es83xx_dsm(priv->codec_dev, PLATFORM_HPDET_INV_ARG, &val1);
517 dev_warn(priv->codec_dev, "Unknown hpdet-inv setting 0x%02x\n", val1);
537 struct device *codec_dev; local
568 codec_dev
[all...]
H A Dsof_es8336.c61 struct device *codec_dev; member in struct:sof_es8336_private
600 struct device *codec_dev; local
687 codec_dev = acpi_get_first_physical_node(adev);
689 if (!codec_dev)
691 priv->codec_dev = get_device(codec_dev);
696 put_device(codec_dev);
706 put_device(codec_dev);
710 ret = device_add_software_node(codec_dev, to_software_node(fwnode));
715 put_device(codec_dev);
[all...]
H A Dbytcr_rt5651.c88 struct device *codec_dev; member in struct:byt_rt5651_private
896 struct device *codec_dev; local
932 codec_dev = acpi_get_first_physical_node(adev);
934 if (!codec_dev)
936 priv->codec_dev = get_device(codec_dev);
1004 ret_val = byt_rt5651_add_codec_device_props(codec_dev, priv);
1013 devm_acpi_dev_add_driver_gpios(codec_dev, byt_rt5651_gpios);
1014 priv->ext_amp_gpio = devm_fwnode_gpiod_get(dev, codec_dev->fwnode,
1031 priv->hp_detect = devm_fwnode_gpiod_get(dev, codec_dev
[all...]
H A Dbytcr_rt5640.c104 struct device *codec_dev; member in struct:byt_rt5640_private
1418 rt5640_jack_gpio.gpiod_dev = priv->codec_dev;
1426 rt5640_jack2_gpio.gpiod_dev = priv->codec_dev;
1649 struct device *codec_dev; local
1686 codec_dev = acpi_get_first_physical_node(adev);
1688 if (!codec_dev)
1690 priv->codec_dev = get_device(codec_dev);
1767 acpi_dev_add_driver_gpios(ACPI_COMPANION(priv->codec_dev),
1770 priv->hsmic_detect = devm_fwnode_gpiod_get(dev, codec_dev
[all...]
H A Dbytcr_wm5102.c532 struct device *codec_dev; local
562 codec_dev = bus_find_device_by_name(&spi_bus_type, NULL, codec_name);
563 if (!codec_dev)
566 /* Note no devm_ here since we call gpiod_get on codec_dev rather then dev */
567 priv->spkvdd_en_gpio = gpiod_get(codec_dev, "wlf,spkvdd-ena", GPIOD_OUT_LOW);
568 put_device(codec_dev);
H A Dcht_bsw_rt5645.c536 struct device *codec_dev; local
587 codec_dev = acpi_get_first_physical_node(adev);
589 if (!codec_dev)
592 snd_soc_card_chtrt5645.components = rt5645_components(codec_dev);
593 snd_soc_card_chtrt5650.components = rt5645_components(codec_dev);
/linux-master/sound/soc/fsl/
H A Dimx-rpmsg.c48 struct device *codec_dev = NULL; local
57 codec_dev = &codec_i2c->dev;
58 if (!codec_dev) {
61 codec_dev = &codec_pdev->dev;
64 if (codec_dev) {
65 codec_comp = snd_soc_lookup_component_nolocked(codec_dev, NULL);
81 codec_drv = codec_dev->driver;
92 put_device(codec_dev);
H A Dimx-sgtl5000.c56 struct i2c_client *codec_dev; local
113 codec_dev = of_find_i2c_device_by_node(codec_np);
114 if (!codec_dev) {
132 data->codec_clk = clk_get(&codec_dev->dev, NULL);
186 put_device(&codec_dev->dev);
H A Dfsl-asoc-card.c550 struct device *codec_dev = NULL; local
585 codec_dev = &codec_i2c->dev;
588 if (!codec_dev) {
591 codec_dev = &codec_pdev->dev;
602 if (codec_dev) {
603 struct clk *codec_clk = clk_get(codec_dev, NULL);
710 if (codec_dev)
711 priv->codec_priv.mclk = devm_clk_get(codec_dev, NULL);
749 if (!fsl_asoc_card_is_ac97(priv) && !codec_dev) {
/linux-master/sound/soc/amd/
H A Dacp-es8336.c34 static struct device *codec_dev; variable in typeref:struct:device
204 codec_dev = acpi_get_first_physical_node(adev);
206 if (!codec_dev)
209 ret = devm_acpi_dev_add_driver_gpios(codec_dev, acpi_es8336_gpios);
213 gpio_pa = gpiod_get_optional(codec_dev, "pa-enable", GPIOD_OUT_LOW);
217 put_device(codec_dev);
/linux-master/include/sound/
H A Dhdmi-codec.h116 struct device *codec_dev);
/linux-master/drivers/platform/x86/x86-android-tablets/
H A Dlenovo.c488 struct device *codec_dev; local
492 codec_dev = bus_find_device_by_name(&spi_bus_type, NULL,
494 if (!codec_dev) {
503 pinctrl = pinctrl_get_select(codec_dev, "codec_32khz_clk");
505 ret = dev_err_probe(codec_dev, PTR_ERR(pinctrl), "selecting codec_32khz_clk\n");
509 /* We're done with the codec_dev now */
510 put_device(codec_dev);
518 put_device(codec_dev);
/linux-master/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-gp-audio.c131 struct device *codec_dev)
135 return dw_hdmi_set_plugged_cb(dw->data.hdmi, fn, codec_dev);
129 audio_hook_plugged_cb(struct device *dev, void *data, hdmi_codec_plugged_cb fn, struct device *codec_dev) argument
H A Ddw-hdmi-i2s-audio.c172 struct device *codec_dev)
177 return dw_hdmi_set_plugged_cb(hdmi, fn, codec_dev);
170 dw_hdmi_i2s_hook_plugged_cb(struct device *dev, void *data, hdmi_codec_plugged_cb fn, struct device *codec_dev) argument
/linux-master/drivers/gpu/drm/rockchip/
H A Dcdn-dp-core.h107 struct device *codec_dev; member in struct:cdn_dp_device
H A Dcdn-dp-core.c597 if (dp->codec_dev)
598 dp->plugged_cb(dp->codec_dev, plugged);
868 struct device *codec_dev)
874 dp->codec_dev = codec_dev;
866 cdn_dp_audio_hook_plugged_cb(struct device *dev, void *data, hdmi_codec_plugged_cb fn, struct device *codec_dev) argument
/linux-master/drivers/staging/greybus/
H A Daudio_topology.c389 struct device *codec_dev = widget->dapm->dev; local
390 struct gbaudio_codec_info *gb = dev_get_drvdata(codec_dev);
393 dev_dbg(codec_dev, "Entered %s:%s\n", __func__, kcontrol->id.name);
416 dev_err_ratelimited(codec_dev, "%d:Error in %s for %s\n", ret,
438 struct device *codec_dev = widget->dapm->dev; local
439 struct gbaudio_codec_info *gb = dev_get_drvdata(codec_dev);
442 dev_dbg(codec_dev, "Entered %s:%s\n", __func__, kcontrol->id.name);
488 dev_err_ratelimited(codec_dev, "%d:Error in %s for %s\n", ret,
721 struct device *codec_dev = widget->dapm->dev; local
722 struct gbaudio_codec_info *gb = dev_get_drvdata(codec_dev);
768 struct device *codec_dev = widget->dapm->dev; local
933 struct device *codec_dev = w->dapm->dev; local
[all...]
/linux-master/include/drm/bridge/
H A Ddw_hdmi.h180 struct device *codec_dev);
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_hdmi.c181 struct device *codec_dev; member in struct:mtk_hdmi
1192 if (hdmi->plugged_cb && hdmi->codec_dev)
1193 hdmi->plugged_cb(hdmi->codec_dev, connected);
1653 struct device *codec_dev)
1659 hdmi->codec_dev = codec_dev;
1651 mtk_hdmi_audio_hook_plugged_cb(struct device *dev, void *data, hdmi_codec_plugged_cb fn, struct device *codec_dev) argument
H A Dmtk_dp.c134 struct device *codec_dev; member in struct:mtk_dp
2008 if (mtk_dp->plugged_cb && mtk_dp->codec_dev)
2009 mtk_dp->plugged_cb(mtk_dp->codec_dev,
2509 struct device *codec_dev)
2515 mtk_dp->codec_dev = codec_dev;
2507 mtk_dp_audio_hook_plugged_cb(struct device *dev, void *data, hdmi_codec_plugged_cb fn, struct device *codec_dev) argument
/linux-master/drivers/gpu/drm/bridge/analogix/
H A Danx7625.h470 struct device *codec_dev; member in struct:anx7625_data

Completed in 395 milliseconds

12