#ifndef __SOUND_AMP_H1#define __SOUND_AMP_H23/*4* ALSA driver for VIA VT1724 (Envy24HT)5*6* Lowlevel functions for Advanced Micro Peripherals Ltd AUDIO20007*8* Copyright (c) 2000 Jaroslav Kysela <[email protected]>9*10* This program is free software; you can redistribute it and/or modify11* it under the terms of the GNU General Public License as published by12* the Free Software Foundation; either version 2 of the License, or13* (at your option) any later version.14*15* This program is distributed in the hope that it will be useful,16* but WITHOUT ANY WARRANTY; without even the implied warranty of17* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the18* GNU General Public License for more details.19*20* You should have received a copy of the GNU General Public License21* along with this program; if not, write to the Free Software22* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA23*24*/2526#define AMP_AUDIO2000_DEVICE_DESC "{AMP Ltd,AUDIO2000},"\27"{Chaintech,AV-710},"2829#if 030#define VT1724_SUBDEVICE_AUDIO2000 0x12142417 /* Advanced Micro Peripherals Ltd AUDIO2000 */31#else32#define VT1724_SUBDEVICE_AUDIO2000 0x00030003 /* a dummy ID for AMP Audio2000 */33#endif34#define VT1724_SUBDEVICE_AV710 0x12142417 /* AV710 - the same ID with Audio2000! */3536/* WM8728 on I2C for AV710 */37#define WM_DEV 0x363839#define WM_ATTEN_L 0x0040#define WM_ATTEN_R 0x0141#define WM_DAC_CTRL 0x0242#define WM_INT_CTRL 0x034344extern struct snd_ice1712_card_info snd_vt1724_amp_cards[];454647#endif /* __SOUND_AMP_H */484950