Lines Matching refs:pcm
217 struct skl_hdmi_pcm *pcm; in skylake_hdmi1_init() local
219 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in skylake_hdmi1_init()
220 if (!pcm) in skylake_hdmi1_init()
223 pcm->device = SKL_DPCM_AUDIO_HDMI1_PB; in skylake_hdmi1_init()
224 pcm->codec_dai = dai; in skylake_hdmi1_init()
226 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in skylake_hdmi1_init()
235 struct skl_hdmi_pcm *pcm; in skylake_hdmi2_init() local
237 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in skylake_hdmi2_init()
238 if (!pcm) in skylake_hdmi2_init()
241 pcm->device = SKL_DPCM_AUDIO_HDMI2_PB; in skylake_hdmi2_init()
242 pcm->codec_dai = dai; in skylake_hdmi2_init()
244 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in skylake_hdmi2_init()
254 struct skl_hdmi_pcm *pcm; in skylake_hdmi3_init() local
256 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in skylake_hdmi3_init()
257 if (!pcm) in skylake_hdmi3_init()
260 pcm->device = SKL_DPCM_AUDIO_HDMI3_PB; in skylake_hdmi3_init()
261 pcm->codec_dai = dai; in skylake_hdmi3_init()
263 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in skylake_hdmi3_init()
655 struct skl_hdmi_pcm *pcm; in skylake_card_late_probe() local
660 list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { in skylake_card_late_probe()
661 component = pcm->codec_dai->component; in skylake_card_late_probe()
663 "HDMI/DP, pcm=%d Jack", pcm->device); in skylake_card_late_probe()
671 err = hdac_hdmi_jack_init(pcm->codec_dai, pcm->device, in skylake_card_late_probe()