Home
last modified time | relevance | path

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

/Linux-v5.10/sound/soc/codecs/
Dhdac_hda.c328 struct hda_codec *hcodec = &hda_pvt->codec; in snd_soc_find_pcm_from_dai() local
361 dev_err(&hcodec->core.dev, "invalid dai id %d\n", dai->id); in snd_soc_find_pcm_from_dai()
365 list_for_each_entry(cpcm, &hcodec->pcm_list_head, list) { in snd_soc_find_pcm_from_dai()
370 dev_err(&hcodec->core.dev, "didn't find PCM for DAI %s\n", dai->name); in snd_soc_find_pcm_from_dai()
374 static bool is_hdmi_codec(struct hda_codec *hcodec) in is_hdmi_codec() argument
378 list_for_each_entry(cpcm, &hcodec->pcm_list_head, list) { in is_hdmi_codec()
393 struct hda_codec *hcodec = &hda_pvt->codec; in hdac_hda_codec_probe() local
415 ret = snd_hda_codec_device_new(hcodec->bus, component->card->snd_card, in hdac_hda_codec_probe()
416 hdev->addr, hcodec); in hdac_hda_codec_probe()
434 hcodec->bus->card = dapm->card->snd_card; in hdac_hda_codec_probe()
[all …]
/Linux-v5.10/sound/soc/intel/boards/
Dhda_dsp_common.c47 struct hda_codec *hcodec; in hda_dsp_hdmi_build_controls() local
56 hcodec = &hda_pvt->codec; in hda_dsp_hdmi_build_controls()
58 list_for_each_entry(hpcm, &hcodec->pcm_list_head, list) { in hda_dsp_hdmi_build_controls()
75 snd_hdac_display_power(hcodec->core.bus, in hda_dsp_hdmi_build_controls()
77 err = snd_hda_codec_build_controls(hcodec); in hda_dsp_hdmi_build_controls()
80 snd_hdac_display_power(hcodec->core.bus, in hda_dsp_hdmi_build_controls()