169 lines · c
1/* SPDX-License-Identifier: GPL-2.0-or-later */2/*********************************************************************3 *4 * msnd_pinnacle.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_PINNACLE_H16#define __MSND_PINNACLE_H17 18#define DSP_NUMIO 0x0819 20#define IREG_LOGDEVICE 0x0721#define IREG_ACTIVATE 0x3022#define LD_ACTIVATE 0x0123#define LD_DISACTIVATE 0x0024#define IREG_EECONTROL 0x3F25#define IREG_MEMBASEHI 0x4026#define IREG_MEMBASELO 0x4127#define IREG_MEMCONTROL 0x4228#define IREG_MEMRANGEHI 0x4329#define IREG_MEMRANGELO 0x4430#define MEMTYPE_8BIT 0x0031#define MEMTYPE_16BIT 0x0232#define MEMTYPE_RANGE 0x0033#define MEMTYPE_HIADDR 0x0134#define IREG_IO0_BASEHI 0x6035#define IREG_IO0_BASELO 0x6136#define IREG_IO1_BASEHI 0x6237#define IREG_IO1_BASELO 0x6338#define IREG_IRQ_NUMBER 0x7039#define IREG_IRQ_TYPE 0x7140#define IRQTYPE_HIGH 0x0241#define IRQTYPE_LOW 0x0042#define IRQTYPE_LEVEL 0x0143#define IRQTYPE_EDGE 0x0044 45#define HP_DSPR 0x0446#define HP_BLKS 0x0447 48#define HPDSPRESET_OFF 249#define HPDSPRESET_ON 050 51#define HPBLKSEL_0 252#define HPBLKSEL_1 353 54#define HIMT_DAT_OFF 0x0355 56#define HIDSP_PLAY_UNDER 0x0057#define HIDSP_INT_PLAY_UNDER 0x0158#define HIDSP_SSI_TX_UNDER 0x0259#define HIDSP_RECQ_OVERFLOW 0x0860#define HIDSP_INT_RECORD_OVER 0x0961#define HIDSP_SSI_RX_OVERFLOW 0x0a62 63#define HIDSP_MIDI_IN_OVER 0x1064 65#define HIDSP_MIDI_FRAME_ERR 0x1166#define HIDSP_MIDI_PARITY_ERR 0x1267#define HIDSP_MIDI_OVERRUN_ERR 0x1368 69#define HIDSP_INPUT_CLIPPING 0x2070#define HIDSP_MIX_CLIPPING 0x3071#define HIDSP_DAT_IN_OFF 0x2172 73#define TIME_PRO_RESET_DONE 0x028A74#define TIME_PRO_SYSEX 0x001E75#define TIME_PRO_RESET 0x003276 77#define DAR_BUFF_SIZE 0x100078 79#define MIDQ_BUFF_SIZE 0x80080#define DSPQ_BUFF_SIZE 0x5A081 82#define DSPQ_DATA_BUFF 0x786083 84#define MOP_WAVEHDR 085#define MOP_EXTOUT 186#define MOP_HWINIT 0xfe87#define MOP_NONE 0xff88#define MOP_MAX 189 90#define MIP_EXTIN 091#define MIP_WAVEHDR 192#define MIP_HWINIT 0xfe93#define MIP_MAX 194 95/* Pinnacle/Fiji SMA Common Data */96#define SMA_wCurrPlayBytes 0x000097#define SMA_wCurrRecordBytes 0x000298#define SMA_wCurrPlayVolLeft 0x000499#define SMA_wCurrPlayVolRight 0x0006100#define SMA_wCurrInVolLeft 0x0008101#define SMA_wCurrInVolRight 0x000a102#define SMA_wCurrMHdrVolLeft 0x000c103#define SMA_wCurrMHdrVolRight 0x000e104#define SMA_dwCurrPlayPitch 0x0010105#define SMA_dwCurrPlayRate 0x0014106#define SMA_wCurrMIDIIOPatch 0x0018107#define SMA_wCurrPlayFormat 0x001a108#define SMA_wCurrPlaySampleSize 0x001c109#define SMA_wCurrPlayChannels 0x001e110#define SMA_wCurrPlaySampleRate 0x0020111#define SMA_wCurrRecordFormat 0x0022112#define SMA_wCurrRecordSampleSize 0x0024113#define SMA_wCurrRecordChannels 0x0026114#define SMA_wCurrRecordSampleRate 0x0028115#define SMA_wCurrDSPStatusFlags 0x002a116#define SMA_wCurrHostStatusFlags 0x002c117#define SMA_wCurrInputTagBits 0x002e118#define SMA_wCurrLeftPeak 0x0030119#define SMA_wCurrRightPeak 0x0032120#define SMA_bMicPotPosLeft 0x0034121#define SMA_bMicPotPosRight 0x0035122#define SMA_bMicPotMaxLeft 0x0036123#define SMA_bMicPotMaxRight 0x0037124#define SMA_bInPotPosLeft 0x0038125#define SMA_bInPotPosRight 0x0039126#define SMA_bAuxPotPosLeft 0x003a127#define SMA_bAuxPotPosRight 0x003b128#define SMA_bInPotMaxLeft 0x003c129#define SMA_bInPotMaxRight 0x003d130#define SMA_bAuxPotMaxLeft 0x003e131#define SMA_bAuxPotMaxRight 0x003f132#define SMA_bInPotMaxMethod 0x0040133#define SMA_bAuxPotMaxMethod 0x0041134#define SMA_wCurrMastVolLeft 0x0042135#define SMA_wCurrMastVolRight 0x0044136#define SMA_wCalFreqAtoD 0x0046137#define SMA_wCurrAuxVolLeft 0x0048138#define SMA_wCurrAuxVolRight 0x004a139#define SMA_wCurrPlay1VolLeft 0x004c140#define SMA_wCurrPlay1VolRight 0x004e141#define SMA_wCurrPlay2VolLeft 0x0050142#define SMA_wCurrPlay2VolRight 0x0052143#define SMA_wCurrPlay3VolLeft 0x0054144#define SMA_wCurrPlay3VolRight 0x0056145#define SMA_wCurrPlay4VolLeft 0x0058146#define SMA_wCurrPlay4VolRight 0x005a147#define SMA_wCurrPlay1PeakLeft 0x005c148#define SMA_wCurrPlay1PeakRight 0x005e149#define SMA_wCurrPlay2PeakLeft 0x0060150#define SMA_wCurrPlay2PeakRight 0x0062151#define SMA_wCurrPlay3PeakLeft 0x0064152#define SMA_wCurrPlay3PeakRight 0x0066153#define SMA_wCurrPlay4PeakLeft 0x0068154#define SMA_wCurrPlay4PeakRight 0x006a155#define SMA_wCurrPlayPeakLeft 0x006c156#define SMA_wCurrPlayPeakRight 0x006e157#define SMA_wCurrDATSR 0x0070158#define SMA_wCurrDATRXCHNL 0x0072159#define SMA_wCurrDATTXCHNL 0x0074160#define SMA_wCurrDATRXRate 0x0076161#define SMA_dwDSPPlayCount 0x0078162#define SMA__size 0x007c163 164#define INITCODEFILE "turtlebeach/pndspini.bin"165#define PERMCODEFILE "turtlebeach/pndsperm.bin"166#define LONGNAME "MultiSound (Pinnacle/Fiji)"167 168#endif /* __MSND_PINNACLE_H */169