Lines Matching refs:dl
20 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
22 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
24 if (!dl || !platform) in avs_create_dai_link()
29 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
30 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
31 if (!dl->name || !dl->cpus) in avs_create_dai_link()
34 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link()
35 dl->codecs = &asoc_dummy_dlc; in avs_create_dai_link()
36 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
39 dl->num_cpus = 1; in avs_create_dai_link()
40 dl->num_codecs = 1; in avs_create_dai_link()
41 dl->platforms = platform; in avs_create_dai_link()
42 dl->num_platforms = 1; in avs_create_dai_link()
43 dl->id = 0; in avs_create_dai_link()
44 dl->nonatomic = 1; in avs_create_dai_link()
45 dl->no_pcm = 1; in avs_create_dai_link()
46 dl->dpcm_capture = 1; in avs_create_dai_link()
47 dl->dpcm_playback = 1; in avs_create_dai_link()
49 *dai_link = dl; in avs_create_dai_link()