Lines Matching full:pcm
11 #include <sound/pcm.h>
25 struct skl_hda_hdmi_pcm *pcm; in skl_hda_hdmi_add_pcm() local
28 pcm = devm_kzalloc(card->dev, sizeof(*pcm), GFP_KERNEL); in skl_hda_hdmi_add_pcm()
29 if (!pcm) in skl_hda_hdmi_add_pcm()
34 pcm->codec_dai = snd_soc_card_get_codec_dai(card, dai_name); in skl_hda_hdmi_add_pcm()
35 if (!pcm->codec_dai) in skl_hda_hdmi_add_pcm()
38 pcm->device = device; in skl_hda_hdmi_add_pcm()
39 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in skl_hda_hdmi_add_pcm()
141 struct skl_hda_hdmi_pcm *pcm; in skl_hda_hdmi_jack_init() local
148 list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { in skl_hda_hdmi_jack_init()
149 component = pcm->codec_dai->component; in skl_hda_hdmi_jack_init()
151 "HDMI/DP, pcm=%d Jack", pcm->device); in skl_hda_hdmi_jack_init()
153 SND_JACK_AVOUT, &pcm->hdmi_jack, in skl_hda_hdmi_jack_init()
159 err = snd_jack_add_new_kctl(pcm->hdmi_jack.jack, in skl_hda_hdmi_jack_init()
164 err = hdac_hdmi_jack_init(pcm->codec_dai, pcm->device, in skl_hda_hdmi_jack_init()
165 &pcm->hdmi_jack); in skl_hda_hdmi_jack_init()