Home
last modified time | relevance | path

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

/Linux-v5.4/sound/soc/intel/boards/
Dbytcht_es8316.c469 struct device *codec_dev; in snd_byt_cht_es8316_mc_probe() local
541 codec_dev = bus_find_device_by_name(&i2c_bus_type, NULL, codec_name); in snd_byt_cht_es8316_mc_probe()
542 if (!codec_dev) in snd_byt_cht_es8316_mc_probe()
549 ret = device_add_properties(codec_dev, props); in snd_byt_cht_es8316_mc_probe()
554 devm_acpi_dev_add_driver_gpios(codec_dev, byt_cht_es8316_gpios); in snd_byt_cht_es8316_mc_probe()
556 gpiod_get_index(codec_dev, "speaker-enable", 0, in snd_byt_cht_es8316_mc_probe()
559 put_device(codec_dev); in snd_byt_cht_es8316_mc_probe()
Dbytcr_rt5651.c878 struct device *codec_dev; in snd_byt_rt5651_mc_probe() local
916 codec_dev = bus_find_device_by_name(&i2c_bus_type, NULL, in snd_byt_rt5651_mc_probe()
918 if (!codec_dev) in snd_byt_rt5651_mc_probe()
987 ret_val = byt_rt5651_add_codec_device_props(codec_dev); in snd_byt_rt5651_mc_probe()
989 put_device(codec_dev); in snd_byt_rt5651_mc_probe()
998 devm_acpi_dev_add_driver_gpios(codec_dev, byt_rt5651_gpios); in snd_byt_rt5651_mc_probe()
1001 codec_dev->fwnode, in snd_byt_rt5651_mc_probe()
1014 put_device(codec_dev); in snd_byt_rt5651_mc_probe()
1020 codec_dev->fwnode, in snd_byt_rt5651_mc_probe()
1033 put_device(codec_dev); in snd_byt_rt5651_mc_probe()
[all …]
/Linux-v5.4/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()
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()
/Linux-v5.4/include/sound/
Dhdmi-codec.h101 struct device *codec_dev);