1 /* SPDX-License-Identifier: GPL-2.0-or-later * << 2 #ifndef __SOUND_AMP_H 1 #ifndef __SOUND_AMP_H 3 #define __SOUND_AMP_H 2 #define __SOUND_AMP_H 4 3 5 /* 4 /* 6 * ALSA driver for VIA VT1724 (Envy24HT) 5 * ALSA driver for VIA VT1724 (Envy24HT) 7 * 6 * 8 * Lowlevel functions for Advanced Micro Per 7 * Lowlevel functions for Advanced Micro Peripherals Ltd AUDIO2000 9 * 8 * 10 * Copyright (c) 2000 Jaroslav Kysela <pe 9 * Copyright (c) 2000 Jaroslav Kysela <perex@perex.cz> >> 10 * >> 11 * This program is free software; you can redistribute it and/or modify >> 12 * it under the terms of the GNU General Public License as published by >> 13 * the Free Software Foundation; either version 2 of the License, or >> 14 * (at your option) any later version. >> 15 * >> 16 * This program is distributed in the hope that it will be useful, >> 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of >> 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> 19 * GNU General Public License for more details. >> 20 * >> 21 * You should have received a copy of the GNU General Public License >> 22 * along with this program; if not, write to the Free Software >> 23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA >> 24 * 11 */ 25 */ 12 26 13 #define AMP_AUDIO2000_DEVICE_DESC 27 #define AMP_AUDIO2000_DEVICE_DESC "{AMP Ltd,AUDIO2000},"\ 14 28 "{Chaintech,AV-710}," 15 29 16 #if 0 30 #if 0 17 #define VT1724_SUBDEVICE_AUDIO2000 0x1214 31 #define VT1724_SUBDEVICE_AUDIO2000 0x12142417 /* Advanced Micro Peripherals Ltd AUDIO2000 */ 18 #else 32 #else 19 #define VT1724_SUBDEVICE_AUDIO2000 0x0003 33 #define VT1724_SUBDEVICE_AUDIO2000 0x00030003 /* a dummy ID for AMP Audio2000 */ 20 #endif 34 #endif 21 #define VT1724_SUBDEVICE_AV710 0x1214 35 #define VT1724_SUBDEVICE_AV710 0x12142417 /* AV710 - the same ID with Audio2000! */ 22 36 23 /* WM8728 on I2C for AV710 */ 37 /* WM8728 on I2C for AV710 */ 24 #define WM_DEV 0x36 38 #define WM_DEV 0x36 25 39 26 #define WM_ATTEN_L 0x00 40 #define WM_ATTEN_L 0x00 27 #define WM_ATTEN_R 0x01 41 #define WM_ATTEN_R 0x01 28 #define WM_DAC_CTRL 0x02 42 #define WM_DAC_CTRL 0x02 29 #define WM_INT_CTRL 0x03 43 #define WM_INT_CTRL 0x03 30 44 31 extern struct snd_ice1712_card_info snd_vt172 45 extern struct snd_ice1712_card_info snd_vt1724_amp_cards[]; 32 46 33 47 34 #endif /* __SOUND_AMP_H */ 48 #endif /* __SOUND_AMP_H */ 35 49
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.