Home
last modified time | relevance | path

Searched refs:dl (Results 1 – 11 of 11) sorted by relevance

/sound/soc/intel/avs/boards/
Dssm4567.c89 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
91 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
93 if (!dl || !platform) in avs_create_dai_link()
98 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
99 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
100 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs) * 2, GFP_KERNEL); in avs_create_dai_link()
101 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link()
104 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link()
105 dl->codecs[0].name = devm_kasprintf(dev, GFP_KERNEL, "i2c-INT343B:00"); in avs_create_dai_link()
106 dl->codecs[0].dai_name = devm_kasprintf(dev, GFP_KERNEL, "ssm4567-hifi"); in avs_create_dai_link()
[all …]
Dmax98373.c101 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
103 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
105 if (!dl || !platform) in avs_create_dai_link()
110 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
111 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
112 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs) * 2, GFP_KERNEL); in avs_create_dai_link()
113 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link()
116 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link()
117 dl->codecs[0].name = devm_kasprintf(dev, GFP_KERNEL, MAX98373_DEV0_NAME); in avs_create_dai_link()
118 dl->codecs[0].dai_name = devm_kasprintf(dev, GFP_KERNEL, MAX98373_CODEC_NAME); in avs_create_dai_link()
[all …]
Dmax98357a.c52 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
54 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
56 if (!dl || !platform) in avs_create_dai_link()
61 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
62 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
63 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
64 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link()
67 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link()
68 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "MX98357A:00"); in avs_create_dai_link()
69 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, "HiFi"); in avs_create_dai_link()
[all …]
Di2s_test.c20 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 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
32 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link()
35 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link()
36 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "snd-soc-dummy"); in avs_create_dai_link()
37 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, "snd-soc-dummy-dai"); in avs_create_dai_link()
[all …]
Drt298.c133 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
135 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
137 if (!dl || !platform) in avs_create_dai_link()
142 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
143 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
144 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
145 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link()
148 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link()
149 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-INT343A:00"); in avs_create_dai_link()
150 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, "rt298-aif1"); in avs_create_dai_link()
[all …]
Drt286.c116 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
118 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
120 if (!dl || !platform) in avs_create_dai_link()
125 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
126 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
127 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
128 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link()
131 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link()
132 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-INT343A:00"); in avs_create_dai_link()
133 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, "rt286-aif1"); in avs_create_dai_link()
[all …]
Drt274.c146 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()
[all …]
Dda7219.c138 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
140 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
142 if (!dl || !platform) in avs_create_dai_link()
147 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
148 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
149 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
150 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link()
153 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link()
154 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-DLGS7219:00"); in avs_create_dai_link()
155 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, DA7219_DAI_NAME); in avs_create_dai_link()
[all …]
Drt5682.c170 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
172 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
174 if (!dl || !platform) in avs_create_dai_link()
179 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
180 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
181 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
182 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link()
185 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link()
186 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-10EC5682:00"); in avs_create_dai_link()
187 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, "rt5682-aif1"); in avs_create_dai_link()
[all …]
Dnau8825.c178 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
180 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
182 if (!dl || !platform) in avs_create_dai_link()
187 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
188 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
189 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
190 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link()
193 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link()
194 dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-10508825:00"); in avs_create_dai_link()
195 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, SKL_NUVOTON_CODEC_DAI); in avs_create_dai_link()
[all …]
Dhdaudio.c20 struct snd_soc_dai_link *dl; in avs_create_dai_links() local
25 dl = devm_kcalloc(dev, pcm_count, sizeof(*dl), GFP_KERNEL); in avs_create_dai_links()
27 if (!dl || !platform) in avs_create_dai_links()
34 dl[i].name = devm_kasprintf(dev, GFP_KERNEL, "%s link%d", cname, i); in avs_create_dai_links()
35 if (!dl[i].name) in avs_create_dai_links()
38 dl[i].id = i; in avs_create_dai_links()
39 dl[i].nonatomic = 1; in avs_create_dai_links()
40 dl[i].no_pcm = 1; in avs_create_dai_links()
41 dl[i].dpcm_playback = 1; in avs_create_dai_links()
42 dl[i].dpcm_capture = 1; in avs_create_dai_links()
[all …]