Lines Matching refs:component
81 static int hda_codec_register_dais(struct hda_codec *codec, struct snd_soc_component *component) in hda_codec_register_dais() argument
97 dapm = snd_soc_component_get_dapm(component); in hda_codec_register_dais()
102 dai = snd_soc_register_dai(component, drvs, false); in hda_codec_register_dais()
104 dev_err(component->dev, "register dai for %s failed\n", pcm->name); in hda_codec_register_dais()
110 dev_err(component->dev, "create widgets failed: %d\n", ret); in hda_codec_register_dais()
123 struct snd_soc_component *component) in hda_codec_unregister_dais() argument
128 for_each_component_dais_safe(component, dai, save) { in hda_codec_unregister_dais()
171 static int hda_codec_probe(struct snd_soc_component *component) in hda_codec_probe() argument
173 struct hda_codec *codec = dev_to_hda_codec(component->dev); in hda_codec_probe()
196 ret = snd_hda_codec_device_new(codec->bus, component->card->snd_card, hdev->addr, codec, in hda_codec_probe()
234 ret = hda_codec_register_dais(codec, component); in hda_codec_probe()
251 hda_codec_unregister_dais(codec, component); in hda_codec_probe()
269 static void hda_codec_remove(struct snd_soc_component *component) in hda_codec_remove() argument
271 struct hda_codec *codec = dev_to_hda_codec(component->dev); in hda_codec_remove()
280 hda_codec_unregister_dais(codec, component); in hda_codec_remove()