Lines Matching refs:binder
235 struct snd_soc_dai_link *binder; in avs_hdaudio_probe() local
248 binder = devm_kmemdup(dev, &probing_link, sizeof(probing_link), GFP_KERNEL); in avs_hdaudio_probe()
249 if (!binder) in avs_hdaudio_probe()
252 binder->platforms = devm_kzalloc(dev, sizeof(*binder->platforms), GFP_KERNEL); in avs_hdaudio_probe()
253 binder->codecs = devm_kzalloc(dev, sizeof(*binder->codecs), GFP_KERNEL); in avs_hdaudio_probe()
254 if (!binder->platforms || !binder->codecs) in avs_hdaudio_probe()
257 binder->codecs->name = devm_kstrdup(dev, dev_name(&codec->core.dev), GFP_KERNEL); in avs_hdaudio_probe()
258 if (!binder->codecs->name) in avs_hdaudio_probe()
261 binder->platforms->name = mach->mach_params.platform; in avs_hdaudio_probe()
262 binder->num_platforms = 1; in avs_hdaudio_probe()
263 binder->codecs->dai_name = "codec-probing-DAI"; in avs_hdaudio_probe()
264 binder->num_codecs = 1; in avs_hdaudio_probe()
270 card->name = binder->codecs->name; in avs_hdaudio_probe()
273 card->dai_link = binder; in avs_hdaudio_probe()