Home
last modified time | relevance | path

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

/Linux-v4.19/sound/soc/fsl/
Dimx-sgtl5000.c56 struct i2c_client *codec_dev; in imx_sgtl5000_probe() local
111 codec_dev = of_find_i2c_device_by_node(codec_np); in imx_sgtl5000_probe()
112 if (!codec_dev) { in imx_sgtl5000_probe()
123 data->codec_clk = clk_get(&codec_dev->dev, NULL); in imx_sgtl5000_probe()
Dfsl-asoc-card.c473 struct i2c_client *codec_dev; in fsl_asoc_card_probe() local
501 codec_dev = of_find_i2c_device_by_node(codec_np); in fsl_asoc_card_probe()
503 codec_dev = NULL; in fsl_asoc_card_probe()
510 if (codec_dev) { in fsl_asoc_card_probe()
511 struct clk *codec_clk = clk_get(&codec_dev->dev, NULL); in fsl_asoc_card_probe()
567 if (!fsl_asoc_card_is_ac97(priv) && !codec_dev) { in fsl_asoc_card_probe()
591 codec_dev->name); in fsl_asoc_card_probe()
/Linux-v4.19/sound/soc/intel/boards/
Dbytcr_rt5651.c877 struct device *codec_dev; in snd_byt_rt5651_mc_probe() local
913 codec_dev = bus_find_device_by_name(&i2c_bus_type, NULL, in snd_byt_rt5651_mc_probe()
915 if (!codec_dev) in snd_byt_rt5651_mc_probe()
981 ret_val = byt_rt5651_add_codec_device_props(codec_dev); in snd_byt_rt5651_mc_probe()
983 put_device(codec_dev); in snd_byt_rt5651_mc_probe()
989 snd_byt_rt5651_mc_add_amp_en_gpio_mapping(codec_dev); in snd_byt_rt5651_mc_probe()
992 codec_dev->fwnode, in snd_byt_rt5651_mc_probe()
1005 put_device(codec_dev); in snd_byt_rt5651_mc_probe()
1011 put_device(codec_dev); in snd_byt_rt5651_mc_probe()