Home
last modified time | relevance | path

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

/sound/soc/amd/acp/acp3x-es83xx/
A Dacp3x-es83xx.c38 struct device *codec_dev; member
78 dev_dbg(priv->codec_dev, "using a 48Mhz MCLK\n"); in acp3x_es83xx_codec_startup()
207 dev_dbg(priv->codec_dev, "card suspend\n"); in acp3x_es83xx_suspend_pre()
219 dev_dbg(priv->codec_dev, "card resume\n"); in acp3x_es83xx_resume_post()
267 dev_info(priv->codec_dev, "%s is %s\n", in acp3x_es83xx_configure_mics()
319 device_remove_software_node(priv->codec_dev); in acp3x_es83xx_init()
408 struct device *codec_dev; in acp3x_es83xx_probe() local
420 codec_dev = acpi_get_first_physical_node(adev); in acp3x_es83xx_probe()
422 if (!codec_dev) { in acp3x_es83xx_probe()
429 put_device(codec_dev); in acp3x_es83xx_probe()
[all …]
/sound/soc/intel/boards/
A Dbytcht_es8316.c41 struct device *codec_dev; member
533 struct device *codec_dev; in snd_byt_cht_es8316_mc_probe() local
566 if (!codec_dev) in snd_byt_cht_es8316_mc_probe()
568 priv->codec_dev = get_device(codec_dev); in snd_byt_cht_es8316_mc_probe()
577 put_device(codec_dev); in snd_byt_cht_es8316_mc_probe()
581 es83xx_dsm_dump(priv->codec_dev); in snd_byt_cht_es8316_mc_probe()
612 put_device(codec_dev); in snd_byt_cht_es8316_mc_probe()
622 put_device(codec_dev); in snd_byt_cht_es8316_mc_probe()
631 put_device(codec_dev); in snd_byt_cht_es8316_mc_probe()
689 put_device(priv->codec_dev); in snd_byt_cht_es8316_mc_probe()
[all …]
A Dsof_es8336.c61 struct device *codec_dev; member
598 struct device *codec_dev; in sof_es8336_probe() local
687 if (!codec_dev) in sof_es8336_probe()
689 priv->codec_dev = get_device(codec_dev); in sof_es8336_probe()
694 put_device(codec_dev); in sof_es8336_probe()
704 put_device(codec_dev); in sof_es8336_probe()
713 put_device(codec_dev); in sof_es8336_probe()
769 device_remove_software_node(priv->codec_dev); in sof_es8336_probe()
770 put_device(codec_dev); in sof_es8336_probe()
781 device_remove_software_node(priv->codec_dev); in sof_es8336_remove()
[all …]
A Dbytcr_rt5651.c88 struct device *codec_dev; member
892 struct device *codec_dev; in snd_byt_rt5651_mc_probe() local
928 codec_dev = acpi_get_first_physical_node(adev); in snd_byt_rt5651_mc_probe()
930 if (!codec_dev) in snd_byt_rt5651_mc_probe()
932 priv->codec_dev = get_device(codec_dev); in snd_byt_rt5651_mc_probe()
1000 ret_val = byt_rt5651_add_codec_device_props(codec_dev, priv); in snd_byt_rt5651_mc_probe()
1009 devm_acpi_dev_add_driver_gpios(codec_dev, byt_rt5651_gpios); in snd_byt_rt5651_mc_probe()
1121 device_remove_software_node(priv->codec_dev); in snd_byt_rt5651_mc_probe()
1123 put_device(priv->codec_dev); in snd_byt_rt5651_mc_probe()
1132 device_remove_software_node(priv->codec_dev); in snd_byt_rt5651_mc_remove()
[all …]
A Dbytcr_rt5640.c107 struct device *codec_dev; member
1704 struct device *codec_dev; in snd_byt_rt5640_mc_probe() local
1744 if (codec_dev) { in snd_byt_rt5640_mc_probe()
1745 priv->codec_dev = get_device(codec_dev); in snd_byt_rt5640_mc_probe()
1754 if (!codec_dev) in snd_byt_rt5640_mc_probe()
1757 if (!i2c_verify_client(codec_dev)) { in snd_byt_rt5640_mc_probe()
1760 put_device(codec_dev); in snd_byt_rt5640_mc_probe()
1768 priv->codec_dev = codec_dev; in snd_byt_rt5640_mc_probe()
1961 device_remove_software_node(priv->codec_dev); in snd_byt_rt5640_mc_probe()
1966 put_device(priv->codec_dev); in snd_byt_rt5640_mc_probe()
[all …]
A Dbytcr_wm5102.c528 struct device *codec_dev; in snd_byt_wm5102_mc_probe() local
558 codec_dev = bus_find_device_by_name(&spi_bus_type, NULL, codec_name); in snd_byt_wm5102_mc_probe()
559 if (!codec_dev) in snd_byt_wm5102_mc_probe()
563 priv->spkvdd_en_gpio = gpiod_get(codec_dev, "wlf,spkvdd-ena", GPIOD_OUT_LOW); in snd_byt_wm5102_mc_probe()
564 put_device(codec_dev); in snd_byt_wm5102_mc_probe()
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()
/sound/soc/fsl/
A Dimx-rpmsg.c46 struct device *codec_dev = NULL; in imx_rpmsg_late_probe() local
55 codec_dev = &codec_i2c->dev; in imx_rpmsg_late_probe()
56 if (!codec_dev) { in imx_rpmsg_late_probe()
59 codec_dev = &codec_pdev->dev; in imx_rpmsg_late_probe()
62 if (codec_dev) { in imx_rpmsg_late_probe()
63 codec_comp = snd_soc_lookup_component_nolocked(codec_dev, NULL); in imx_rpmsg_late_probe()
79 codec_drv = codec_dev->driver; in imx_rpmsg_late_probe()
90 put_device(codec_dev); in imx_rpmsg_late_probe()
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()
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()
/sound/soc/amd/
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()
/sound/soc/codecs/
A Drt5645.c3946 static void rt5645_get_pdata(struct device *codec_dev, struct rt5645_platform_data *pdata) in rt5645_get_pdata() argument
3952 dev_info(codec_dev, "Detected %s platform\n", dmi_data->ident); in rt5645_get_pdata()
3954 } else if (rt5645_check_dp(codec_dev)) { in rt5645_get_pdata()
3955 rt5645_parse_dt(codec_dev, pdata); in rt5645_get_pdata()
3971 const char *rt5645_components(struct device *codec_dev) in rt5645_components() argument
3978 rt5645_get_pdata(codec_dev, &pdata); in rt5645_components()
A Drt5645.h2211 const char *rt5645_components(struct device *codec_dev);

Completed in 87 milliseconds