root/drivers/sound/gus_hw.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 
   2 /*
   3  * I/O addresses
   4  */
   5 
   6 #define u_Base                  (gus_base + 0x000)
   7 #define u_Mixer                 u_Base
   8 #define u_Status                (gus_base + 0x006)
   9 #define u_TimerControl          (gus_base + 0x008)
  10 #define u_TimerData             (gus_base + 0x009)
  11 #define u_IRQDMAControl         (gus_base + 0x00b)
  12 #define u_MidiControl           (gus_base + 0x100)
  13 #define         MIDI_RESET              0x03
  14 #define         MIDI_ENABLE_XMIT        0x20
  15 #define         MIDI_ENABLE_RCV         0x80
  16 #define u_MidiStatus            u_MidiControl
  17 #define         MIDI_RCV_FULL           0x01
  18 #define         MIDI_XMIT_EMPTY         0x02
  19 #define         MIDI_FRAME_ERR          0x10
  20 #define         MIDI_OVERRUN            0x20
  21 #define         MIDI_IRQ_PEND           0x80
  22 #define u_MidiData              (gus_base + 0x101)
  23 #define u_Voice                 (gus_base + 0x102)
  24 #define u_Command               (gus_base + 0x103)
  25 #define u_DataLo                (gus_base + 0x104)
  26 #define u_DataHi                (gus_base + 0x105)
  27 #define u_IrqStatus             u_Status
  28 #       define MIDI_TX_IRQ              0x01    /* pending MIDI xmit IRQ */
  29 #       define MIDI_RX_IRQ              0x02    /* pending MIDI recv IRQ */
  30 #       define GF1_TIMER1_IRQ           0x04    /* general purpose timer */
  31 #       define GF1_TIMER2_IRQ           0x08    /* general purpose timer */
  32 #       define WAVETABLE_IRQ            0x20    /* pending wavetable IRQ */
  33 #       define ENVELOPE_IRQ             0x40    /* pending volume envelope IRQ */
  34 #       define DMA_TC_IRQ               0x80    /* pending dma tc IRQ */
  35 #define u_DRAMIO                (gus_base + 0x107)

/* [previous][next][first][last][top][bottom][index][help] */