/*1* sound/oss/sb_mixer.h2*3* Definitions for the SB Pro and SB16 mixers4*/5/*6* Copyright (C) by Hannu Savolainen 1993-19977*8* OSS/Free for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)9* Version 2 (June 1991). See the "COPYING" file distributed with this software10* for more info.11*/1213/*14* Modified:15* Hunyue Yau Jan 6 199416* Added defines for the Sound Galaxy NX Pro mixer.17*18* Rolf Fokkens Dec 20 199819* Added defines for some ES188x chips.20*21* Rolf Fokkens Dec 27 199822* Moved static stuff to sb_mixer.c23*24*/25/*26* Mixer registers27*28* NOTE! RECORD_SRC == IN_FILTER29*/3031/*32* Mixer registers of SB Pro33*/34#define VOC_VOL 0x0435#define MIC_VOL 0x0A36#define MIC_MIX 0x0A37#define RECORD_SRC 0x0C38#define IN_FILTER 0x0C39#define OUT_FILTER 0x0E40#define MASTER_VOL 0x2241#define FM_VOL 0x2642#define CD_VOL 0x2843#define LINE_VOL 0x2E44#define IRQ_NR 0x8045#define DMA_NR 0x8146#define IRQ_STAT 0x8247#define OPSW 0x3c4849/*50* Additional registers on the SG NX Pro51*/52#define COVOX_VOL 0x4253#define TREBLE_LVL 0x4454#define BASS_LVL 0x465556#define FREQ_HI (1 << 3)/* Use High-frequency ANFI filters */57#define FREQ_LOW 0 /* Use Low-frequency ANFI filters */58#define FILT_ON 0 /* Yes, 0 to turn it on, 1 for off */59#define FILT_OFF (1 << 5)6061#define MONO_DAC 0x0062#define STEREO_DAC 0x026364/*65* Mixer registers of SB1666*/67#define SB16_OMASK 0x3c68#define SB16_IMASK_L 0x3d69#define SB16_IMASK_R 0x3e7071#define LEFT_CHN 072#define RIGHT_CHN 17374/*75* 3DSE register of AWE32/6476*/77#define AWE_3DSE 0x907879/*80* Mixer registers of ALS00781*/82#define ALS007_RECORD_SRC 0x6c83#define ALS007_OUTPUT_CTRL1 0x3c84#define ALS007_OUTPUT_CTRL2 0x4c8586#define MIX_ENT(name, reg_l, bit_l, len_l, reg_r, bit_r, len_r) \87{{reg_l, bit_l, len_l}, {reg_r, bit_r, len_r}}8889/*90* Recording sources (SB Pro)91*/9293#define SRC__MIC 1 /* Select Microphone recording source */94#define SRC__CD 3 /* Select CD recording source */95#define SRC__LINE 7 /* Use Line-in for recording source */9697/*98* Recording sources for ALS-00799*/100101#define ALS007_MIC 4102#define ALS007_LINE 6103#define ALS007_CD 2104#define ALS007_SYNTH 7105106107