brintos

brintos / linux-shallow public Read only

0
0
Text · 3.1 KiB · 74d2b9a Raw
117 lines · c
1/* SPDX-License-Identifier: GPL-2.0-or-later */2/*********************************************************************3 *4 * msnd_classic.h5 *6 * Turtle Beach MultiSound Sound Card Driver for Linux7 *8 * Some parts of this header file were derived from the Turtle Beach9 * MultiSound Driver Development Kit.10 *11 * Copyright (C) 1998 Andrew Veliath12 * Copyright (C) 1993 Turtle Beach Systems, Inc.13 *14 ********************************************************************/15#ifndef __MSND_CLASSIC_H16#define __MSND_CLASSIC_H17 18#define DSP_NUMIO				0x1019 20#define	HP_MEMM					0x0821 22#define	HP_BITM					0x0E23#define	HP_WAIT					0x0D24#define	HP_DSPR					0x0A25#define	HP_PROR					0x0B26#define	HP_BLKS					0x0C27 28#define	HPPRORESET_OFF				029#define HPPRORESET_ON				130 31#define HPDSPRESET_OFF				032#define HPDSPRESET_ON				133 34#define HPBLKSEL_0				035#define HPBLKSEL_1				136 37#define HPWAITSTATE_0				038#define HPWAITSTATE_1				139 40#define HPBITMODE_16				041#define HPBITMODE_8				142 43#define	HIDSP_INT_PLAY_UNDER			0x0044#define	HIDSP_INT_RECORD_OVER			0x0145#define	HIDSP_INPUT_CLIPPING			0x0246#define	HIDSP_MIDI_IN_OVER			0x1047#define	HIDSP_MIDI_OVERRUN_ERR  0x1348 49#define TIME_PRO_RESET_DONE			0x028A50#define TIME_PRO_SYSEX				0x004051#define TIME_PRO_RESET				0x003252 53#define DAR_BUFF_SIZE				0x200054 55#define MIDQ_BUFF_SIZE				0x20056#define DSPQ_BUFF_SIZE				0x4057 58#define DSPQ_DATA_BUFF				0x726059 60#define MOP_SYNTH				0x1061#define MOP_EXTOUT				0x3262#define MOP_EXTTHRU				0x0263#define MOP_OUTMASK				0x0164 65#define MIP_EXTIN				0x0166#define MIP_SYNTH				0x0067#define MIP_INMASK				0x3268 69/* Classic SMA Common Data */70#define SMA_wCurrPlayBytes			0x000071#define SMA_wCurrRecordBytes			0x000272#define SMA_wCurrPlayVolLeft			0x000473#define SMA_wCurrPlayVolRight			0x000674#define SMA_wCurrInVolLeft			0x000875#define SMA_wCurrInVolRight			0x000a76#define SMA_wUser_3				0x000c77#define SMA_wUser_4				0x000e78#define SMA_dwUser_5				0x001079#define SMA_dwUser_6				0x001480#define SMA_wUser_7				0x001881#define SMA_wReserved_A				0x001a82#define SMA_wReserved_B				0x001c83#define SMA_wReserved_C				0x001e84#define SMA_wReserved_D				0x002085#define SMA_wReserved_E				0x002286#define SMA_wReserved_F				0x002487#define SMA_wReserved_G				0x002688#define SMA_wReserved_H				0x002889#define SMA_wCurrDSPStatusFlags			0x002a90#define SMA_wCurrHostStatusFlags		0x002c91#define SMA_wCurrInputTagBits			0x002e92#define SMA_wCurrLeftPeak			0x003093#define SMA_wCurrRightPeak			0x003294#define SMA_wExtDSPbits				0x003495#define SMA_bExtHostbits			0x003696#define SMA_bBoardLevel				0x003797#define SMA_bInPotPosRight			0x003898#define SMA_bInPotPosLeft			0x003999#define SMA_bAuxPotPosRight			0x003a100#define SMA_bAuxPotPosLeft			0x003b101#define SMA_wCurrMastVolLeft			0x003c102#define SMA_wCurrMastVolRight			0x003e103#define SMA_bUser_12				0x0040104#define SMA_bUser_13				0x0041105#define SMA_wUser_14				0x0042106#define SMA_wUser_15				0x0044107#define SMA_wCalFreqAtoD			0x0046108#define SMA_wUser_16				0x0048109#define SMA_wUser_17				0x004a110#define SMA__size				0x004c111 112#define INITCODEFILE		"turtlebeach/msndinit.bin"113#define PERMCODEFILE		"turtlebeach/msndperm.bin"114#define LONGNAME		"MultiSound (Classic/Monterey/Tahiti)"115 116#endif /* __MSND_CLASSIC_H */117