Lines Matching +full:audio +full:- +full:widgets

1 // SPDX-License-Identifier: GPL-2.0+
3 // Littlemill audio support
8 #include <sound/soc-dapm.h>
25 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]); in littlemill_set_bias_level()
28 if (dapm->dev != aif1_dai->dev) in littlemill_set_bias_level()
37 if (dapm->bias_level == SND_SOC_BIAS_STANDBY) { in littlemill_set_bias_level()
72 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]); in littlemill_set_bias_level_post()
75 if (dapm->dev != aif1_dai->dev) in littlemill_set_bias_level_post()
99 dapm->bias_level = level; in littlemill_set_bias_level_post()
146 DAILINK_COMP_ARRAY(COMP_CPU("samsung-i2s.0")),
147 DAILINK_COMP_ARRAY(COMP_CODEC("wm8994-codec", "wm8994-aif1")),
148 DAILINK_COMP_ARRAY(COMP_PLATFORM("samsung-i2s.0")));
151 DAILINK_COMP_ARRAY(COMP_CPU("wm8994-aif2")),
152 DAILINK_COMP_ARRAY(COMP_CODEC("wm1250-ev1.1-0027",
153 "wm1250-ev1")));
178 struct snd_soc_card *card = w->dapm->card; in bbclk_ev()
183 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[1]); in bbclk_ev()
220 return -EINVAL; in bbclk_ev()
231 static struct snd_soc_dapm_widget widgets[] = { variable
237 SND_SOC_DAPM_SUPPLY_S("Baseband Clock", -1, SND_SOC_NOPM, 0, 0,
266 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]); in littlemill_late_probe()
267 component = asoc_rtd_to_codec(rtd, 0)->component; in littlemill_late_probe()
270 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[1]); in littlemill_late_probe()
312 .dapm_widgets = widgets,
313 .num_dapm_widgets = ARRAY_SIZE(widgets),
325 card->dev = &pdev->dev; in littlemill_probe()
327 ret = devm_snd_soc_register_card(&pdev->dev, card); in littlemill_probe()
328 if (ret && ret != -EPROBE_DEFER) in littlemill_probe()
329 dev_err(&pdev->dev, "snd_soc_register_card() failed: %d\n", in littlemill_probe()
345 MODULE_DESCRIPTION("Littlemill audio support");