1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 #ifndef __SOUND_AMP_H 2 #ifndef __SOUND_AMP_H 3 #define __SOUND_AMP_H 3 #define __SOUND_AMP_H 4 4 5 /* 5 /* 6 * ALSA driver for VIA VT1724 (Envy24HT) 6 * ALSA driver for VIA VT1724 (Envy24HT) 7 * 7 * 8 * Lowlevel functions for Advanced Micro Per 8 * Lowlevel functions for Advanced Micro Peripherals Ltd AUDIO2000 9 * 9 * 10 * Copyright (c) 2000 Jaroslav Kysela <pe 10 * Copyright (c) 2000 Jaroslav Kysela <perex@perex.cz> 11 */ 11 */ 12 12 13 #define AMP_AUDIO2000_DEVICE_DESC 13 #define AMP_AUDIO2000_DEVICE_DESC "{AMP Ltd,AUDIO2000},"\ 14 14 "{Chaintech,AV-710}," 15 15 16 #if 0 16 #if 0 17 #define VT1724_SUBDEVICE_AUDIO2000 0x1214 17 #define VT1724_SUBDEVICE_AUDIO2000 0x12142417 /* Advanced Micro Peripherals Ltd AUDIO2000 */ 18 #else 18 #else 19 #define VT1724_SUBDEVICE_AUDIO2000 0x0003 19 #define VT1724_SUBDEVICE_AUDIO2000 0x00030003 /* a dummy ID for AMP Audio2000 */ 20 #endif 20 #endif 21 #define VT1724_SUBDEVICE_AV710 0x1214 21 #define VT1724_SUBDEVICE_AV710 0x12142417 /* AV710 - the same ID with Audio2000! */ 22 22 23 /* WM8728 on I2C for AV710 */ 23 /* WM8728 on I2C for AV710 */ 24 #define WM_DEV 0x36 24 #define WM_DEV 0x36 25 25 26 #define WM_ATTEN_L 0x00 26 #define WM_ATTEN_L 0x00 27 #define WM_ATTEN_R 0x01 27 #define WM_ATTEN_R 0x01 28 #define WM_DAC_CTRL 0x02 28 #define WM_DAC_CTRL 0x02 29 #define WM_INT_CTRL 0x03 29 #define WM_INT_CTRL 0x03 30 30 31 extern struct snd_ice1712_card_info snd_vt172 31 extern struct snd_ice1712_card_info snd_vt1724_amp_cards[]; 32 32 33 33 34 #endif /* __SOUND_AMP_H */ 34 #endif /* __SOUND_AMP_H */ 35 35
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.