Lines Matching defs:binder
174 struct snd_soc_dai_link *binder;
187 binder = devm_kmemdup(dev, &probing_link, sizeof(probing_link), GFP_KERNEL);
188 if (!binder)
191 binder->platforms = devm_kzalloc(dev, sizeof(*binder->platforms), GFP_KERNEL);
192 binder->codecs = devm_kzalloc(dev, sizeof(*binder->codecs), GFP_KERNEL);
193 if (!binder->platforms || !binder->codecs)
196 binder->codecs->name = devm_kstrdup(dev, dev_name(&codec->core.dev), GFP_KERNEL);
197 if (!binder->codecs->name)
200 binder->platforms->name = mach->mach_params.platform;
201 binder->num_platforms = 1;
202 binder->codecs->dai_name = "codec-probing-DAI";
203 binder->num_codecs = 1;
209 card->name = binder->codecs->name;
212 card->dai_link = binder;