Home
last modified time | relevance | path

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

/Linux-v5.4/sound/soc/codecs/
Dhdac_hda.c277 struct hda_codec *hcodec = &hda_pvt->codec; in snd_soc_find_pcm_from_dai() local
292 dev_err(&hcodec->core.dev, "invalid dai id %d\n", dai->id); in snd_soc_find_pcm_from_dai()
296 list_for_each_entry(cpcm, &hcodec->pcm_list_head, list) { in snd_soc_find_pcm_from_dai()
301 dev_err(&hcodec->core.dev, "didn't find PCM for DAI %s\n", dai->name); in snd_soc_find_pcm_from_dai()
312 struct hda_codec *hcodec = &hda_pvt->codec; in hdac_hda_codec_probe() local
325 ret = snd_hda_codec_device_new(hcodec->bus, component->card->snd_card, in hdac_hda_codec_probe()
326 hdev->addr, hcodec); in hdac_hda_codec_probe()
344 hcodec->bus->card = dapm->card->snd_card; in hdac_hda_codec_probe()
346 ret = snd_hda_codec_set_name(hcodec, hcodec->preset->name); in hdac_hda_codec_probe()
348 dev_err(&hdev->dev, "name failed %s\n", hcodec->preset->name); in hdac_hda_codec_probe()
[all …]