Lines Matching defs:codec
17 static int avs_create_dai_links(struct device *dev, struct hda_codec *codec, int pcm_count,
23 const char *cname = dev_name(&codec->core.dev);
32 pcm = list_first_entry(&codec->pcm_list_head, struct hda_pcm, list);
100 struct hda_codec *codec = mach->pdata;
105 list_for_each_entry(hpcm, &codec->pcm_list_head, list) {
123 return hda_codec_probe_complete(codec);
131 struct hda_codec *codec;
136 codec = mach->pdata;
138 if (list_empty(&codec->pcm_list_head))
140 list_for_each_entry(pcm, &codec->pcm_list_head, list)
143 ret = avs_create_dai_links(card->dev, codec, pcm_count, mach->mach_params.platform, &links);
178 struct hda_codec *codec;
181 codec = mach->pdata;
183 /* codec may be unloaded before card's probe() fires */
184 if (!device_is_registered(&codec->core.dev))
196 binder->codecs->name = devm_kstrdup(dev, dev_name(&codec->core.dev), GFP_KERNEL);
202 binder->codecs->dai_name = "codec-probing-DAI";
215 if (hda_codec_is_display(codec))