Searched refs:codec_dev (Results 1 – 4 of 4) sorted by relevance
/sound/soc/intel/boards/ |
D | bytcht_es8316.c | 470 struct device *codec_dev; in snd_byt_cht_es8316_mc_probe() local 542 codec_dev = bus_find_device_by_name(&i2c_bus_type, NULL, codec_name); in snd_byt_cht_es8316_mc_probe() 543 if (!codec_dev) in snd_byt_cht_es8316_mc_probe() 550 ret = device_add_properties(codec_dev, props); in snd_byt_cht_es8316_mc_probe() 555 devm_acpi_dev_add_driver_gpios(codec_dev, byt_cht_es8316_gpios); in snd_byt_cht_es8316_mc_probe() 557 gpiod_get_index(codec_dev, "speaker-enable", 0, in snd_byt_cht_es8316_mc_probe() 560 put_device(codec_dev); in snd_byt_cht_es8316_mc_probe()
|
D | bytcr_rt5651.c | 878 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 …]
|
/sound/soc/fsl/ |
D | imx-sgtl5000.c | 56 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()
|
D | fsl-asoc-card.c | 488 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()
|