Lines Matching refs:dl

200 	struct snd_soc_dai_link *dl;  in avs_create_dai_link()  local
202 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
204 if (!dl || !platform) in avs_create_dai_link()
209 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
210 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
211 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
212 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link()
215 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link()
216 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-ESSX8336:00"); in avs_create_dai_link()
217 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, ES8336_CODEC_DAI); in avs_create_dai_link()
218 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
221 dl->num_cpus = 1; in avs_create_dai_link()
222 dl->num_codecs = 1; in avs_create_dai_link()
223 dl->platforms = platform; in avs_create_dai_link()
224 dl->num_platforms = 1; in avs_create_dai_link()
225 dl->id = 0; in avs_create_dai_link()
226 dl->dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBC_CFC; in avs_create_dai_link()
227 dl->init = avs_es8336_codec_init; in avs_create_dai_link()
228 dl->exit = avs_es8336_codec_exit; in avs_create_dai_link()
229 dl->be_hw_params_fixup = avs_es8336_be_fixup; in avs_create_dai_link()
230 dl->ops = &avs_es8336_ops; in avs_create_dai_link()
231 dl->nonatomic = 1; in avs_create_dai_link()
232 dl->no_pcm = 1; in avs_create_dai_link()
233 dl->dpcm_capture = 1; in avs_create_dai_link()
234 dl->dpcm_playback = 1; in avs_create_dai_link()
236 *dai_link = dl; in avs_create_dai_link()