Home
last modified time | relevance | path

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

/sound/soc/intel/boards/
Dbytcht_es8316.c477 struct device *codec_dev; in snd_byt_cht_es8316_mc_probe() local
549 codec_dev = bus_find_device_by_name(&i2c_bus_type, NULL, codec_name); in snd_byt_cht_es8316_mc_probe()
550 if (!codec_dev) in snd_byt_cht_es8316_mc_probe()
557 ret = device_add_properties(codec_dev, props); in snd_byt_cht_es8316_mc_probe()
559 put_device(codec_dev); in snd_byt_cht_es8316_mc_probe()
564 devm_acpi_dev_add_driver_gpios(codec_dev, byt_cht_es8316_gpios); in snd_byt_cht_es8316_mc_probe()
566 gpiod_get_index(codec_dev, "speaker-enable", 0, in snd_byt_cht_es8316_mc_probe()
569 put_device(codec_dev); in snd_byt_cht_es8316_mc_probe()
Dbytcr_rt5651.c891 struct device *codec_dev; in snd_byt_rt5651_mc_probe() local
928 codec_dev = bus_find_device_by_name(&i2c_bus_type, NULL, in snd_byt_rt5651_mc_probe()
931 if (!codec_dev) in snd_byt_rt5651_mc_probe()
1000 ret_val = byt_rt5651_add_codec_device_props(codec_dev); in snd_byt_rt5651_mc_probe()
1002 put_device(codec_dev); in snd_byt_rt5651_mc_probe()
1011 devm_acpi_dev_add_driver_gpios(codec_dev, byt_rt5651_gpios); in snd_byt_rt5651_mc_probe()
1014 codec_dev->fwnode, in snd_byt_rt5651_mc_probe()
1027 put_device(codec_dev); in snd_byt_rt5651_mc_probe()
1033 codec_dev->fwnode, in snd_byt_rt5651_mc_probe()
1046 put_device(codec_dev); in snd_byt_rt5651_mc_probe()
[all …]
/sound/soc/fsl/
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()
188 put_device(&codec_dev->dev); in imx_sgtl5000_probe()
Dfsl-asoc-card.c488 struct i2c_client *codec_dev; in fsl_asoc_card_probe() local
516 codec_dev = of_find_i2c_device_by_node(codec_np); in fsl_asoc_card_probe()
518 codec_dev = NULL; in fsl_asoc_card_probe()
525 if (codec_dev) { in fsl_asoc_card_probe()
526 struct clk *codec_clk = clk_get(&codec_dev->dev, NULL); in fsl_asoc_card_probe()
582 if (!fsl_asoc_card_is_ac97(priv) && !codec_dev) { in fsl_asoc_card_probe()
606 codec_dev->name); in fsl_asoc_card_probe()