Lines Matching +full:i2c +full:- +full:lt +full:- +full:enable
1 // SPDX-License-Identifier: GPL-2.0-or-later
11 * - we reuse the struct snd_akm4xxx record for storing the wm8770 codec data.
16 * - DAC digital volumes are not implemented in the mixer.
58 #define WM_DAC_ATTEN 0x00 /* DAC1-8 analog attenuation */
60 #define WM_DAC_DIG_ATTEN 0x09 /* DAC1-8 digital attenuation */
65 #define WM_DAC_CTRL2 0x15 /* de-emphasis and zefo-flag */
68 #define WM_POWERDOWN 0x18 /* power-down controls */
84 #define PCA9554_DEV 0x40 /* I2C device address */
119 * send i2c stop condition and start condition in aureon_pca9554_write()
150 for (i = 7; i >= 0; i--) { in aureon_pca9554_write()
192 {"Internal Aux", "Wavetable", "Rear Line-In"}; in aureon_universe_inmux_info()
201 struct aureon_spec *spec = ice->spec; in aureon_universe_inmux_get()
202 ucontrol->value.enumerated.item[0] = spec->pca9554_out; in aureon_universe_inmux_get()
210 struct aureon_spec *spec = ice->spec; in aureon_universe_inmux_put()
214 nval = ucontrol->value.enumerated.item[0]; in aureon_universe_inmux_put()
216 return -EINVAL; in aureon_universe_inmux_put()
218 oval = spec->pca9554_out; in aureon_universe_inmux_put()
222 spec->pca9554_out = nval; in aureon_universe_inmux_put()
232 struct aureon_spec *spec = ice->spec; in aureon_ac97_write()
246 /* Send low-order byte to XILINX chip */ in aureon_ac97_write()
258 /* Send high-order byte to XILINX chip */ in aureon_ac97_write()
280 spec->stac9744[(reg & 0x7F) >> 1] = val; in aureon_ac97_write()
285 struct aureon_spec *spec = ice->spec; in aureon_ac97_read()
286 return spec->stac9744[(reg & 0x7F) >> 1]; in aureon_ac97_read()
294 struct aureon_spec *spec = ice->spec; in aureon_ac97_init()
315 (unsigned short)-1 in aureon_ac97_init()
332 memset(&spec->stac9744, 0, sizeof(spec->stac9744)); in aureon_ac97_init()
333 for (i = 0; ac97_defaults[i] != (unsigned short)-1; i += 2) in aureon_ac97_init()
334 spec->stac9744[(ac97_defaults[i]) >> 1] = ac97_defaults[i+1]; in aureon_ac97_init()
336 /* Unmute AC'97 master volume permanently - muting is done by WM8770 */ in aureon_ac97_init()
349 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in aureon_ac97_vol_info()
350 uinfo->count = kcontrol->private_value & AUREON_AC97_STEREO ? 2 : 1; in aureon_ac97_vol_info()
351 uinfo->value.integer.min = 0; in aureon_ac97_vol_info()
352 uinfo->value.integer.max = 31; in aureon_ac97_vol_info()
361 mutex_lock(&ice->gpio_mutex); in aureon_ac97_vol_get()
363 vol = aureon_ac97_read(ice, kcontrol->private_value & 0x7F); in aureon_ac97_vol_get()
364 ucontrol->value.integer.value[0] = 0x1F - (vol & 0x1F); in aureon_ac97_vol_get()
365 if (kcontrol->private_value & AUREON_AC97_STEREO) in aureon_ac97_vol_get()
366 ucontrol->value.integer.value[1] = 0x1F - ((vol >> 8) & 0x1F); in aureon_ac97_vol_get()
368 mutex_unlock(&ice->gpio_mutex); in aureon_ac97_vol_get()
380 ovol = aureon_ac97_read(ice, kcontrol->private_value & 0x7F); in aureon_ac97_vol_put()
381 nvol = (0x1F - ucontrol->value.integer.value[0]) & 0x001F; in aureon_ac97_vol_put()
382 if (kcontrol->private_value & AUREON_AC97_STEREO) in aureon_ac97_vol_put()
383 nvol |= ((0x1F - ucontrol->value.integer.value[1]) << 8) & 0x1F00; in aureon_ac97_vol_put()
388 aureon_ac97_write(ice, kcontrol->private_value & 0x7F, nvol); in aureon_ac97_vol_put()
404 mutex_lock(&ice->gpio_mutex); in aureon_ac97_mute_get()
406 ucontrol->value.integer.value[0] = aureon_ac97_read(ice, in aureon_ac97_mute_get()
407 kcontrol->private_value & 0x7F) & 0x8000 ? 0 : 1; in aureon_ac97_mute_get()
409 mutex_unlock(&ice->gpio_mutex); in aureon_ac97_mute_get()
421 ovol = aureon_ac97_read(ice, kcontrol->private_value & 0x7F); in aureon_ac97_mute_put()
422 nvol = (ucontrol->value.integer.value[0] ? 0x0000 : 0x8000) | (ovol & ~0x8000); in aureon_ac97_mute_put()
426 aureon_ac97_write(ice, kcontrol->private_value & 0x7F, nvol); in aureon_ac97_mute_put()
442 mutex_lock(&ice->gpio_mutex); in aureon_ac97_micboost_get()
444 ucontrol->value.integer.value[0] = aureon_ac97_read(ice, AC97_MIC) & 0x0020 ? 0 : 1; in aureon_ac97_micboost_get()
446 mutex_unlock(&ice->gpio_mutex); in aureon_ac97_micboost_get()
459 nvol = (ucontrol->value.integer.value[0] ? 0x0000 : 0x0020) | (ovol & ~0x0020); in aureon_ac97_micboost_put()
481 if (ice->eeprom.subvendor == VT1724_SUBDEVICE_PRODIGY71LT || in aureon_spi_write()
482 ice->eeprom.subvendor == VT1724_SUBDEVICE_PRODIGY71XT) { in aureon_spi_write()
499 for (i = bits - 1; i >= 0; i--) { in aureon_spi_write()
538 for (i = bits-1; i >= 0; i--) { in aureon_spi_read()
557 for (i = 7; i >= 0; i--) { in aureon_spi_read()
605 return ((unsigned short)ice->akm[0].images[reg] << 8) | in wm_get()
606 ice->akm[0].images[reg + 1]; in wm_get()
615 ((ice->eeprom.subvendor == VT1724_SUBDEVICE_PRODIGY71LT || in wm_put_nocache()
616 ice->eeprom.subvendor == VT1724_SUBDEVICE_PRODIGY71XT) ? in wm_put_nocache()
628 ice->akm[0].images[reg] = val >> 8; in wm_put()
629 ice->akm[0].images[reg + 1] = val; in wm_put()
645 mutex_lock(&ice->gpio_mutex); in aureon_ac97_mmute_get()
647 ucontrol->value.integer.value[0] = (wm_get(ice, WM_OUT_MUX1) >> 1) & 0x01; in aureon_ac97_mmute_get()
649 mutex_unlock(&ice->gpio_mutex); in aureon_ac97_mmute_get()
662 nvol = (ovol & ~0x02) | (ucontrol->value.integer.value[0] ? 0x02 : 0x00); in aureon_ac97_mmute_put()
672 static const DECLARE_TLV_DB_SCALE(db_scale_wm_dac, -10000, 100, 1);
673 static const DECLARE_TLV_DB_SCALE(db_scale_wm_pcm, -6400, 50, 1);
674 static const DECLARE_TLV_DB_SCALE(db_scale_wm_adc, -1200, 100, 0);
675 static const DECLARE_TLV_DB_SCALE(db_scale_ac97_master, -4650, 150, 0);
676 static const DECLARE_TLV_DB_SCALE(db_scale_ac97_gain, -3450, 150, 0);
679 #define WM_VOL_CNT 101 /* 0dB .. -100dB */
707 mutex_lock(&ice->gpio_mutex); in wm_pcm_mute_get()
708 ucontrol->value.integer.value[0] = (wm_get(ice, WM_MUTE) & 0x10) ? 0 : 1; in wm_pcm_mute_get()
709 mutex_unlock(&ice->gpio_mutex); in wm_pcm_mute_get()
721 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put()
735 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in wm_master_vol_info()
736 uinfo->count = 2; in wm_master_vol_info()
737 uinfo->value.integer.min = 0; in wm_master_vol_info()
738 uinfo->value.integer.max = WM_VOL_MAX; in wm_master_vol_info()
745 struct aureon_spec *spec = ice->spec; in wm_master_vol_get()
748 ucontrol->value.integer.value[i] = in wm_master_vol_get()
749 spec->master[i] & ~WM_VOL_MUTE; in wm_master_vol_get()
756 struct aureon_spec *spec = ice->spec; in wm_master_vol_put()
761 unsigned int vol = ucontrol->value.integer.value[ch]; in wm_master_vol_put()
764 vol |= spec->master[ch] & WM_VOL_MUTE; in wm_master_vol_put()
765 if (vol != spec->master[ch]) { in wm_master_vol_put()
767 spec->master[ch] = vol; in wm_master_vol_put()
768 for (dac = 0; dac < ice->num_total_dacs; dac += 2) in wm_master_vol_put()
770 spec->vol[dac + ch], in wm_master_vol_put()
771 spec->master[ch]); in wm_master_vol_put()
784 int voices = kcontrol->private_value >> 8; in wm_vol_info()
785 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in wm_vol_info()
786 uinfo->count = voices; in wm_vol_info()
787 uinfo->value.integer.min = 0; /* mute (-101dB) */ in wm_vol_info()
788 uinfo->value.integer.max = WM_VOL_MAX; /* 0dB */ in wm_vol_info()
795 struct aureon_spec *spec = ice->spec; in wm_vol_get()
798 voices = kcontrol->private_value >> 8; in wm_vol_get()
799 ofs = kcontrol->private_value & 0xff; in wm_vol_get()
801 ucontrol->value.integer.value[i] = in wm_vol_get()
802 spec->vol[ofs+i] & ~WM_VOL_MUTE; in wm_vol_get()
809 struct aureon_spec *spec = ice->spec; in wm_vol_put()
813 voices = kcontrol->private_value >> 8; in wm_vol_put()
814 ofs = kcontrol->private_value & 0xff; in wm_vol_put()
817 unsigned int vol = ucontrol->value.integer.value[i]; in wm_vol_put()
820 vol |= spec->vol[ofs+i] & WM_VOL_MUTE; in wm_vol_put()
821 if (vol != spec->vol[ofs+i]) { in wm_vol_put()
822 spec->vol[ofs+i] = vol; in wm_vol_put()
824 wm_set_vol(ice, idx, spec->vol[ofs + i], in wm_vol_put()
825 spec->master[i]); in wm_vol_put()
838 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in wm_mute_info()
839 uinfo->count = kcontrol->private_value >> 8; in wm_mute_info()
840 uinfo->value.integer.min = 0; in wm_mute_info()
841 uinfo->value.integer.max = 1; in wm_mute_info()
848 struct aureon_spec *spec = ice->spec; in wm_mute_get()
851 voices = kcontrol->private_value >> 8; in wm_mute_get()
852 ofs = kcontrol->private_value & 0xFF; in wm_mute_get()
855 ucontrol->value.integer.value[i] = in wm_mute_get()
856 (spec->vol[ofs + i] & WM_VOL_MUTE) ? 0 : 1; in wm_mute_get()
863 struct aureon_spec *spec = ice->spec; in wm_mute_put()
866 voices = kcontrol->private_value >> 8; in wm_mute_put()
867 ofs = kcontrol->private_value & 0xFF; in wm_mute_put()
871 int val = (spec->vol[ofs + i] & WM_VOL_MUTE) ? 0 : 1; in wm_mute_put()
872 if (ucontrol->value.integer.value[i] != val) { in wm_mute_put()
873 spec->vol[ofs + i] &= ~WM_VOL_MUTE; in wm_mute_put()
874 spec->vol[ofs + i] |= in wm_mute_put()
875 ucontrol->value.integer.value[i] ? 0 : WM_VOL_MUTE; in wm_mute_put()
876 wm_set_vol(ice, ofs + i, spec->vol[ofs + i], in wm_mute_put()
877 spec->master[i]); in wm_mute_put()
894 struct aureon_spec *spec = ice->spec; in wm_master_mute_get()
896 ucontrol->value.integer.value[0] = in wm_master_mute_get()
897 (spec->master[0] & WM_VOL_MUTE) ? 0 : 1; in wm_master_mute_get()
898 ucontrol->value.integer.value[1] = in wm_master_mute_get()
899 (spec->master[1] & WM_VOL_MUTE) ? 0 : 1; in wm_master_mute_get()
906 struct aureon_spec *spec = ice->spec; in wm_master_mute_put()
911 int val = (spec->master[i] & WM_VOL_MUTE) ? 0 : 1; in wm_master_mute_put()
912 if (ucontrol->value.integer.value[i] != val) { in wm_master_mute_put()
914 spec->master[i] &= ~WM_VOL_MUTE; in wm_master_mute_put()
915 spec->master[i] |= in wm_master_mute_put()
916 ucontrol->value.integer.value[i] ? 0 : WM_VOL_MUTE; in wm_master_mute_put()
917 for (dac = 0; dac < ice->num_total_dacs; dac += 2) in wm_master_mute_put()
919 spec->vol[dac + i], in wm_master_mute_put()
920 spec->master[i]); in wm_master_mute_put()
931 #define PCM_RES 128 /* -64dB */
932 #define PCM_MIN (PCM_0dB - PCM_RES)
935 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in wm_pcm_vol_info()
936 uinfo->count = 1; in wm_pcm_vol_info()
937 uinfo->value.integer.min = 0; /* mute (-64dB) */ in wm_pcm_vol_info()
938 uinfo->value.integer.max = PCM_RES; /* 0dB */ in wm_pcm_vol_info()
947 mutex_lock(&ice->gpio_mutex); in wm_pcm_vol_get()
949 val = val > PCM_MIN ? (val - PCM_MIN) : 0; in wm_pcm_vol_get()
950 ucontrol->value.integer.value[0] = val; in wm_pcm_vol_get()
951 mutex_unlock(&ice->gpio_mutex); in wm_pcm_vol_get()
961 nvol = ucontrol->value.integer.value[0]; in wm_pcm_vol_put()
963 return -EINVAL; in wm_pcm_vol_put()
987 mutex_lock(&ice->gpio_mutex); in wm_adc_mute_get()
990 ucontrol->value.integer.value[i] = ~val>>5 & 0x1; in wm_adc_mute_get()
992 mutex_unlock(&ice->gpio_mutex); in wm_adc_mute_get()
1005 new = (~ucontrol->value.integer.value[i]<<5&0x20) | (old&~0x20); in wm_adc_mute_put()
1021 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in wm_adc_vol_info()
1022 uinfo->count = 2; in wm_adc_vol_info()
1023 uinfo->value.integer.min = 0; /* -12dB */ in wm_adc_vol_info()
1024 uinfo->value.integer.max = 0x1f; /* 19dB */ in wm_adc_vol_info()
1034 mutex_lock(&ice->gpio_mutex); in wm_adc_vol_get()
1038 ucontrol->value.integer.value[i] = vol; in wm_adc_vol_get()
1040 mutex_unlock(&ice->gpio_mutex); in wm_adc_vol_get()
1054 nvol = ucontrol->value.integer.value[i] & 0x1f; in wm_adc_vol_put()
1089 if (ice->eeprom.subvendor == VT1724_SUBDEVICE_AUREON71_UNIVERSE) in wm_adc_mux_info()
1100 mutex_lock(&ice->gpio_mutex); in wm_adc_mux_get()
1102 ucontrol->value.enumerated.item[0] = val & 7; in wm_adc_mux_get()
1103 ucontrol->value.enumerated.item[1] = (val >> 4) & 7; in wm_adc_mux_get()
1104 mutex_unlock(&ice->gpio_mutex); in wm_adc_mux_get()
1117 nval |= ucontrol->value.enumerated.item[0] & 7; in wm_adc_mux_put()
1118 nval |= (ucontrol->value.enumerated.item[1] & 7) << 4; in wm_adc_mux_put()
1140 if (ice->eeprom.subvendor == VT1724_SUBDEVICE_PRODIGY71) in aureon_cs8415_mux_info()
1149 struct aureon_spec *spec = ice->spec; in aureon_cs8415_mux_get()
1153 ucontrol->value.enumerated.item[0] = spec->cs8415_mux; in aureon_cs8415_mux_get()
1161 struct aureon_spec *spec = ice->spec; in aureon_cs8415_mux_put()
1168 nval |= ucontrol->value.enumerated.item[0] & 7; in aureon_cs8415_mux_put()
1173 spec->cs8415_mux = ucontrol->value.enumerated.item[0]; in aureon_cs8415_mux_put()
1179 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in aureon_cs8415_rate_info()
1180 uinfo->count = 1; in aureon_cs8415_rate_info()
1181 uinfo->value.integer.min = 0; in aureon_cs8415_rate_info()
1182 uinfo->value.integer.max = 192000; in aureon_cs8415_rate_info()
1191 ucontrol->value.integer.value[0] = (int)((unsigned int)ratio * 750); in aureon_cs8415_rate_get()
1204 ucontrol->value.integer.value[0] = (aureon_cs8415_get(ice, CS8415_CTRL1) & 0x20) ? 0 : 1; in aureon_cs8415_mute_get()
1216 if (ucontrol->value.integer.value[0]) in aureon_cs8415_mute_put()
1228 * CS8415A Q-Sub info
1232 uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; in aureon_cs8415_qsub_info()
1233 uinfo->count = 10; in aureon_cs8415_qsub_info()
1242 aureon_cs8415_read(ice, CS8415_QSUB, ucontrol->value.bytes.data, 10); in aureon_cs8415_qsub_get()
1250 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; in aureon_cs8415_spdif_info()
1251 uinfo->count = 1; in aureon_cs8415_spdif_info()
1257 memset(ucontrol->value.iec958.status, 0xFF, 24); in aureon_cs8415_mask_get()
1266 aureon_cs8415_read(ice, CS8415_C_BUFFER, ucontrol->value.iec958.status, 24); in aureon_cs8415_spdif_get()
1274 static int aureon_set_headphone_amp(struct snd_ice1712 *ice, int enable) in aureon_set_headphone_amp() argument
1279 if (enable) in aureon_set_headphone_amp()
1280 if (ice->eeprom.subvendor != VT1724_SUBDEVICE_PRODIGY71LT && in aureon_set_headphone_amp()
1281 ice->eeprom.subvendor != VT1724_SUBDEVICE_PRODIGY71XT) in aureon_set_headphone_amp()
1286 if (ice->eeprom.subvendor != VT1724_SUBDEVICE_PRODIGY71LT && in aureon_set_headphone_amp()
1287 ice->eeprom.subvendor != VT1724_SUBDEVICE_PRODIGY71XT) in aureon_set_headphone_amp()
1311 ucontrol->value.integer.value[0] = aureon_get_headphone_amp(ice); in aureon_hpamp_get()
1320 return aureon_set_headphone_amp(ice, ucontrol->value.integer.value[0]); in aureon_hpamp_put()
1332 ucontrol->value.integer.value[0] = (wm_get(ice, WM_DAC_CTRL2) & 0xf) == 0xf; in aureon_deemp_get()
1341 if (ucontrol->value.integer.value[0]) in aureon_deemp_put()
1365 ucontrol->value.enumerated.item[0] = (wm_get(ice, WM_MASTER) & 0x8) == 0x8; in aureon_oversampling_get()
1376 if (ucontrol->value.enumerated.item[0]) in aureon_oversampling_put()
1827 .name = SNDRV_CTL_NAME_IEC958("Q-subcode ", CAPTURE, DEFAULT),
1861 if (ice->eeprom.subvendor == VT1724_SUBDEVICE_AUREON51_SKY) in aureon_add_controls()
1862 counts -= 2; /* no side */ in aureon_add_controls()
1864 err = snd_ctl_add(ice->card, snd_ctl_new1(&aureon_dac_controls[i], ice)); in aureon_add_controls()
1870 err = snd_ctl_add(ice->card, snd_ctl_new1(&wm_controls[i], ice)); in aureon_add_controls()
1875 if (ice->eeprom.subvendor == VT1724_SUBDEVICE_AUREON71_UNIVERSE) { in aureon_add_controls()
1877 err = snd_ctl_add(ice->card, snd_ctl_new1(&universe_ac97_controls[i], ice)); in aureon_add_controls()
1881 } else if (ice->eeprom.subvendor != VT1724_SUBDEVICE_PRODIGY71LT && in aureon_add_controls()
1882 ice->eeprom.subvendor != VT1724_SUBDEVICE_PRODIGY71XT) { in aureon_add_controls()
1884 err = snd_ctl_add(ice->card, snd_ctl_new1(&ac97_controls[i], ice)); in aureon_add_controls()
1890 if (ice->eeprom.subvendor != VT1724_SUBDEVICE_PRODIGY71LT && in aureon_add_controls()
1891 ice->eeprom.subvendor != VT1724_SUBDEVICE_PRODIGY71XT) { in aureon_add_controls()
1897 dev_info(ice->card->dev, in aureon_add_controls()
1904 kctl->id.device = ice->pcm->device; in aureon_add_controls()
1905 err = snd_ctl_add(ice->card, kctl); in aureon_add_controls()
1926 0x18, 0x000, /* All power-up */ in aureon_reset()
1952 0x19, 0x000, /* -12dB ADC/L */ in aureon_reset()
1953 0x1a, 0x000, /* -12dB ADC/R */ in aureon_reset()
1954 (unsigned short)-1 in aureon_reset()
1963 0x18, 0x000, /* All power-up */ in aureon_reset()
1965 0x16, 0x022, /* I2S, normal polarity, 24bit, high-pass on */ in aureon_reset()
1993 0x19, 0x000, /* -12dB ADC/L */ in aureon_reset()
1994 0x1a, 0x000, /* -12dB ADC/R */ in aureon_reset()
1995 (unsigned short)-1 in aureon_reset()
2003 (unsigned short)-1 in aureon_reset()
2008 struct aureon_spec *spec = ice->spec; in aureon_reset()
2032 if (ice->eeprom.subvendor == VT1724_SUBDEVICE_PRODIGY71 || in aureon_reset()
2033 ice->eeprom.subvendor == VT1724_SUBDEVICE_PRODIGY71LT || in aureon_reset()
2034 ice->eeprom.subvendor == VT1724_SUBDEVICE_PRODIGY71XT) in aureon_reset()
2038 for (; *p != (unsigned short)-1; p += 2) in aureon_reset()
2042 if (ice->eeprom.subvendor != VT1724_SUBDEVICE_PRODIGY71LT && in aureon_reset()
2043 ice->eeprom.subvendor != VT1724_SUBDEVICE_PRODIGY71XT) { in aureon_reset()
2044 for (p = cs_inits; *p != (unsigned short)-1; p++) in aureon_reset()
2046 spec->cs8415_mux = 1; in aureon_reset()
2065 struct aureon_spec *spec = ice->spec; in aureon_resume()
2074 for (i = 0; i < ice->num_total_dacs; i++) in aureon_resume()
2075 wm_set_vol(ice, i, spec->vol[i], spec->master[i % 2]); in aureon_resume()
2090 return -ENOMEM; in aureon_init()
2091 ice->spec = spec; in aureon_init()
2093 if (ice->eeprom.subvendor == VT1724_SUBDEVICE_AUREON51_SKY) { in aureon_init()
2094 ice->num_total_dacs = 6; in aureon_init()
2095 ice->num_total_adcs = 2; in aureon_init()
2098 ice->num_total_dacs = 8; in aureon_init()
2099 ice->num_total_adcs = 2; in aureon_init()
2103 ice->akm = kzalloc(sizeof(struct snd_akm4xxx), GFP_KERNEL); in aureon_init()
2104 if (!ice->akm) in aureon_init()
2105 return -ENOMEM; in aureon_init()
2106 ice->akm_codecs = 1; in aureon_init()
2112 spec->master[0] = WM_VOL_MUTE; in aureon_init()
2113 spec->master[1] = WM_VOL_MUTE; in aureon_init()
2114 for (i = 0; i < ice->num_total_dacs; i++) { in aureon_init()
2115 spec->vol[i] = WM_VOL_MUTE; in aureon_init()
2116 wm_set_vol(ice, i, spec->vol[i], spec->master[i % 2]); in aureon_init()
2120 ice->pm_resume = aureon_resume; in aureon_init()
2121 ice->pm_suspend_enabled = 1; in aureon_init()
2134 [ICE_EEP2_SYSCONF] = 0x0a, /* clock 512, spdif-in/ADC, 3DACs */
2137 [ICE_EEP2_SPDIF] = 0xc3, /* out-en, out-int, spdif-in */
2150 [ICE_EEP2_SYSCONF] = 0x0b, /* clock 512, spdif-in/ADC, 4DACs */
2153 [ICE_EEP2_SPDIF] = 0xc3, /* out-en, out-int, spdif-in */
2167 [ICE_EEP2_SYSCONF] = 0x2b, /* clock 512, mpu401, spdif-in/ADC,
2172 [ICE_EEP2_SPDIF] = 0xc3, /* out-en, out-int, spdif-in */
2185 [ICE_EEP2_SYSCONF] = 0x4b, /* clock 384, spdif-in/ADC, 4DACs */
2188 [ICE_EEP2_SPDIF] = 0xc3, /* out-en, out-int, spdif-in */
2205 .name = "Terratec Aureon 5.1-Sky",
2215 .name = "Terratec Aureon 7.1-Space",
2225 .name = "Terratec Aureon 7.1-Universe",
2245 .name = "Audiotrak Prodigy 7.1 LT",