Home
last modified time | relevance | path

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

/Linux-v6.1/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()
375 dev_err(&hcodec->core.dev, "didn't find PCM for DAI %s\n", dai->name); in snd_soc_find_pcm_from_dai()
379 static bool is_hdmi_codec(struct hda_codec *hcodec) in is_hdmi_codec() argument
383 list_for_each_entry(cpcm, &hcodec->pcm_list_head, list) { in is_hdmi_codec()
398 struct hda_codec *hcodec = hda_pvt->codec; in hdac_hda_codec_probe() local
420 ret = snd_hda_codec_device_new(hcodec->bus, component->card->snd_card, in hdac_hda_codec_probe()
421 hdev->addr, hcodec, true); in hdac_hda_codec_probe()
439 hcodec->bus->card = dapm->card->snd_card; in hdac_hda_codec_probe()
[all …]
/Linux-v6.1/sound/soc/intel/boards/
Dhda_dsp_common.c48 struct hda_codec *hcodec; in hda_dsp_hdmi_build_controls() local
57 hcodec = hda_pvt->codec; in hda_dsp_hdmi_build_controls()
59 list_for_each_entry(hpcm, &hcodec->pcm_list_head, list) { in hda_dsp_hdmi_build_controls()
76 snd_hdac_display_power(hcodec->core.bus, in hda_dsp_hdmi_build_controls()
78 err = snd_hda_codec_build_controls(hcodec); in hda_dsp_hdmi_build_controls()
81 snd_hdac_display_power(hcodec->core.bus, in hda_dsp_hdmi_build_controls()