1*74ba9207SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */ 2f6c63835SKrzysztof Helt /********************************************************************* 3f6c63835SKrzysztof Helt * 4f6c63835SKrzysztof Helt * msnd_classic.h 5f6c63835SKrzysztof Helt * 6f6c63835SKrzysztof Helt * Turtle Beach MultiSound Sound Card Driver for Linux 7f6c63835SKrzysztof Helt * 8f6c63835SKrzysztof Helt * Some parts of this header file were derived from the Turtle Beach 9f6c63835SKrzysztof Helt * MultiSound Driver Development Kit. 10f6c63835SKrzysztof Helt * 11f6c63835SKrzysztof Helt * Copyright (C) 1998 Andrew Veliath 12f6c63835SKrzysztof Helt * Copyright (C) 1993 Turtle Beach Systems, Inc. 13f6c63835SKrzysztof Helt * 14f6c63835SKrzysztof Helt ********************************************************************/ 15f6c63835SKrzysztof Helt #ifndef __MSND_CLASSIC_H 16f6c63835SKrzysztof Helt #define __MSND_CLASSIC_H 17f6c63835SKrzysztof Helt 18f6c63835SKrzysztof Helt #define DSP_NUMIO 0x10 19f6c63835SKrzysztof Helt 20f6c63835SKrzysztof Helt #define HP_MEMM 0x08 21f6c63835SKrzysztof Helt 22f6c63835SKrzysztof Helt #define HP_BITM 0x0E 23f6c63835SKrzysztof Helt #define HP_WAIT 0x0D 24f6c63835SKrzysztof Helt #define HP_DSPR 0x0A 25f6c63835SKrzysztof Helt #define HP_PROR 0x0B 26f6c63835SKrzysztof Helt #define HP_BLKS 0x0C 27f6c63835SKrzysztof Helt 28f6c63835SKrzysztof Helt #define HPPRORESET_OFF 0 29f6c63835SKrzysztof Helt #define HPPRORESET_ON 1 30f6c63835SKrzysztof Helt 31f6c63835SKrzysztof Helt #define HPDSPRESET_OFF 0 32f6c63835SKrzysztof Helt #define HPDSPRESET_ON 1 33f6c63835SKrzysztof Helt 34f6c63835SKrzysztof Helt #define HPBLKSEL_0 0 35f6c63835SKrzysztof Helt #define HPBLKSEL_1 1 36f6c63835SKrzysztof Helt 37f6c63835SKrzysztof Helt #define HPWAITSTATE_0 0 38f6c63835SKrzysztof Helt #define HPWAITSTATE_1 1 39f6c63835SKrzysztof Helt 40f6c63835SKrzysztof Helt #define HPBITMODE_16 0 41f6c63835SKrzysztof Helt #define HPBITMODE_8 1 42f6c63835SKrzysztof Helt 43f6c63835SKrzysztof Helt #define HIDSP_INT_PLAY_UNDER 0x00 44f6c63835SKrzysztof Helt #define HIDSP_INT_RECORD_OVER 0x01 45f6c63835SKrzysztof Helt #define HIDSP_INPUT_CLIPPING 0x02 46f6c63835SKrzysztof Helt #define HIDSP_MIDI_IN_OVER 0x10 47f6c63835SKrzysztof Helt #define HIDSP_MIDI_OVERRUN_ERR 0x13 48f6c63835SKrzysztof Helt 49f6c63835SKrzysztof Helt #define TIME_PRO_RESET_DONE 0x028A 50f6c63835SKrzysztof Helt #define TIME_PRO_SYSEX 0x0040 51f6c63835SKrzysztof Helt #define TIME_PRO_RESET 0x0032 52f6c63835SKrzysztof Helt 53f6c63835SKrzysztof Helt #define DAR_BUFF_SIZE 0x2000 54f6c63835SKrzysztof Helt 55f6c63835SKrzysztof Helt #define MIDQ_BUFF_SIZE 0x200 56f6c63835SKrzysztof Helt #define DSPQ_BUFF_SIZE 0x40 57f6c63835SKrzysztof Helt 58f6c63835SKrzysztof Helt #define DSPQ_DATA_BUFF 0x7260 59f6c63835SKrzysztof Helt 60f6c63835SKrzysztof Helt #define MOP_SYNTH 0x10 61f6c63835SKrzysztof Helt #define MOP_EXTOUT 0x32 62f6c63835SKrzysztof Helt #define MOP_EXTTHRU 0x02 63f6c63835SKrzysztof Helt #define MOP_OUTMASK 0x01 64f6c63835SKrzysztof Helt 65f6c63835SKrzysztof Helt #define MIP_EXTIN 0x01 66f6c63835SKrzysztof Helt #define MIP_SYNTH 0x00 67f6c63835SKrzysztof Helt #define MIP_INMASK 0x32 68f6c63835SKrzysztof Helt 69f6c63835SKrzysztof Helt /* Classic SMA Common Data */ 70f6c63835SKrzysztof Helt #define SMA_wCurrPlayBytes 0x0000 71f6c63835SKrzysztof Helt #define SMA_wCurrRecordBytes 0x0002 72f6c63835SKrzysztof Helt #define SMA_wCurrPlayVolLeft 0x0004 73f6c63835SKrzysztof Helt #define SMA_wCurrPlayVolRight 0x0006 74f6c63835SKrzysztof Helt #define SMA_wCurrInVolLeft 0x0008 75f6c63835SKrzysztof Helt #define SMA_wCurrInVolRight 0x000a 76f6c63835SKrzysztof Helt #define SMA_wUser_3 0x000c 77f6c63835SKrzysztof Helt #define SMA_wUser_4 0x000e 78f6c63835SKrzysztof Helt #define SMA_dwUser_5 0x0010 79f6c63835SKrzysztof Helt #define SMA_dwUser_6 0x0014 80f6c63835SKrzysztof Helt #define SMA_wUser_7 0x0018 81f6c63835SKrzysztof Helt #define SMA_wReserved_A 0x001a 82f6c63835SKrzysztof Helt #define SMA_wReserved_B 0x001c 83f6c63835SKrzysztof Helt #define SMA_wReserved_C 0x001e 84f6c63835SKrzysztof Helt #define SMA_wReserved_D 0x0020 85f6c63835SKrzysztof Helt #define SMA_wReserved_E 0x0022 86f6c63835SKrzysztof Helt #define SMA_wReserved_F 0x0024 87f6c63835SKrzysztof Helt #define SMA_wReserved_G 0x0026 88f6c63835SKrzysztof Helt #define SMA_wReserved_H 0x0028 89f6c63835SKrzysztof Helt #define SMA_wCurrDSPStatusFlags 0x002a 90f6c63835SKrzysztof Helt #define SMA_wCurrHostStatusFlags 0x002c 91f6c63835SKrzysztof Helt #define SMA_wCurrInputTagBits 0x002e 92f6c63835SKrzysztof Helt #define SMA_wCurrLeftPeak 0x0030 93f6c63835SKrzysztof Helt #define SMA_wCurrRightPeak 0x0032 94f6c63835SKrzysztof Helt #define SMA_wExtDSPbits 0x0034 95f6c63835SKrzysztof Helt #define SMA_bExtHostbits 0x0036 96f6c63835SKrzysztof Helt #define SMA_bBoardLevel 0x0037 97f6c63835SKrzysztof Helt #define SMA_bInPotPosRight 0x0038 98f6c63835SKrzysztof Helt #define SMA_bInPotPosLeft 0x0039 99f6c63835SKrzysztof Helt #define SMA_bAuxPotPosRight 0x003a 100f6c63835SKrzysztof Helt #define SMA_bAuxPotPosLeft 0x003b 101f6c63835SKrzysztof Helt #define SMA_wCurrMastVolLeft 0x003c 102f6c63835SKrzysztof Helt #define SMA_wCurrMastVolRight 0x003e 103f6c63835SKrzysztof Helt #define SMA_bUser_12 0x0040 104f6c63835SKrzysztof Helt #define SMA_bUser_13 0x0041 105f6c63835SKrzysztof Helt #define SMA_wUser_14 0x0042 106f6c63835SKrzysztof Helt #define SMA_wUser_15 0x0044 107f6c63835SKrzysztof Helt #define SMA_wCalFreqAtoD 0x0046 108f6c63835SKrzysztof Helt #define SMA_wUser_16 0x0048 109f6c63835SKrzysztof Helt #define SMA_wUser_17 0x004a 110f6c63835SKrzysztof Helt #define SMA__size 0x004c 111f6c63835SKrzysztof Helt 112f6c63835SKrzysztof Helt #define INITCODEFILE "turtlebeach/msndinit.bin" 113f6c63835SKrzysztof Helt #define PERMCODEFILE "turtlebeach/msndperm.bin" 114f6c63835SKrzysztof Helt #define LONGNAME "MultiSound (Classic/Monterey/Tahiti)" 115f6c63835SKrzysztof Helt 116f6c63835SKrzysztof Helt #endif /* __MSND_CLASSIC_H */ 117