Lines Matching full:pcm

21 	struct hda_pcm *pcm;  in avs_create_dai_links()  local
31 pcm = list_first_entry(&codec->pcm_list_head, struct hda_pcm, list); in avs_create_dai_links()
33 for (i = 0; i < pcm_count; i++, pcm = list_next_entry(pcm, list)) { in avs_create_dai_links()
57 dl[i].codecs->dai_name = pcm->name; in avs_create_dai_links()
70 struct hda_pcm *pcm; in avs_create_dapm_routes() local
79 pcm = list_first_entry(&codec->pcm_list_head, struct hda_pcm, list); in avs_create_dapm_routes()
81 for (i = 0; i < pcm_count; i++, pcm = list_next_entry(pcm, list)) { in avs_create_dapm_routes()
86 stream = &pcm->stream[dir]; in avs_create_dapm_routes()
90 dr[n].sink = devm_kasprintf(dev, GFP_KERNEL, "%s %s", pcm->name, in avs_create_dapm_routes()
99 stream = &pcm->stream[dir]; in avs_create_dapm_routes()
104 dr[n].source = devm_kasprintf(dev, GFP_KERNEL, "%s %s", pcm->name, in avs_create_dapm_routes()
129 spcm = rtd->pcm ? rtd->pcm->streams[dir].pcm : NULL; in avs_card_hdmi_pcm_at()
137 return rtd->pcm; in avs_card_hdmi_pcm_at()
148 /* Topology pcm indexing is 1-based */ in avs_card_late_probe()
156 hpcm->pcm = spcm; in avs_card_late_probe()
158 dev_info(card->dev, "%s: mapping HDMI converter %d to PCM %d (%p)\n", in avs_card_late_probe()
161 hpcm->pcm = NULL; in avs_card_late_probe()
163 dev_warn(card->dev, "%s: no PCM in topology for HDMI converter %d\n", in avs_card_late_probe()
179 struct hda_pcm *pcm; in avs_probing_link_init() local
187 list_for_each_entry(pcm, &codec->pcm_list_head, list) in avs_probing_link_init()