Lines Matching full:pcm
31 struct hdmi_pcm *pcm; in sof_sdw_hdmi_init() local
33 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in sof_sdw_hdmi_init()
34 if (!pcm) in sof_sdw_hdmi_init()
37 /* dai_link id is 1:1 mapped to the PCM device */ in sof_sdw_hdmi_init()
38 pcm->device = rtd->dai_link->id; in sof_sdw_hdmi_init()
39 pcm->codec_dai = dai; in sof_sdw_hdmi_init()
41 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in sof_sdw_hdmi_init()
50 struct hdmi_pcm *pcm; in sof_sdw_hdmi_card_late_probe() local
61 pcm = list_first_entry(&ctx->hdmi_pcm_list, struct hdmi_pcm, in sof_sdw_hdmi_card_late_probe()
63 component = pcm->codec_dai->component; in sof_sdw_hdmi_card_late_probe()
68 list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { in sof_sdw_hdmi_card_late_probe()
69 component = pcm->codec_dai->component; in sof_sdw_hdmi_card_late_probe()
71 "HDMI/DP, pcm=%d Jack", pcm->device); in sof_sdw_hdmi_card_late_probe()
84 err = hdac_hdmi_jack_init(pcm->codec_dai, pcm->device, in sof_sdw_hdmi_card_late_probe()