Lines Matching refs:dl

146 	struct snd_soc_dai_link *dl;  in avs_create_dai_link()  local
148 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
150 if (!dl || !platform) in avs_create_dai_link()
155 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
156 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
157 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
158 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link()
161 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link()
162 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-INT34C2:00"); in avs_create_dai_link()
163 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, "rt274-aif1"); in avs_create_dai_link()
164 if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name) in avs_create_dai_link()
167 dl->num_cpus = 1; in avs_create_dai_link()
168 dl->num_codecs = 1; in avs_create_dai_link()
169 dl->platforms = platform; in avs_create_dai_link()
170 dl->num_platforms = 1; in avs_create_dai_link()
171 dl->id = 0; in avs_create_dai_link()
172 dl->dai_fmt = SND_SOC_DAIFMT_DSP_A | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS; in avs_create_dai_link()
173 dl->init = avs_rt274_codec_init; in avs_create_dai_link()
174 dl->be_hw_params_fixup = avs_rt274_be_fixup; in avs_create_dai_link()
175 dl->nonatomic = 1; in avs_create_dai_link()
176 dl->no_pcm = 1; in avs_create_dai_link()
177 dl->dpcm_capture = 1; in avs_create_dai_link()
178 dl->dpcm_playback = 1; in avs_create_dai_link()
180 *dai_link = dl; in avs_create_dai_link()