Searched refs:codec_dev (Results 1 - 25 of 30) sorted by last modified time

12

/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 Dfsl-asoc-card.c551 struct device *codec_dev = NULL; local
586 codec_dev = &codec_i2c->dev;
589 if (!codec_dev) {
592 codec_dev = &codec_pdev->dev;
603 if (codec_dev) {
604 struct clk *codec_clk = clk_get(codec_dev, NULL);
711 if (codec_dev)
712 priv->codec_priv.mclk = devm_clk_get(codec_dev, NULL);
756 if (!fsl_asoc_card_is_ac97(priv) && !codec_dev) {
/linux-master/sound/soc/codecs/
H A Drt5645.c3931 static void rt5645_get_pdata(struct device *codec_dev, struct rt5645_platform_data *pdata) argument
3937 dev_info(codec_dev, "Detected %s platform\n", dmi_data->ident);
3939 } else if (rt5645_check_dp(codec_dev)) {
3940 rt5645_parse_dt(codec_dev, pdata);
3956 const char *rt5645_components(struct device *codec_dev) argument
3963 rt5645_get_pdata(codec_dev, &pdata);
H A Drt5645.h2205 const char *rt5645_components(struct device *codec_dev);
/linux-master/drivers/platform/x86/x86-android-tablets/
H A Dlenovo.c489 struct device *codec_dev; local
493 codec_dev = bus_find_device_by_name(&spi_bus_type, NULL,
495 if (!codec_dev) {
504 pinctrl = pinctrl_get_select(codec_dev, "codec_32khz_clk");
506 ret = dev_err_probe(codec_dev, PTR_ERR(pinctrl), "selecting codec_32khz_clk\n");
510 /* We're done with the codec_dev now */
511 put_device(codec_dev);
519 put_device(codec_dev);
/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.c602 if (dp->codec_dev)
603 dp->plugged_cb(dp->codec_dev, plugged);
873 struct device *codec_dev)
879 dp->codec_dev = codec_dev;
871 cdn_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/msm/dp/
H A Ddp_display.c606 if (dp_display->plugged_cb && dp_display->codec_dev &&
608 dp_display->plugged_cb(dp_display->codec_dev, plugged);
895 hdmi_codec_plugged_cb fn, struct device *codec_dev)
900 dp_display->codec_dev = codec_dev;
894 dp_display_set_plugged_cb(struct msm_dp *dp_display, hdmi_codec_plugged_cb fn, struct device *codec_dev) argument
H A Ddp_display.h18 struct device *codec_dev; member in struct:msm_dp
35 hdmi_codec_plugged_cb fn, struct device *codec_dev);
H A Ddp_audio.c377 struct device *codec_dev)
395 return dp_display_set_plugged_cb(dp_display, fn, codec_dev);
375 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/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/synopsys/
H A Ddw-hdmi.c199 struct device *codec_dev; member in struct:dw_hdmi
227 if (hdmi->plugged_cb && hdmi->codec_dev)
228 hdmi->plugged_cb(hdmi->codec_dev, plugged);
232 struct device *codec_dev)
238 hdmi->codec_dev = codec_dev;
231 dw_hdmi_set_plugged_cb(struct dw_hdmi *hdmi, hdmi_codec_plugged_cb fn, struct device *codec_dev) argument
/linux-master/drivers/gpu/drm/bridge/
H A Dite-it6505.c454 struct device *codec_dev; member in struct:it6505
2260 if (it6505->plugged_cb && it6505->codec_dev)
2261 it6505->plugged_cb(it6505->codec_dev,
2857 struct device *codec_dev)
2862 it6505->codec_dev = codec_dev;
2854 it6505_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.c1978 if (ctx->plugged_cb && ctx->codec_dev) {
1979 ctx->plugged_cb(ctx->codec_dev,
1986 struct device *codec_dev)
1991 ctx->codec_dev = codec_dev;
1984 anx7625_audio_hook_plugged_cb(struct device *dev, void *data, hdmi_codec_plugged_cb fn, struct device *codec_dev) argument
H A Danx7625.h470 struct device *codec_dev; member in struct:anx7625_data
/linux-master/sound/soc/intel/boards/
H A Dbytcr_rt5640.c104 struct device *codec_dev; member in struct:byt_rt5640_private
1420 rt5640_jack_gpio.gpiod_dev = priv->codec_dev;
1428 rt5640_jack2_gpio.gpiod_dev = priv->codec_dev;
1651 struct device *codec_dev; local
1688 codec_dev = acpi_get_first_physical_node(adev);
1690 if (!codec_dev)
1692 priv->codec_dev = get_device(codec_dev);
1769 acpi_dev_add_driver_gpios(ACPI_COMPANION(priv->codec_dev),
1772 priv->hsmic_detect = devm_fwnode_gpiod_get(dev, codec_dev
[all...]
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);
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 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 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...]
/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/sound/
H A Dhdmi-codec.h116 struct device *codec_dev);
/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...]

Completed in 658 milliseconds

12