8 #include <linux/module.h>
21 #include "../codecs/wm8731.h"
26 .name =
"db1200-ac97",
32 .name =
"db1300-ac97",
38 .name =
"db1550-ac97",
51 .stream_name =
"AC97 HiFi",
52 .codec_dai_name =
"ac97-hifi",
53 .cpu_dai_name =
"au1xpsc_ac97.1",
54 .platform_name =
"au1xpsc-pcm.1",
55 .codec_name =
"ac97-codec.1",
59 .name =
"DB1200_AC97",
61 .dai_link = &db1200_ac97_dai,
67 .stream_name =
"AC97 HiFi",
68 .codec_dai_name =
"wm9712-hifi",
69 .cpu_dai_name =
"au1xpsc_ac97.1",
70 .platform_name =
"au1xpsc-pcm.1",
71 .codec_name =
"wm9712-codec.1",
75 .name =
"DB1300_AC97",
76 .dai_link = &db1300_ac97_dai,
81 .name =
"DB1550_AC97",
82 .dai_link = &db1200_ac97_dai,
115 static struct snd_soc_ops db1200_i2s_wm8731_ops = {
116 .startup = db1200_i2s_startup,
121 .stream_name =
"WM8731 PCM",
122 .codec_dai_name =
"wm8731-hifi",
123 .cpu_dai_name =
"au1xpsc_i2s.1",
124 .platform_name =
"au1xpsc-pcm.1",
125 .codec_name =
"wm8731.0-001b",
126 .ops = &db1200_i2s_wm8731_ops,
130 .name =
"DB1200_I2S",
132 .dai_link = &db1200_i2s_dai,
138 .stream_name =
"WM8731 PCM",
139 .codec_dai_name =
"wm8731-hifi",
140 .cpu_dai_name =
"au1xpsc_i2s.2",
141 .platform_name =
"au1xpsc-pcm.2",
142 .codec_name =
"wm8731.0-001b",
143 .ops = &db1200_i2s_wm8731_ops,
147 .name =
"DB1300_I2S",
148 .dai_link = &db1300_i2s_dai,
154 .stream_name =
"WM8731 PCM",
155 .codec_dai_name =
"wm8731-hifi",
156 .cpu_dai_name =
"au1xpsc_i2s.3",
157 .platform_name =
"au1xpsc-pcm.3",
158 .codec_name =
"wm8731.0-001b",
159 .ops = &db1200_i2s_wm8731_ops,
163 .name =
"DB1550_I2S",
164 .dai_link = &db1550_i2s_dai,
171 &db1200_ac97_machine,
173 &db1300_ac97_machine,
175 &db1550_ac97_machine,
184 card = db1200_cards[pid->driver_data];
198 .name =
"db1200-ac97",
202 .id_table = db1200_pids,
203 .probe = db1200_audio_probe,