Lines Matching refs:GFP_KERNEL
25 dl = devm_kcalloc(dev, pcm_count, sizeof(*dl), GFP_KERNEL); in avs_create_dai_links()
26 platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL); in avs_create_dai_links()
34 dl[i].name = devm_kasprintf(dev, GFP_KERNEL, "%s link%d", cname, i); in avs_create_dai_links()
47 dl[i].codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_links()
48 dl[i].cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_links()
52 dl[i].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "%s-cpu%d", cname, i); in avs_create_dai_links()
56 dl[i].codecs->name = devm_kstrdup(dev, cname, GFP_KERNEL); in avs_create_dai_links()
75 dr = devm_kcalloc(dev, pcm_count * 2, sizeof(*dr), GFP_KERNEL); in avs_create_dapm_routes()
90 dr[n].sink = devm_kasprintf(dev, GFP_KERNEL, "%s %s", pcm->name, in avs_create_dapm_routes()
92 dr[n].source = devm_kasprintf(dev, GFP_KERNEL, "%s-cpu%d Tx", cname, i); in avs_create_dapm_routes()
103 dr[n].sink = devm_kasprintf(dev, GFP_KERNEL, "%s-cpu%d Rx", cname, i); in avs_create_dapm_routes()
104 dr[n].source = devm_kasprintf(dev, GFP_KERNEL, "%s %s", pcm->name, in avs_create_dapm_routes()
248 binder = devm_kmemdup(dev, &probing_link, sizeof(probing_link), GFP_KERNEL); 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()
257 binder->codecs->name = devm_kstrdup(dev, dev_name(&codec->core.dev), GFP_KERNEL); in avs_hdaudio_probe()
266 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_hdaudio_probe()