Lines Matching refs:binder
236 struct snd_soc_dai_link *binder; in avs_hdaudio_probe() local
249 binder = devm_kmemdup(dev, &probing_link, sizeof(probing_link), GFP_KERNEL); in avs_hdaudio_probe()
250 if (!binder) in avs_hdaudio_probe()
253 binder->platforms = devm_kzalloc(dev, sizeof(*binder->platforms), GFP_KERNEL); in avs_hdaudio_probe()
254 binder->codecs = devm_kzalloc(dev, sizeof(*binder->codecs), GFP_KERNEL); in avs_hdaudio_probe()
255 if (!binder->platforms || !binder->codecs) in avs_hdaudio_probe()
258 binder->codecs->name = devm_kstrdup(dev, dev_name(&codec->core.dev), GFP_KERNEL); in avs_hdaudio_probe()
259 if (!binder->codecs->name) in avs_hdaudio_probe()
262 binder->platforms->name = mach->mach_params.platform; in avs_hdaudio_probe()
263 binder->num_platforms = 1; in avs_hdaudio_probe()
264 binder->codecs->dai_name = "codec-probing-DAI"; in avs_hdaudio_probe()
265 binder->num_codecs = 1; in avs_hdaudio_probe()
271 card->name = binder->codecs->name; in avs_hdaudio_probe()
274 card->dai_link = binder; in avs_hdaudio_probe()