Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
echoaudio_dsp.h File Reference

Go to the source code of this file.

Data Structures

struct  sg_entry
 
struct  comm_page
 

Macros

#define DSP_MAXAUDIOINPUTS   16 /* Max audio input channels */
 
#define DSP_MAXAUDIOOUTPUTS   16 /* Max audio output channels */
 
#define DSP_MAXPIPES   32 /* Max total pipes (input + output) */
 
#define CHI32_CONTROL_REG   4
 
#define CHI32_STATUS_REG   5
 
#define CHI32_VECTOR_REG   6
 
#define CHI32_DATA_REG   7
 
#define CHI32_VECTOR_BUSY   0x00000001
 
#define CHI32_STATUS_REG_HF3   0x00000008
 
#define CHI32_STATUS_REG_HF4   0x00000010
 
#define CHI32_STATUS_REG_HF5   0x00000020
 
#define CHI32_STATUS_HOST_READ_FULL   0x00000004
 
#define CHI32_STATUS_HOST_WRITE_EMPTY   0x00000002
 
#define CHI32_STATUS_IRQ   0x00000040
 
#define DSP_FNC_SET_COMMPAGE_ADDR   0x02
 
#define DSP_FNC_LOAD_LAYLA_ASIC   0xa0
 
#define DSP_FNC_LOAD_GINA24_ASIC   0xa0
 
#define DSP_FNC_LOAD_MONA_PCI_CARD_ASIC   0xa0
 
#define DSP_FNC_LOAD_LAYLA24_PCI_CARD_ASIC   0xa0
 
#define DSP_FNC_LOAD_MONA_EXTERNAL_ASIC   0xa1
 
#define DSP_FNC_LOAD_LAYLA24_EXTERNAL_ASIC   0xa1
 
#define DSP_FNC_LOAD_3G_ASIC   0xa0
 
#define MIDI_IN_STATE_NORMAL   0
 
#define MIDI_IN_STATE_TS_HIGH   1
 
#define MIDI_IN_STATE_TS_LOW   2
 
#define MIDI_IN_STATE_F1_DATA   3
 
#define MIDI_IN_SKIP_DATA   (-1)
 
#define LAYLA24_MAGIC_NUMBER   677376000
 
#define LAYLA24_CONTINUOUS_CLOCK   0x000e
 
#define DSP_VC_RESET   0x80ff
 
#define DSP_VC_ACK_INT   0x8073
 
#define DSP_VC_SET_VMIXER_GAIN   0x0000 /* Not used, only for compile */
 
#define DSP_VC_START_TRANSFER   0x0075 /* Handshke rqd. */
 
#define DSP_VC_METERS_ON   0x0079
 
#define DSP_VC_METERS_OFF   0x007b
 
#define DSP_VC_UPDATE_OUTVOL   0x007d /* Handshke rqd. */
 
#define DSP_VC_UPDATE_INGAIN   0x007f /* Handshke rqd. */
 
#define DSP_VC_ADD_AUDIO_BUFFER   0x0081 /* Handshke rqd. */
 
#define DSP_VC_TEST_ASIC   0x00eb
 
#define DSP_VC_UPDATE_CLOCKS   0x00ef /* Handshke rqd. */
 
#define DSP_VC_SET_LAYLA_SAMPLE_RATE   0x00f1 /* Handshke rqd. */
 
#define DSP_VC_SET_GD_AUDIO_STATE   0x00f1 /* Handshke rqd. */
 
#define DSP_VC_WRITE_CONTROL_REG   0x00f1 /* Handshke rqd. */
 
#define DSP_VC_MIDI_WRITE   0x00f5 /* Handshke rqd. */
 
#define DSP_VC_STOP_TRANSFER   0x00f7 /* Handshke rqd. */
 
#define DSP_VC_UPDATE_FLAGS   0x00fd /* Handshke rqd. */
 
#define DSP_VC_GO_COMATOSE   0x00f9
 
#define HANDSHAKE_TIMEOUT   20000 /* send_vector command timeout (20ms) */
 
#define VECTOR_BUSY_TIMEOUT   100000 /* 100ms */
 
#define MIDI_OUT_DELAY_USEC   2000 /* How long to wait after MIDI fills up */
 
#define DSP_FLAG_MIDI_INPUT   0x0001 /* Enable MIDI input */
 
#define DSP_FLAG_SPDIF_NONAUDIO
 
#define DSP_FLAG_PROFESSIONAL_SPDIF   0x0008 /* 1 Professional, 0 Consumer */
 
#define GLDM_CLOCK_DETECT_BIT_WORD   0x0002
 
#define GLDM_CLOCK_DETECT_BIT_SUPER   0x0004
 
#define GLDM_CLOCK_DETECT_BIT_SPDIF   0x0008
 
#define GLDM_CLOCK_DETECT_BIT_ESYNC   0x0010
 
#define GML_CLOCK_DETECT_BIT_WORD96   0x0002
 
#define GML_CLOCK_DETECT_BIT_WORD48   0x0004
 
#define GML_CLOCK_DETECT_BIT_SPDIF48   0x0008
 
#define GML_CLOCK_DETECT_BIT_SPDIF96   0x0010
 
#define GML_CLOCK_DETECT_BIT_WORD   (GML_CLOCK_DETECT_BIT_WORD96 | GML_CLOCK_DETECT_BIT_WORD48)
 
#define GML_CLOCK_DETECT_BIT_SPDIF   (GML_CLOCK_DETECT_BIT_SPDIF48 | GML_CLOCK_DETECT_BIT_SPDIF96)
 
#define GML_CLOCK_DETECT_BIT_ESYNC   0x0020
 
#define GML_CLOCK_DETECT_BIT_ADAT   0x0040
 
#define LAYLA20_CLOCK_INTERNAL   0
 
#define LAYLA20_CLOCK_SPDIF   1
 
#define LAYLA20_CLOCK_WORD   2
 
#define LAYLA20_CLOCK_SUPER   3
 
#define GD_CLOCK_NOCHANGE   0
 
#define GD_CLOCK_44   1
 
#define GD_CLOCK_48   2
 
#define GD_CLOCK_SPDIFIN   3
 
#define GD_CLOCK_UNDEF   0xff
 
#define GD_SPDIF_STATUS_NOCHANGE   0
 
#define GD_SPDIF_STATUS_44   1
 
#define GD_SPDIF_STATUS_48   2
 
#define GD_SPDIF_STATUS_UNDEF   0xff
 
#define LAYLA20_OUTPUT_CLOCK_SUPER   0
 
#define LAYLA20_OUTPUT_CLOCK_WORD   1
 
#define GD24_96000   0x0
 
#define GD24_48000   0x1
 
#define GD24_44100   0x2
 
#define GD24_32000   0x3
 
#define GD24_22050   0x4
 
#define GD24_16000   0x5
 
#define GD24_11025   0x6
 
#define GD24_8000   0x7
 
#define GD24_88200   0x8
 
#define GD24_EXT_SYNC   0x9
 
#define ASIC_ALREADY_LOADED   0x1
 
#define ASIC_NOT_LOADED   0x0
 
#define DSP_AUDIOFORM_MS_8   0 /* 8 bit mono */
 
#define DSP_AUDIOFORM_MS_16LE   1 /* 16 bit mono */
 
#define DSP_AUDIOFORM_MS_24LE   2 /* 24 bit mono */
 
#define DSP_AUDIOFORM_MS_32LE   3 /* 32 bit mono */
 
#define DSP_AUDIOFORM_SS_8   4 /* 8 bit stereo */
 
#define DSP_AUDIOFORM_SS_16LE   5 /* 16 bit stereo */
 
#define DSP_AUDIOFORM_SS_24LE   6 /* 24 bit stereo */
 
#define DSP_AUDIOFORM_SS_32LE   7 /* 32 bit stereo */
 
#define DSP_AUDIOFORM_MM_32LE   8 /* 32 bit mono->mono little-endian */
 
#define DSP_AUDIOFORM_MM_32BE   9 /* 32 bit mono->mono big-endian */
 
#define DSP_AUDIOFORM_SS_32BE   10 /* 32 bit stereo big endian */
 
#define DSP_AUDIOFORM_INVALID   0xFF /* Invalid audio format */
 
#define DSP_AUDIOFORM_SUPER_INTERLEAVE_16LE   0x40
 
#define DSP_AUDIOFORM_SUPER_INTERLEAVE_24LE   0xc0
 
#define DSP_AUDIOFORM_SUPER_INTERLEAVE_32LE   0x80
 
#define GML_CONVERTER_ENABLE   0x0010
 
#define GML_SPDIF_PRO_MODE
 
#define GML_SPDIF_SAMPLE_RATE0   0x0040
 
#define GML_SPDIF_SAMPLE_RATE1   0x0080
 
#define GML_SPDIF_TWO_CHANNEL
 
#define GML_SPDIF_NOT_AUDIO   0x0200
 
#define GML_SPDIF_COPY_PERMIT   0x0400
 
#define GML_SPDIF_24_BIT   0x0800 /* 1 == 24 bit, 0 == 20 bit */
 
#define GML_ADAT_MODE   0x1000 /* 1 == ADAT mode, 0 == S/PDIF mode */
 
#define GML_SPDIF_OPTICAL_MODE   0x2000 /* 1 == optical mode, 0 == RCA mode */
 
#define GML_SPDIF_CDROM_MODE
 
#define GML_DOUBLE_SPEED_MODE
 
#define GML_DIGITAL_IN_AUTO_MUTE   0x800000
 
#define GML_96KHZ   (0x0 | GML_DOUBLE_SPEED_MODE)
 
#define GML_88KHZ   (0x1 | GML_DOUBLE_SPEED_MODE)
 
#define GML_48KHZ   0x2
 
#define GML_44KHZ   0x3
 
#define GML_32KHZ   0x4
 
#define GML_22KHZ   0x5
 
#define GML_16KHZ   0x6
 
#define GML_11KHZ   0x7
 
#define GML_8KHZ   0x8
 
#define GML_SPDIF_CLOCK   0x9
 
#define GML_ADAT_CLOCK   0xA
 
#define GML_WORD_CLOCK   0xB
 
#define GML_ESYNC_CLOCK   0xC
 
#define GML_ESYNCx2_CLOCK   0xD
 
#define GML_CLOCK_CLEAR_MASK   0xffffbff0
 
#define GML_SPDIF_RATE_CLEAR_MASK   (~(GML_SPDIF_SAMPLE_RATE0|GML_SPDIF_SAMPLE_RATE1))
 
#define GML_DIGITAL_MODE_CLEAR_MASK   0xffffcfff
 
#define GML_SPDIF_FORMAT_CLEAR_MASK   0xfffff01f
 
#define MIA_32000   0x0040
 
#define MIA_44100   0x0042
 
#define MIA_48000   0x0041
 
#define MIA_88200   0x0142
 
#define MIA_96000   0x0141
 
#define MIA_SPDIF   0x00000044
 
#define MIA_SPDIF96   0x00000144
 
#define MIA_MIDI_REV   1 /* Must be Mia rev 1 for MIDI support */
 
#define E3G_CONVERTER_ENABLE   0x0010
 
#define E3G_SPDIF_PRO_MODE
 
#define E3G_SPDIF_SAMPLE_RATE0   0x0040
 
#define E3G_SPDIF_SAMPLE_RATE1   0x0080
 
#define E3G_SPDIF_TWO_CHANNEL
 
#define E3G_SPDIF_NOT_AUDIO   0x0200
 
#define E3G_SPDIF_COPY_PERMIT   0x0400
 
#define E3G_SPDIF_24_BIT   0x0800 /* 1 == 24 bit, 0 == 20 bit */
 
#define E3G_DOUBLE_SPEED_MODE
 
#define E3G_PHANTOM_POWER
 
#define E3G_96KHZ   (0x0 | E3G_DOUBLE_SPEED_MODE)
 
#define E3G_88KHZ   (0x1 | E3G_DOUBLE_SPEED_MODE)
 
#define E3G_48KHZ   0x2
 
#define E3G_44KHZ   0x3
 
#define E3G_32KHZ   0x4
 
#define E3G_22KHZ   0x5
 
#define E3G_16KHZ   0x6
 
#define E3G_11KHZ   0x7
 
#define E3G_8KHZ   0x8
 
#define E3G_SPDIF_CLOCK   0x9
 
#define E3G_ADAT_CLOCK   0xA
 
#define E3G_WORD_CLOCK   0xB
 
#define E3G_CONTINUOUS_CLOCK   0xE
 
#define E3G_ADAT_MODE   0x1000
 
#define E3G_SPDIF_OPTICAL_MODE   0x2000
 
#define E3G_CLOCK_CLEAR_MASK   0xbfffbff0
 
#define E3G_DIGITAL_MODE_CLEAR_MASK   0xffffcfff
 
#define E3G_SPDIF_FORMAT_CLEAR_MASK   0xfffff01f
 
#define E3G_CLOCK_DETECT_BIT_WORD96   0x0001
 
#define E3G_CLOCK_DETECT_BIT_WORD48   0x0002
 
#define E3G_CLOCK_DETECT_BIT_SPDIF48   0x0004
 
#define E3G_CLOCK_DETECT_BIT_ADAT   0x0004
 
#define E3G_CLOCK_DETECT_BIT_SPDIF96   0x0008
 
#define E3G_CLOCK_DETECT_BIT_WORD   (E3G_CLOCK_DETECT_BIT_WORD96|E3G_CLOCK_DETECT_BIT_WORD48)
 
#define E3G_CLOCK_DETECT_BIT_SPDIF   (E3G_CLOCK_DETECT_BIT_SPDIF48|E3G_CLOCK_DETECT_BIT_SPDIF96)
 
#define E3G_MAGIC_NUMBER   677376000
 
#define E3G_FREQ_REG_DEFAULT   (E3G_MAGIC_NUMBER / 48000 - 2)
 
#define E3G_FREQ_REG_MAX   0xffff
 
#define E3G_GINA3G_BOX_TYPE   0x00
 
#define E3G_LAYLA3G_BOX_TYPE   0x10
 
#define E3G_ASIC_NOT_LOADED   0xffff
 
#define E3G_BOX_TYPE_MASK   0xf0
 
#define INDIGO_EXPRESS_32000   0x02
 
#define INDIGO_EXPRESS_44100   0x01
 
#define INDIGO_EXPRESS_48000   0x00
 
#define INDIGO_EXPRESS_DOUBLE_SPEED   0x10
 
#define INDIGO_EXPRESS_QUAD_SPEED   0x04
 
#define INDIGO_EXPRESS_CLOCK_MASK   0x17
 
#define GL20_INPUT_GAIN_MAGIC_NUMBER   0xC8
 
#define DSP_LOAD_ATTEMPT_PERIOD   1000000L /* One second */
 
#define MONITOR_ARRAY_SIZE   0x180
 
#define VMIXER_ARRAY_SIZE   0x40
 
#define MIDI_OUT_BUFFER_SIZE   32
 
#define MIDI_IN_BUFFER_SIZE   256
 
#define MAX_PLAY_TAPS   168
 
#define MAX_REC_TAPS   192
 
#define DSP_MIDI_OUT_FIFO_SIZE   64
 
#define MAX_SGLIST_ENTRIES   512
 

Macro Definition Documentation

#define ASIC_ALREADY_LOADED   0x1

Definition at line 355 of file echoaudio_dsp.h.

#define ASIC_NOT_LOADED   0x0

Definition at line 356 of file echoaudio_dsp.h.

#define CHI32_CONTROL_REG   4

Definition at line 85 of file echoaudio_dsp.h.

#define CHI32_DATA_REG   7

Definition at line 88 of file echoaudio_dsp.h.

#define CHI32_STATUS_HOST_READ_FULL   0x00000004

Definition at line 101 of file echoaudio_dsp.h.

#define CHI32_STATUS_HOST_WRITE_EMPTY   0x00000002

Definition at line 102 of file echoaudio_dsp.h.

#define CHI32_STATUS_IRQ   0x00000040

Definition at line 103 of file echoaudio_dsp.h.

#define CHI32_STATUS_REG   5

Definition at line 86 of file echoaudio_dsp.h.

#define CHI32_STATUS_REG_HF3   0x00000008

Definition at line 98 of file echoaudio_dsp.h.

#define CHI32_STATUS_REG_HF4   0x00000010

Definition at line 99 of file echoaudio_dsp.h.

#define CHI32_STATUS_REG_HF5   0x00000020

Definition at line 100 of file echoaudio_dsp.h.

#define CHI32_VECTOR_BUSY   0x00000001

Definition at line 97 of file echoaudio_dsp.h.

#define CHI32_VECTOR_REG   6

Definition at line 87 of file echoaudio_dsp.h.

#define DSP_AUDIOFORM_INVALID   0xFF /* Invalid audio format */

Definition at line 425 of file echoaudio_dsp.h.

#define DSP_AUDIOFORM_MM_32BE   9 /* 32 bit mono->mono big-endian */

Definition at line 423 of file echoaudio_dsp.h.

#define DSP_AUDIOFORM_MM_32LE   8 /* 32 bit mono->mono little-endian */

Definition at line 422 of file echoaudio_dsp.h.

#define DSP_AUDIOFORM_MS_16LE   1 /* 16 bit mono */

Definition at line 415 of file echoaudio_dsp.h.

#define DSP_AUDIOFORM_MS_24LE   2 /* 24 bit mono */

Definition at line 416 of file echoaudio_dsp.h.

#define DSP_AUDIOFORM_MS_32LE   3 /* 32 bit mono */

Definition at line 417 of file echoaudio_dsp.h.

#define DSP_AUDIOFORM_MS_8   0 /* 8 bit mono */

Definition at line 414 of file echoaudio_dsp.h.

#define DSP_AUDIOFORM_SS_16LE   5 /* 16 bit stereo */

Definition at line 419 of file echoaudio_dsp.h.

#define DSP_AUDIOFORM_SS_24LE   6 /* 24 bit stereo */

Definition at line 420 of file echoaudio_dsp.h.

#define DSP_AUDIOFORM_SS_32BE   10 /* 32 bit stereo big endian */

Definition at line 424 of file echoaudio_dsp.h.

#define DSP_AUDIOFORM_SS_32LE   7 /* 32 bit stereo */

Definition at line 421 of file echoaudio_dsp.h.

#define DSP_AUDIOFORM_SS_8   4 /* 8 bit stereo */

Definition at line 418 of file echoaudio_dsp.h.

#define DSP_AUDIOFORM_SUPER_INTERLEAVE_16LE   0x40

Definition at line 443 of file echoaudio_dsp.h.

#define DSP_AUDIOFORM_SUPER_INTERLEAVE_24LE   0xc0

Definition at line 444 of file echoaudio_dsp.h.

#define DSP_AUDIOFORM_SUPER_INTERLEAVE_32LE   0x80

Definition at line 445 of file echoaudio_dsp.h.

#define DSP_FLAG_MIDI_INPUT   0x0001 /* Enable MIDI input */

Definition at line 251 of file echoaudio_dsp.h.

#define DSP_FLAG_PROFESSIONAL_SPDIF   0x0008 /* 1 Professional, 0 Consumer */

Definition at line 253 of file echoaudio_dsp.h.

#define DSP_FLAG_SPDIF_NONAUDIO
Value:
0x0002 /* Sets the "non-audio" bit
* in the S/PDIF out status
* bits. Clear this flag for
* audio data;
* set it for AC3 or WMA or
* some such */

Definition at line 252 of file echoaudio_dsp.h.

#define DSP_FNC_LOAD_3G_ASIC   0xa0

Definition at line 119 of file echoaudio_dsp.h.

#define DSP_FNC_LOAD_GINA24_ASIC   0xa0

Definition at line 114 of file echoaudio_dsp.h.

#define DSP_FNC_LOAD_LAYLA24_EXTERNAL_ASIC   0xa1

Definition at line 118 of file echoaudio_dsp.h.

#define DSP_FNC_LOAD_LAYLA24_PCI_CARD_ASIC   0xa0

Definition at line 116 of file echoaudio_dsp.h.

#define DSP_FNC_LOAD_LAYLA_ASIC   0xa0

Definition at line 113 of file echoaudio_dsp.h.

#define DSP_FNC_LOAD_MONA_EXTERNAL_ASIC   0xa1

Definition at line 117 of file echoaudio_dsp.h.

#define DSP_FNC_LOAD_MONA_PCI_CARD_ASIC   0xa0

Definition at line 115 of file echoaudio_dsp.h.

#define DSP_FNC_SET_COMMPAGE_ADDR   0x02

Definition at line 112 of file echoaudio_dsp.h.

#define DSP_LOAD_ATTEMPT_PERIOD   1000000L /* One second */

Definition at line 591 of file echoaudio_dsp.h.

#define DSP_MAXAUDIOINPUTS   16 /* Max audio input channels */

Definition at line 74 of file echoaudio_dsp.h.

#define DSP_MAXAUDIOOUTPUTS   16 /* Max audio output channels */

Definition at line 75 of file echoaudio_dsp.h.

#define DSP_MAXPIPES   32 /* Max total pipes (input + output) */

Definition at line 76 of file echoaudio_dsp.h.

#define DSP_MIDI_OUT_FIFO_SIZE   64

Definition at line 608 of file echoaudio_dsp.h.

#define DSP_VC_ACK_INT   0x8073

Definition at line 191 of file echoaudio_dsp.h.

#define DSP_VC_ADD_AUDIO_BUFFER   0x0081 /* Handshke rqd. */

Definition at line 198 of file echoaudio_dsp.h.

#define DSP_VC_GO_COMATOSE   0x00f9

Definition at line 207 of file echoaudio_dsp.h.

#define DSP_VC_METERS_OFF   0x007b

Definition at line 195 of file echoaudio_dsp.h.

#define DSP_VC_METERS_ON   0x0079

Definition at line 194 of file echoaudio_dsp.h.

#define DSP_VC_MIDI_WRITE   0x00f5 /* Handshke rqd. */

Definition at line 204 of file echoaudio_dsp.h.

#define DSP_VC_RESET   0x80ff

Definition at line 187 of file echoaudio_dsp.h.

#define DSP_VC_SET_GD_AUDIO_STATE   0x00f1 /* Handshke rqd. */

Definition at line 202 of file echoaudio_dsp.h.

#define DSP_VC_SET_LAYLA_SAMPLE_RATE   0x00f1 /* Handshke rqd. */

Definition at line 201 of file echoaudio_dsp.h.

#define DSP_VC_SET_VMIXER_GAIN   0x0000 /* Not used, only for compile */

Definition at line 192 of file echoaudio_dsp.h.

#define DSP_VC_START_TRANSFER   0x0075 /* Handshke rqd. */

Definition at line 193 of file echoaudio_dsp.h.

#define DSP_VC_STOP_TRANSFER   0x00f7 /* Handshke rqd. */

Definition at line 205 of file echoaudio_dsp.h.

#define DSP_VC_TEST_ASIC   0x00eb

Definition at line 199 of file echoaudio_dsp.h.

#define DSP_VC_UPDATE_CLOCKS   0x00ef /* Handshke rqd. */

Definition at line 200 of file echoaudio_dsp.h.

#define DSP_VC_UPDATE_FLAGS   0x00fd /* Handshke rqd. */

Definition at line 206 of file echoaudio_dsp.h.

#define DSP_VC_UPDATE_INGAIN   0x007f /* Handshke rqd. */

Definition at line 197 of file echoaudio_dsp.h.

#define DSP_VC_UPDATE_OUTVOL   0x007d /* Handshke rqd. */

Definition at line 196 of file echoaudio_dsp.h.

#define DSP_VC_WRITE_CONTROL_REG   0x00f1 /* Handshke rqd. */

Definition at line 203 of file echoaudio_dsp.h.

#define E3G_11KHZ   0x7

Definition at line 532 of file echoaudio_dsp.h.

#define E3G_16KHZ   0x6

Definition at line 531 of file echoaudio_dsp.h.

#define E3G_22KHZ   0x5

Definition at line 530 of file echoaudio_dsp.h.

#define E3G_32KHZ   0x4

Definition at line 529 of file echoaudio_dsp.h.

#define E3G_44KHZ   0x3

Definition at line 528 of file echoaudio_dsp.h.

#define E3G_48KHZ   0x2

Definition at line 527 of file echoaudio_dsp.h.

#define E3G_88KHZ   (0x1 | E3G_DOUBLE_SPEED_MODE)

Definition at line 526 of file echoaudio_dsp.h.

#define E3G_8KHZ   0x8

Definition at line 533 of file echoaudio_dsp.h.

#define E3G_96KHZ   (0x0 | E3G_DOUBLE_SPEED_MODE)

Definition at line 525 of file echoaudio_dsp.h.

#define E3G_ADAT_CLOCK   0xA

Definition at line 535 of file echoaudio_dsp.h.

#define E3G_ADAT_MODE   0x1000

Definition at line 539 of file echoaudio_dsp.h.

#define E3G_ASIC_NOT_LOADED   0xffff

Definition at line 563 of file echoaudio_dsp.h.

#define E3G_BOX_TYPE_MASK   0xf0

Definition at line 564 of file echoaudio_dsp.h.

#define E3G_CLOCK_CLEAR_MASK   0xbfffbff0

Definition at line 542 of file echoaudio_dsp.h.

#define E3G_CLOCK_DETECT_BIT_ADAT   0x0004

Definition at line 550 of file echoaudio_dsp.h.

#define E3G_CLOCK_DETECT_BIT_SPDIF   (E3G_CLOCK_DETECT_BIT_SPDIF48|E3G_CLOCK_DETECT_BIT_SPDIF96)

Definition at line 553 of file echoaudio_dsp.h.

#define E3G_CLOCK_DETECT_BIT_SPDIF48   0x0004

Definition at line 549 of file echoaudio_dsp.h.

#define E3G_CLOCK_DETECT_BIT_SPDIF96   0x0008

Definition at line 551 of file echoaudio_dsp.h.

#define E3G_CLOCK_DETECT_BIT_WORD   (E3G_CLOCK_DETECT_BIT_WORD96|E3G_CLOCK_DETECT_BIT_WORD48)

Definition at line 552 of file echoaudio_dsp.h.

#define E3G_CLOCK_DETECT_BIT_WORD48   0x0002

Definition at line 548 of file echoaudio_dsp.h.

#define E3G_CLOCK_DETECT_BIT_WORD96   0x0001

Definition at line 547 of file echoaudio_dsp.h.

#define E3G_CONTINUOUS_CLOCK   0xE

Definition at line 537 of file echoaudio_dsp.h.

#define E3G_CONVERTER_ENABLE   0x0010

Definition at line 514 of file echoaudio_dsp.h.

#define E3G_DIGITAL_MODE_CLEAR_MASK   0xffffcfff

Definition at line 543 of file echoaudio_dsp.h.

#define E3G_DOUBLE_SPEED_MODE
Value:
0x4000 /* 1 == double speed,
0 == single speed */

Definition at line 522 of file echoaudio_dsp.h.

#define E3G_FREQ_REG_DEFAULT   (E3G_MAGIC_NUMBER / 48000 - 2)

Definition at line 557 of file echoaudio_dsp.h.

#define E3G_FREQ_REG_MAX   0xffff

Definition at line 558 of file echoaudio_dsp.h.

#define E3G_GINA3G_BOX_TYPE   0x00

Definition at line 561 of file echoaudio_dsp.h.

#define E3G_LAYLA3G_BOX_TYPE   0x10

Definition at line 562 of file echoaudio_dsp.h.

#define E3G_MAGIC_NUMBER   677376000

Definition at line 556 of file echoaudio_dsp.h.

#define E3G_PHANTOM_POWER
Value:
0x8000 /* 1 == phantom power on,
0 == phantom power off */

Definition at line 523 of file echoaudio_dsp.h.

#define E3G_SPDIF_24_BIT   0x0800 /* 1 == 24 bit, 0 == 20 bit */

Definition at line 521 of file echoaudio_dsp.h.

#define E3G_SPDIF_CLOCK   0x9

Definition at line 534 of file echoaudio_dsp.h.

#define E3G_SPDIF_COPY_PERMIT   0x0400

Definition at line 520 of file echoaudio_dsp.h.

#define E3G_SPDIF_FORMAT_CLEAR_MASK   0xfffff01f

Definition at line 544 of file echoaudio_dsp.h.

#define E3G_SPDIF_NOT_AUDIO   0x0200

Definition at line 519 of file echoaudio_dsp.h.

#define E3G_SPDIF_OPTICAL_MODE   0x2000

Definition at line 540 of file echoaudio_dsp.h.

#define E3G_SPDIF_PRO_MODE
Value:
0x0020 /* Professional S/PDIF == 1,
consumer == 0 */

Definition at line 515 of file echoaudio_dsp.h.

#define E3G_SPDIF_SAMPLE_RATE0   0x0040

Definition at line 516 of file echoaudio_dsp.h.

#define E3G_SPDIF_SAMPLE_RATE1   0x0080

Definition at line 517 of file echoaudio_dsp.h.

#define E3G_SPDIF_TWO_CHANNEL
Value:
0x0100 /* 1 == two channels,
0 == one channel */

Definition at line 518 of file echoaudio_dsp.h.

#define E3G_WORD_CLOCK   0xB

Definition at line 536 of file echoaudio_dsp.h.

#define GD24_11025   0x6

Definition at line 343 of file echoaudio_dsp.h.

#define GD24_16000   0x5

Definition at line 342 of file echoaudio_dsp.h.

#define GD24_22050   0x4

Definition at line 341 of file echoaudio_dsp.h.

#define GD24_32000   0x3

Definition at line 340 of file echoaudio_dsp.h.

#define GD24_44100   0x2

Definition at line 339 of file echoaudio_dsp.h.

#define GD24_48000   0x1

Definition at line 338 of file echoaudio_dsp.h.

#define GD24_8000   0x7

Definition at line 344 of file echoaudio_dsp.h.

#define GD24_88200   0x8

Definition at line 345 of file echoaudio_dsp.h.

#define GD24_96000   0x0

Definition at line 337 of file echoaudio_dsp.h.

#define GD24_EXT_SYNC   0x9

Definition at line 346 of file echoaudio_dsp.h.

#define GD_CLOCK_44   1

Definition at line 303 of file echoaudio_dsp.h.

#define GD_CLOCK_48   2

Definition at line 304 of file echoaudio_dsp.h.

#define GD_CLOCK_NOCHANGE   0

Definition at line 302 of file echoaudio_dsp.h.

#define GD_CLOCK_SPDIFIN   3

Definition at line 305 of file echoaudio_dsp.h.

#define GD_CLOCK_UNDEF   0xff

Definition at line 306 of file echoaudio_dsp.h.

#define GD_SPDIF_STATUS_44   1

Definition at line 316 of file echoaudio_dsp.h.

#define GD_SPDIF_STATUS_48   2

Definition at line 317 of file echoaudio_dsp.h.

#define GD_SPDIF_STATUS_NOCHANGE   0

Definition at line 315 of file echoaudio_dsp.h.

#define GD_SPDIF_STATUS_UNDEF   0xff

Definition at line 318 of file echoaudio_dsp.h.

#define GL20_INPUT_GAIN_MAGIC_NUMBER   0xC8

Definition at line 582 of file echoaudio_dsp.h.

#define GLDM_CLOCK_DETECT_BIT_ESYNC   0x0010

Definition at line 265 of file echoaudio_dsp.h.

#define GLDM_CLOCK_DETECT_BIT_SPDIF   0x0008

Definition at line 264 of file echoaudio_dsp.h.

#define GLDM_CLOCK_DETECT_BIT_SUPER   0x0004

Definition at line 263 of file echoaudio_dsp.h.

#define GLDM_CLOCK_DETECT_BIT_WORD   0x0002

Definition at line 262 of file echoaudio_dsp.h.

#define GML_11KHZ   0x7

Definition at line 476 of file echoaudio_dsp.h.

#define GML_16KHZ   0x6

Definition at line 475 of file echoaudio_dsp.h.

#define GML_22KHZ   0x5

Definition at line 474 of file echoaudio_dsp.h.

#define GML_32KHZ   0x4

Definition at line 473 of file echoaudio_dsp.h.

#define GML_44KHZ   0x3

Definition at line 472 of file echoaudio_dsp.h.

#define GML_48KHZ   0x2

Definition at line 471 of file echoaudio_dsp.h.

#define GML_88KHZ   (0x1 | GML_DOUBLE_SPEED_MODE)

Definition at line 470 of file echoaudio_dsp.h.

#define GML_8KHZ   0x8

Definition at line 477 of file echoaudio_dsp.h.

#define GML_96KHZ   (0x0 | GML_DOUBLE_SPEED_MODE)

Definition at line 469 of file echoaudio_dsp.h.

#define GML_ADAT_CLOCK   0xA

Definition at line 479 of file echoaudio_dsp.h.

#define GML_ADAT_MODE   0x1000 /* 1 == ADAT mode, 0 == S/PDIF mode */

Definition at line 462 of file echoaudio_dsp.h.

#define GML_CLOCK_CLEAR_MASK   0xffffbff0

Definition at line 484 of file echoaudio_dsp.h.

#define GML_CLOCK_DETECT_BIT_ADAT   0x0040

Definition at line 281 of file echoaudio_dsp.h.

#define GML_CLOCK_DETECT_BIT_ESYNC   0x0020

Definition at line 280 of file echoaudio_dsp.h.

#define GML_CLOCK_DETECT_BIT_SPDIF   (GML_CLOCK_DETECT_BIT_SPDIF48 | GML_CLOCK_DETECT_BIT_SPDIF96)

Definition at line 279 of file echoaudio_dsp.h.

#define GML_CLOCK_DETECT_BIT_SPDIF48   0x0008

Definition at line 276 of file echoaudio_dsp.h.

#define GML_CLOCK_DETECT_BIT_SPDIF96   0x0010

Definition at line 277 of file echoaudio_dsp.h.

#define GML_CLOCK_DETECT_BIT_WORD   (GML_CLOCK_DETECT_BIT_WORD96 | GML_CLOCK_DETECT_BIT_WORD48)

Definition at line 278 of file echoaudio_dsp.h.

#define GML_CLOCK_DETECT_BIT_WORD48   0x0004

Definition at line 275 of file echoaudio_dsp.h.

#define GML_CLOCK_DETECT_BIT_WORD96   0x0002

Definition at line 274 of file echoaudio_dsp.h.

#define GML_CONVERTER_ENABLE   0x0010

Definition at line 454 of file echoaudio_dsp.h.

#define GML_DIGITAL_IN_AUTO_MUTE   0x800000

Definition at line 467 of file echoaudio_dsp.h.

#define GML_DIGITAL_MODE_CLEAR_MASK   0xffffcfff

Definition at line 486 of file echoaudio_dsp.h.

#define GML_DOUBLE_SPEED_MODE
Value:
0x4000 /* 1 == double speed,
0 == single speed */

Definition at line 465 of file echoaudio_dsp.h.

#define GML_ESYNC_CLOCK   0xC

Definition at line 481 of file echoaudio_dsp.h.

#define GML_ESYNCx2_CLOCK   0xD

Definition at line 482 of file echoaudio_dsp.h.

#define GML_SPDIF_24_BIT   0x0800 /* 1 == 24 bit, 0 == 20 bit */

Definition at line 461 of file echoaudio_dsp.h.

#define GML_SPDIF_CDROM_MODE
Value:
0x3000 /* 1 == CDROM mode,
* 0 == RCA or optical mode */

Definition at line 464 of file echoaudio_dsp.h.

#define GML_SPDIF_CLOCK   0x9

Definition at line 478 of file echoaudio_dsp.h.

#define GML_SPDIF_COPY_PERMIT   0x0400

Definition at line 460 of file echoaudio_dsp.h.

#define GML_SPDIF_FORMAT_CLEAR_MASK   0xfffff01f

Definition at line 487 of file echoaudio_dsp.h.

#define GML_SPDIF_NOT_AUDIO   0x0200

Definition at line 459 of file echoaudio_dsp.h.

#define GML_SPDIF_OPTICAL_MODE   0x2000 /* 1 == optical mode, 0 == RCA mode */

Definition at line 463 of file echoaudio_dsp.h.

#define GML_SPDIF_PRO_MODE
Value:
0x0020 /* Professional S/PDIF == 1,
consumer == 0 */

Definition at line 455 of file echoaudio_dsp.h.

#define GML_SPDIF_RATE_CLEAR_MASK   (~(GML_SPDIF_SAMPLE_RATE0|GML_SPDIF_SAMPLE_RATE1))

Definition at line 485 of file echoaudio_dsp.h.

#define GML_SPDIF_SAMPLE_RATE0   0x0040

Definition at line 456 of file echoaudio_dsp.h.

#define GML_SPDIF_SAMPLE_RATE1   0x0080

Definition at line 457 of file echoaudio_dsp.h.

#define GML_SPDIF_TWO_CHANNEL
Value:
0x0100 /* 1 == two channels,
0 == one channel */

Definition at line 458 of file echoaudio_dsp.h.

#define GML_WORD_CLOCK   0xB

Definition at line 480 of file echoaudio_dsp.h.

#define HANDSHAKE_TIMEOUT   20000 /* send_vector command timeout (20ms) */

Definition at line 240 of file echoaudio_dsp.h.

#define INDIGO_EXPRESS_32000   0x02

Definition at line 567 of file echoaudio_dsp.h.

#define INDIGO_EXPRESS_44100   0x01

Definition at line 568 of file echoaudio_dsp.h.

#define INDIGO_EXPRESS_48000   0x00

Definition at line 569 of file echoaudio_dsp.h.

#define INDIGO_EXPRESS_CLOCK_MASK   0x17

Definition at line 572 of file echoaudio_dsp.h.

#define INDIGO_EXPRESS_DOUBLE_SPEED   0x10

Definition at line 570 of file echoaudio_dsp.h.

#define INDIGO_EXPRESS_QUAD_SPEED   0x04

Definition at line 571 of file echoaudio_dsp.h.

#define LAYLA20_CLOCK_INTERNAL   0

Definition at line 290 of file echoaudio_dsp.h.

#define LAYLA20_CLOCK_SPDIF   1

Definition at line 291 of file echoaudio_dsp.h.

#define LAYLA20_CLOCK_SUPER   3

Definition at line 293 of file echoaudio_dsp.h.

#define LAYLA20_CLOCK_WORD   2

Definition at line 292 of file echoaudio_dsp.h.

#define LAYLA20_OUTPUT_CLOCK_SUPER   0

Definition at line 327 of file echoaudio_dsp.h.

#define LAYLA20_OUTPUT_CLOCK_WORD   1

Definition at line 328 of file echoaudio_dsp.h.

#define LAYLA24_CONTINUOUS_CLOCK   0x000e

Definition at line 178 of file echoaudio_dsp.h.

#define LAYLA24_MAGIC_NUMBER   677376000

Definition at line 177 of file echoaudio_dsp.h.

#define MAX_PLAY_TAPS   168

Definition at line 606 of file echoaudio_dsp.h.

#define MAX_REC_TAPS   192

Definition at line 607 of file echoaudio_dsp.h.

#define MAX_SGLIST_ENTRIES   512

Definition at line 614 of file echoaudio_dsp.h.

#define MIA_32000   0x0040

Definition at line 496 of file echoaudio_dsp.h.

#define MIA_44100   0x0042

Definition at line 497 of file echoaudio_dsp.h.

#define MIA_48000   0x0041

Definition at line 498 of file echoaudio_dsp.h.

#define MIA_88200   0x0142

Definition at line 499 of file echoaudio_dsp.h.

#define MIA_96000   0x0141

Definition at line 500 of file echoaudio_dsp.h.

#define MIA_MIDI_REV   1 /* Must be Mia rev 1 for MIDI support */

Definition at line 505 of file echoaudio_dsp.h.

#define MIA_SPDIF   0x00000044

Definition at line 502 of file echoaudio_dsp.h.

#define MIA_SPDIF96   0x00000144

Definition at line 503 of file echoaudio_dsp.h.

#define MIDI_IN_BUFFER_SIZE   256

Definition at line 605 of file echoaudio_dsp.h.

#define MIDI_IN_SKIP_DATA   (-1)

Definition at line 133 of file echoaudio_dsp.h.

#define MIDI_IN_STATE_F1_DATA   3

Definition at line 132 of file echoaudio_dsp.h.

#define MIDI_IN_STATE_NORMAL   0

Definition at line 129 of file echoaudio_dsp.h.

#define MIDI_IN_STATE_TS_HIGH   1

Definition at line 130 of file echoaudio_dsp.h.

#define MIDI_IN_STATE_TS_LOW   2

Definition at line 131 of file echoaudio_dsp.h.

#define MIDI_OUT_BUFFER_SIZE   32

Definition at line 604 of file echoaudio_dsp.h.

#define MIDI_OUT_DELAY_USEC   2000 /* How long to wait after MIDI fills up */

Definition at line 242 of file echoaudio_dsp.h.

#define MONITOR_ARRAY_SIZE   0x180

Definition at line 602 of file echoaudio_dsp.h.

#define VECTOR_BUSY_TIMEOUT   100000 /* 100ms */

Definition at line 241 of file echoaudio_dsp.h.

#define VMIXER_ARRAY_SIZE   0x40

Definition at line 603 of file echoaudio_dsp.h.