1*c272a724SBALATON Zoltan /* 2*c272a724SBALATON Zoltan * Copyright (C) 2006 InnoTek Systemberatung GmbH 3*c272a724SBALATON Zoltan * 4*c272a724SBALATON Zoltan * This file is part of VirtualBox Open Source Edition (OSE), as 5*c272a724SBALATON Zoltan * available from http://www.virtualbox.org. This file is free software; 6*c272a724SBALATON Zoltan * you can redistribute it and/or modify it under the terms of the GNU 7*c272a724SBALATON Zoltan * General Public License as published by the Free Software Foundation, 8*c272a724SBALATON Zoltan * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE 9*c272a724SBALATON Zoltan * distribution. VirtualBox OSE is distributed in the hope that it will 10*c272a724SBALATON Zoltan * be useful, but WITHOUT ANY WARRANTY of any kind. 11*c272a724SBALATON Zoltan * 12*c272a724SBALATON Zoltan * If you received this file as part of a commercial VirtualBox 13*c272a724SBALATON Zoltan * distribution, then only the terms of your commercial VirtualBox 14*c272a724SBALATON Zoltan * license agreement apply instead of the previous paragraph. 15*c272a724SBALATON Zoltan * 16*c272a724SBALATON Zoltan * Contributions after 2012-01-13 are licensed under the terms of the 17*c272a724SBALATON Zoltan * GNU GPL, version 2 or (at your option) any later version. 18*c272a724SBALATON Zoltan */ 19*c272a724SBALATON Zoltan 20*c272a724SBALATON Zoltan #ifndef AC97_H 21*c272a724SBALATON Zoltan #define AC97_H 22*c272a724SBALATON Zoltan 23*c272a724SBALATON Zoltan enum { 24*c272a724SBALATON Zoltan AC97_Reset = 0x00, 25*c272a724SBALATON Zoltan AC97_Master_Volume_Mute = 0x02, 26*c272a724SBALATON Zoltan AC97_Headphone_Volume_Mute = 0x04, 27*c272a724SBALATON Zoltan AC97_Master_Volume_Mono_Mute = 0x06, 28*c272a724SBALATON Zoltan AC97_Master_Tone_RL = 0x08, 29*c272a724SBALATON Zoltan AC97_PC_BEEP_Volume_Mute = 0x0A, 30*c272a724SBALATON Zoltan AC97_Phone_Volume_Mute = 0x0C, 31*c272a724SBALATON Zoltan AC97_Mic_Volume_Mute = 0x0E, 32*c272a724SBALATON Zoltan AC97_Line_In_Volume_Mute = 0x10, 33*c272a724SBALATON Zoltan AC97_CD_Volume_Mute = 0x12, 34*c272a724SBALATON Zoltan AC97_Video_Volume_Mute = 0x14, 35*c272a724SBALATON Zoltan AC97_Aux_Volume_Mute = 0x16, 36*c272a724SBALATON Zoltan AC97_PCM_Out_Volume_Mute = 0x18, 37*c272a724SBALATON Zoltan AC97_Record_Select = 0x1A, 38*c272a724SBALATON Zoltan AC97_Record_Gain_Mute = 0x1C, 39*c272a724SBALATON Zoltan AC97_Record_Gain_Mic_Mute = 0x1E, 40*c272a724SBALATON Zoltan AC97_General_Purpose = 0x20, 41*c272a724SBALATON Zoltan AC97_3D_Control = 0x22, 42*c272a724SBALATON Zoltan AC97_AC_97_RESERVED = 0x24, 43*c272a724SBALATON Zoltan AC97_Powerdown_Ctrl_Stat = 0x26, 44*c272a724SBALATON Zoltan AC97_Extended_Audio_ID = 0x28, 45*c272a724SBALATON Zoltan AC97_Extended_Audio_Ctrl_Stat = 0x2A, 46*c272a724SBALATON Zoltan AC97_PCM_Front_DAC_Rate = 0x2C, 47*c272a724SBALATON Zoltan AC97_PCM_Surround_DAC_Rate = 0x2E, 48*c272a724SBALATON Zoltan AC97_PCM_LFE_DAC_Rate = 0x30, 49*c272a724SBALATON Zoltan AC97_PCM_LR_ADC_Rate = 0x32, 50*c272a724SBALATON Zoltan AC97_MIC_ADC_Rate = 0x34, 51*c272a724SBALATON Zoltan AC97_6Ch_Vol_C_LFE_Mute = 0x36, 52*c272a724SBALATON Zoltan AC97_6Ch_Vol_L_R_Surround_Mute = 0x38, 53*c272a724SBALATON Zoltan AC97_Vendor_Reserved = 0x58, 54*c272a724SBALATON Zoltan AC97_Sigmatel_Analog = 0x6c, /* We emulate a Sigmatel codec */ 55*c272a724SBALATON Zoltan AC97_Sigmatel_Dac2Invert = 0x6e, /* We emulate a Sigmatel codec */ 56*c272a724SBALATON Zoltan AC97_Vendor_ID1 = 0x7c, 57*c272a724SBALATON Zoltan AC97_Vendor_ID2 = 0x7e 58*c272a724SBALATON Zoltan }; 59*c272a724SBALATON Zoltan 60*c272a724SBALATON Zoltan #define EACS_VRA 1 61*c272a724SBALATON Zoltan #define EACS_VRM 8 62*c272a724SBALATON Zoltan 63*c272a724SBALATON Zoltan #define MUTE_SHIFT 15 64*c272a724SBALATON Zoltan 65*c272a724SBALATON Zoltan #endif /* AC97_H */ 66