blob: a40001c1d9e8b3ee543c3323e5639cd1fbeb4192 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * ALSA driver for ICEnsemble ICE1712 (Envy24)
3 *
4 * Lowlevel functions for Hoontech STDSP24
5 *
Jaroslav Kyselac1017a42007-10-15 09:50:19 +02006 * Copyright (c) 2000 Jaroslav Kysela <perex@perex.cz>
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 *
22 */
23
Linus Torvalds1da177e2005-04-16 15:20:36 -070024#include <linux/delay.h>
25#include <linux/interrupt.h>
26#include <linux/init.h>
27#include <linux/slab.h>
Ingo Molnar62932df2006-01-16 16:34:20 +010028#include <linux/mutex.h>
29
Linus Torvalds1da177e2005-04-16 15:20:36 -070030#include <sound/core.h>
31
32#include "ice1712.h"
33#include "hoontech.h"
34
Takashi Iwai7cda8ba2008-01-18 13:36:07 +010035/* Hoontech-specific setting */
36struct hoontech_spec {
37 unsigned char boxbits[4];
38 unsigned int config;
39 unsigned short boxconfig[4];
40};
Linus Torvalds1da177e2005-04-16 15:20:36 -070041
Bill Pembertone23e7a12012-12-06 12:35:10 -050042static void snd_ice1712_stdsp24_gpio_write(struct snd_ice1712 *ice, unsigned char byte)
Linus Torvalds1da177e2005-04-16 15:20:36 -070043{
44 byte |= ICE1712_STDSP24_CLOCK_BIT;
45 udelay(100);
46 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte);
47 byte &= ~ICE1712_STDSP24_CLOCK_BIT;
48 udelay(100);
49 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte);
50 byte |= ICE1712_STDSP24_CLOCK_BIT;
51 udelay(100);
52 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, byte);
53}
54
Bill Pembertone23e7a12012-12-06 12:35:10 -050055static void snd_ice1712_stdsp24_darear(struct snd_ice1712 *ice, int activate)
Linus Torvalds1da177e2005-04-16 15:20:36 -070056{
Takashi Iwai7cda8ba2008-01-18 13:36:07 +010057 struct hoontech_spec *spec = ice->spec;
Ingo Molnar62932df2006-01-16 16:34:20 +010058 mutex_lock(&ice->gpio_mutex);
Takashi Iwai7cda8ba2008-01-18 13:36:07 +010059 ICE1712_STDSP24_0_DAREAR(spec->boxbits, activate);
60 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[0]);
Ingo Molnar62932df2006-01-16 16:34:20 +010061 mutex_unlock(&ice->gpio_mutex);
Linus Torvalds1da177e2005-04-16 15:20:36 -070062}
63
Bill Pembertone23e7a12012-12-06 12:35:10 -050064static void snd_ice1712_stdsp24_mute(struct snd_ice1712 *ice, int activate)
Linus Torvalds1da177e2005-04-16 15:20:36 -070065{
Takashi Iwai7cda8ba2008-01-18 13:36:07 +010066 struct hoontech_spec *spec = ice->spec;
Ingo Molnar62932df2006-01-16 16:34:20 +010067 mutex_lock(&ice->gpio_mutex);
Takashi Iwai7cda8ba2008-01-18 13:36:07 +010068 ICE1712_STDSP24_3_MUTE(spec->boxbits, activate);
69 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[3]);
Ingo Molnar62932df2006-01-16 16:34:20 +010070 mutex_unlock(&ice->gpio_mutex);
Linus Torvalds1da177e2005-04-16 15:20:36 -070071}
72
Bill Pembertone23e7a12012-12-06 12:35:10 -050073static void snd_ice1712_stdsp24_insel(struct snd_ice1712 *ice, int activate)
Linus Torvalds1da177e2005-04-16 15:20:36 -070074{
Takashi Iwai7cda8ba2008-01-18 13:36:07 +010075 struct hoontech_spec *spec = ice->spec;
Ingo Molnar62932df2006-01-16 16:34:20 +010076 mutex_lock(&ice->gpio_mutex);
Takashi Iwai7cda8ba2008-01-18 13:36:07 +010077 ICE1712_STDSP24_3_INSEL(spec->boxbits, activate);
78 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[3]);
Ingo Molnar62932df2006-01-16 16:34:20 +010079 mutex_unlock(&ice->gpio_mutex);
Linus Torvalds1da177e2005-04-16 15:20:36 -070080}
81
Bill Pembertone23e7a12012-12-06 12:35:10 -050082static void snd_ice1712_stdsp24_box_channel(struct snd_ice1712 *ice, int box, int chn, int activate)
Linus Torvalds1da177e2005-04-16 15:20:36 -070083{
Takashi Iwai7cda8ba2008-01-18 13:36:07 +010084 struct hoontech_spec *spec = ice->spec;
85
Ingo Molnar62932df2006-01-16 16:34:20 +010086 mutex_lock(&ice->gpio_mutex);
Linus Torvalds1da177e2005-04-16 15:20:36 -070087
88 /* select box */
Takashi Iwai7cda8ba2008-01-18 13:36:07 +010089 ICE1712_STDSP24_0_BOX(spec->boxbits, box);
90 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[0]);
Linus Torvalds1da177e2005-04-16 15:20:36 -070091
92 /* prepare for write */
93 if (chn == 3)
Takashi Iwai7cda8ba2008-01-18 13:36:07 +010094 ICE1712_STDSP24_2_CHN4(spec->boxbits, 0);
95 ICE1712_STDSP24_2_MIDI1(spec->boxbits, activate);
96 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
97 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[3]);
Linus Torvalds1da177e2005-04-16 15:20:36 -070098
Takashi Iwai7cda8ba2008-01-18 13:36:07 +010099 ICE1712_STDSP24_1_CHN1(spec->boxbits, 1);
100 ICE1712_STDSP24_1_CHN2(spec->boxbits, 1);
101 ICE1712_STDSP24_1_CHN3(spec->boxbits, 1);
102 ICE1712_STDSP24_2_CHN4(spec->boxbits, 1);
103 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[1]);
104 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105 udelay(100);
106 if (chn == 3) {
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100107 ICE1712_STDSP24_2_CHN4(spec->boxbits, 0);
108 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700109 } else {
110 switch (chn) {
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100111 case 0: ICE1712_STDSP24_1_CHN1(spec->boxbits, 0); break;
112 case 1: ICE1712_STDSP24_1_CHN2(spec->boxbits, 0); break;
113 case 2: ICE1712_STDSP24_1_CHN3(spec->boxbits, 0); break;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700114 }
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100115 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[1]);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700116 }
117 udelay(100);
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100118 ICE1712_STDSP24_1_CHN1(spec->boxbits, 1);
119 ICE1712_STDSP24_1_CHN2(spec->boxbits, 1);
120 ICE1712_STDSP24_1_CHN3(spec->boxbits, 1);
121 ICE1712_STDSP24_2_CHN4(spec->boxbits, 1);
122 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[1]);
123 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700124 udelay(100);
125
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100126 ICE1712_STDSP24_2_MIDI1(spec->boxbits, 0);
127 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700128
Ingo Molnar62932df2006-01-16 16:34:20 +0100129 mutex_unlock(&ice->gpio_mutex);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700130}
131
Bill Pembertone23e7a12012-12-06 12:35:10 -0500132static void snd_ice1712_stdsp24_box_midi(struct snd_ice1712 *ice, int box, int master)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700133{
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100134 struct hoontech_spec *spec = ice->spec;
135
Ingo Molnar62932df2006-01-16 16:34:20 +0100136 mutex_lock(&ice->gpio_mutex);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700137
138 /* select box */
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100139 ICE1712_STDSP24_0_BOX(spec->boxbits, box);
140 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[0]);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700141
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100142 ICE1712_STDSP24_2_MIDIIN(spec->boxbits, 1);
143 ICE1712_STDSP24_2_MIDI1(spec->boxbits, master);
144 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
145 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[3]);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700146
147 udelay(100);
148
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100149 ICE1712_STDSP24_2_MIDIIN(spec->boxbits, 0);
150 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700151
152 mdelay(10);
153
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100154 ICE1712_STDSP24_2_MIDIIN(spec->boxbits, 1);
155 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700156
Ingo Molnar62932df2006-01-16 16:34:20 +0100157 mutex_unlock(&ice->gpio_mutex);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700158}
159
Bill Pembertone23e7a12012-12-06 12:35:10 -0500160static void snd_ice1712_stdsp24_midi2(struct snd_ice1712 *ice, int activate)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700161{
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100162 struct hoontech_spec *spec = ice->spec;
Ingo Molnar62932df2006-01-16 16:34:20 +0100163 mutex_lock(&ice->gpio_mutex);
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100164 ICE1712_STDSP24_3_MIDI2(spec->boxbits, activate);
165 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[3]);
Ingo Molnar62932df2006-01-16 16:34:20 +0100166 mutex_unlock(&ice->gpio_mutex);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167}
168
Bill Pembertone23e7a12012-12-06 12:35:10 -0500169static int snd_ice1712_hoontech_init(struct snd_ice1712 *ice)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700170{
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100171 struct hoontech_spec *spec;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700172 int box, chn;
173
174 ice->num_total_dacs = 8;
175 ice->num_total_adcs = 8;
176
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100177 spec = kzalloc(sizeof(*spec), GFP_KERNEL);
178 if (!spec)
179 return -ENOMEM;
180 ice->spec = spec;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700181
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100182 ICE1712_STDSP24_SET_ADDR(spec->boxbits, 0);
183 ICE1712_STDSP24_CLOCK(spec->boxbits, 0, 1);
184 ICE1712_STDSP24_0_BOX(spec->boxbits, 0);
185 ICE1712_STDSP24_0_DAREAR(spec->boxbits, 0);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700186
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100187 ICE1712_STDSP24_SET_ADDR(spec->boxbits, 1);
188 ICE1712_STDSP24_CLOCK(spec->boxbits, 1, 1);
189 ICE1712_STDSP24_1_CHN1(spec->boxbits, 1);
190 ICE1712_STDSP24_1_CHN2(spec->boxbits, 1);
191 ICE1712_STDSP24_1_CHN3(spec->boxbits, 1);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700192
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100193 ICE1712_STDSP24_SET_ADDR(spec->boxbits, 2);
194 ICE1712_STDSP24_CLOCK(spec->boxbits, 2, 1);
195 ICE1712_STDSP24_2_CHN4(spec->boxbits, 1);
196 ICE1712_STDSP24_2_MIDIIN(spec->boxbits, 1);
197 ICE1712_STDSP24_2_MIDI1(spec->boxbits, 0);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700198
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100199 ICE1712_STDSP24_SET_ADDR(spec->boxbits, 3);
200 ICE1712_STDSP24_CLOCK(spec->boxbits, 3, 1);
201 ICE1712_STDSP24_3_MIDI2(spec->boxbits, 0);
202 ICE1712_STDSP24_3_MUTE(spec->boxbits, 1);
203 ICE1712_STDSP24_3_INSEL(spec->boxbits, 0);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700204
205 /* let's go - activate only functions in first box */
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100206 spec->config = 0;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700207 /* ICE1712_STDSP24_MUTE |
208 ICE1712_STDSP24_INSEL |
209 ICE1712_STDSP24_DAREAR; */
Alan Horstmannd0431432008-02-06 14:43:54 +0100210 /* These boxconfigs have caused problems in the past.
211 * The code is not optimal, but should now enable a working config to
212 * be achieved.
213 * ** MIDI IN can only be configured on one box **
214 * ICE1712_STDSP24_BOX_MIDI1 needs to be set for that box.
215 * Tests on a ADAC2000 box suggest the box config flags do not
216 * work as would be expected, and the inputs are crossed.
217 * Setting ICE1712_STDSP24_BOX_MIDI1 and ICE1712_STDSP24_BOX_MIDI2
218 * on the same box connects MIDI-In to both 401 uarts; both outputs
219 * are then active on all boxes.
220 * The default config here sets up everything on the first box.
221 * Alan Horstmann 5.2.2008
222 */
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100223 spec->boxconfig[0] = ICE1712_STDSP24_BOX_CHN1 |
Linus Torvalds1da177e2005-04-16 15:20:36 -0700224 ICE1712_STDSP24_BOX_CHN2 |
225 ICE1712_STDSP24_BOX_CHN3 |
226 ICE1712_STDSP24_BOX_CHN4 |
227 ICE1712_STDSP24_BOX_MIDI1 |
228 ICE1712_STDSP24_BOX_MIDI2;
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100229 spec->boxconfig[1] =
230 spec->boxconfig[2] =
231 spec->boxconfig[3] = 0;
232 snd_ice1712_stdsp24_darear(ice,
233 (spec->config & ICE1712_STDSP24_DAREAR) ? 1 : 0);
234 snd_ice1712_stdsp24_mute(ice,
235 (spec->config & ICE1712_STDSP24_MUTE) ? 1 : 0);
236 snd_ice1712_stdsp24_insel(ice,
237 (spec->config & ICE1712_STDSP24_INSEL) ? 1 : 0);
Alan Horstmannd0431432008-02-06 14:43:54 +0100238 for (box = 0; box < 4; box++) {
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100239 if (spec->boxconfig[box] & ICE1712_STDSP24_BOX_MIDI2)
Jaroslav Kyselab8c5b532008-01-16 20:12:34 +0100240 snd_ice1712_stdsp24_midi2(ice, 1);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700241 for (chn = 0; chn < 4; chn++)
Takashi Iwai7cda8ba2008-01-18 13:36:07 +0100242 snd_ice1712_stdsp24_box_channel(ice, box, chn,
243 (spec->boxconfig[box] & (1 << chn)) ? 1 : 0);
Alan Horstmannd0431432008-02-06 14:43:54 +0100244 if (spec->boxconfig[box] & ICE1712_STDSP24_BOX_MIDI1)
245 snd_ice1712_stdsp24_box_midi(ice, box, 1);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700246 }
247
248 return 0;
249}
250
251/*
252 * AK4524 access
253 */
254
255/* start callback for STDSP24 with modified hardware */
Takashi Iwai6ca308d2005-11-17 14:59:52 +0100256static void stdsp24_ak4524_lock(struct snd_akm4xxx *ak, int chip)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700257{
Takashi Iwai6ca308d2005-11-17 14:59:52 +0100258 struct snd_ice1712 *ice = ak->private_data[0];
Linus Torvalds1da177e2005-04-16 15:20:36 -0700259 unsigned char tmp;
260 snd_ice1712_save_gpio_status(ice);
261 tmp = ICE1712_STDSP24_SERIAL_DATA |
262 ICE1712_STDSP24_SERIAL_CLOCK |
263 ICE1712_STDSP24_AK4524_CS;
264 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DIRECTION,
265 ice->gpio.direction | tmp);
266 snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MASK, ~tmp);
267}
268
Bill Pembertone23e7a12012-12-06 12:35:10 -0500269static int snd_ice1712_value_init(struct snd_ice1712 *ice)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700270{
271 /* Hoontech STDSP24 with modified hardware */
Bill Pembertone23e7a12012-12-06 12:35:10 -0500272 static struct snd_akm4xxx akm_stdsp24_mv = {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700273 .num_adcs = 2,
274 .num_dacs = 2,
275 .type = SND_AK4524,
276 .ops = {
277 .lock = stdsp24_ak4524_lock
278 }
279 };
280
Bill Pembertone23e7a12012-12-06 12:35:10 -0500281 static struct snd_ak4xxx_private akm_stdsp24_mv_priv = {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700282 .caddr = 2,
283 .cif = 1, /* CIF high */
284 .data_mask = ICE1712_STDSP24_SERIAL_DATA,
285 .clk_mask = ICE1712_STDSP24_SERIAL_CLOCK,
286 .cs_mask = ICE1712_STDSP24_AK4524_CS,
287 .cs_addr = ICE1712_STDSP24_AK4524_CS,
288 .cs_none = 0,
289 .add_flags = 0,
290 };
291
292 int err;
Takashi Iwai6ca308d2005-11-17 14:59:52 +0100293 struct snd_akm4xxx *ak;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700294
295 /* set the analog DACs */
296 ice->num_total_dacs = 2;
297
298 /* set the analog ADCs */
299 ice->num_total_adcs = 2;
300
301 /* analog section */
Takashi Iwai6ca308d2005-11-17 14:59:52 +0100302 ak = ice->akm = kmalloc(sizeof(struct snd_akm4xxx), GFP_KERNEL);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700303 if (! ak)
304 return -ENOMEM;
305 ice->akm_codecs = 1;
306
307 err = snd_ice1712_akm4xxx_init(ak, &akm_stdsp24_mv, &akm_stdsp24_mv_priv, ice);
308 if (err < 0)
309 return err;
310
311 /* ak4524 controls */
Sudip Mukherjee387417b2014-11-14 16:09:05 +0530312 return snd_ice1712_akm4xxx_build_controls(ice);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700313}
314
Bill Pembertone23e7a12012-12-06 12:35:10 -0500315static int snd_ice1712_ez8_init(struct snd_ice1712 *ice)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700316{
317 ice->gpio.write_mask = ice->eeprom.gpiomask;
318 ice->gpio.direction = ice->eeprom.gpiodir;
319 snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MASK, ice->eeprom.gpiomask);
320 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DIRECTION, ice->eeprom.gpiodir);
321 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, ice->eeprom.gpiostate);
322 return 0;
323}
324
325
326/* entry point */
Bill Pembertone23e7a12012-12-06 12:35:10 -0500327struct snd_ice1712_card_info snd_ice1712_hoontech_cards[] = {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700328 {
329 .subvendor = ICE1712_SUBDEVICE_STDSP24,
330 .name = "Hoontech SoundTrack Audio DSP24",
331 .model = "dsp24",
332 .chip_init = snd_ice1712_hoontech_init,
Alan Horstmannd0431432008-02-06 14:43:54 +0100333 .mpu401_1_name = "MIDI-1 Hoontech/STA DSP24",
334 .mpu401_2_name = "MIDI-2 Hoontech/STA DSP24",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700335 },
336 {
337 .subvendor = ICE1712_SUBDEVICE_STDSP24_VALUE, /* a dummy id */
338 .name = "Hoontech SoundTrack Audio DSP24 Value",
339 .model = "dsp24_value",
340 .chip_init = snd_ice1712_value_init,
341 },
342 {
343 .subvendor = ICE1712_SUBDEVICE_STDSP24_MEDIA7_1,
344 .name = "Hoontech STA DSP24 Media 7.1",
345 .model = "dsp24_71",
346 .chip_init = snd_ice1712_hoontech_init,
347 },
348 {
349 .subvendor = ICE1712_SUBDEVICE_EVENT_EZ8, /* a dummy id */
350 .name = "Event Electronics EZ8",
351 .model = "ez8",
352 .chip_init = snd_ice1712_ez8_init,
353 },
354 { } /* terminator */
355};