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

Go to the source code of this file.

Macros

#define EMU8000_DATA0(e)   ((e)->port1)
 
#define EMU8000_DATA1(e)   ((e)->port2)
 
#define EMU8000_DATA2(e)   ((e)->port2+2)
 
#define EMU8000_DATA3(e)   ((e)->port3)
 
#define EMU8000_PTR(e)   ((e)->port3+2)
 
#define EMU8000_CMD(reg, chan)   ((reg)<<5 | (chan))
 
#define EMU8000_CPF_READ(emu, chan)   snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(0, (chan)))
 
#define EMU8000_PTRX_READ(emu, chan)   snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(1, (chan)))
 
#define EMU8000_CVCF_READ(emu, chan)   snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(2, (chan)))
 
#define EMU8000_VTFT_READ(emu, chan)   snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(3, (chan)))
 
#define EMU8000_PSST_READ(emu, chan)   snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(6, (chan)))
 
#define EMU8000_CSL_READ(emu, chan)   snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(7, (chan)))
 
#define EMU8000_CCCA_READ(emu, chan)   snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(0, (chan)))
 
#define EMU8000_HWCF4_READ(emu)   snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 9))
 
#define EMU8000_HWCF5_READ(emu)   snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 10))
 
#define EMU8000_HWCF6_READ(emu)   snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 13))
 
#define EMU8000_SMALR_READ(emu)   snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 20))
 
#define EMU8000_SMARR_READ(emu)   snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 21))
 
#define EMU8000_SMALW_READ(emu)   snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 22))
 
#define EMU8000_SMARW_READ(emu)   snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 23))
 
#define EMU8000_SMLD_READ(emu)   snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 26))
 
#define EMU8000_SMRD_READ(emu)   snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(1, 26))
 
#define EMU8000_WC_READ(emu)   snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(1, 27))
 
#define EMU8000_HWCF1_READ(emu)   snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 29))
 
#define EMU8000_HWCF2_READ(emu)   snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 30))
 
#define EMU8000_HWCF3_READ(emu)   snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 31))
 
#define EMU8000_INIT1_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(2, (chan)))
 
#define EMU8000_INIT2_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(2, (chan)))
 
#define EMU8000_INIT3_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(3, (chan)))
 
#define EMU8000_INIT4_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(3, (chan)))
 
#define EMU8000_ENVVOL_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(4, (chan)))
 
#define EMU8000_DCYSUSV_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(5, (chan)))
 
#define EMU8000_ENVVAL_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(6, (chan)))
 
#define EMU8000_DCYSUS_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(7, (chan)))
 
#define EMU8000_ATKHLDV_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(4, (chan)))
 
#define EMU8000_LFO1VAL_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(5, (chan)))
 
#define EMU8000_ATKHLD_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(6, (chan)))
 
#define EMU8000_LFO2VAL_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(7, (chan)))
 
#define EMU8000_IP_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA3(emu), EMU8000_CMD(0, (chan)))
 
#define EMU8000_IFATN_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA3(emu), EMU8000_CMD(1, (chan)))
 
#define EMU8000_PEFE_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA3(emu), EMU8000_CMD(2, (chan)))
 
#define EMU8000_FMMOD_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA3(emu), EMU8000_CMD(3, (chan)))
 
#define EMU8000_TREMFRQ_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA3(emu), EMU8000_CMD(4, (chan)))
 
#define EMU8000_FM2FRQ2_READ(emu, chan)   snd_emu8000_peek((emu), EMU8000_DATA3(emu), EMU8000_CMD(5, (chan)))
 
#define EMU8000_CPF_WRITE(emu, chan, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(0, (chan)), (val))
 
#define EMU8000_PTRX_WRITE(emu, chan, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(1, (chan)), (val))
 
#define EMU8000_CVCF_WRITE(emu, chan, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(2, (chan)), (val))
 
#define EMU8000_VTFT_WRITE(emu, chan, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(3, (chan)), (val))
 
#define EMU8000_PSST_WRITE(emu, chan, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(6, (chan)), (val))
 
#define EMU8000_CSL_WRITE(emu, chan, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(7, (chan)), (val))
 
#define EMU8000_CCCA_WRITE(emu, chan, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(0, (chan)), (val))
 
#define EMU8000_HWCF4_WRITE(emu, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 9), (val))
 
#define EMU8000_HWCF5_WRITE(emu, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 10), (val))
 
#define EMU8000_HWCF6_WRITE(emu, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 13), (val))
 
#define EMU8000_HWCF7_WRITE(emu, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 14), (val))
 
#define EMU8000_SMALR_WRITE(emu, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 20), (val))
 
#define EMU8000_SMARR_WRITE(emu, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 21), (val))
 
#define EMU8000_SMALW_WRITE(emu, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 22), (val))
 
#define EMU8000_SMARW_WRITE(emu, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 23), (val))
 
#define EMU8000_SMLD_WRITE(emu, val)   snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 26), (val))
 
#define EMU8000_SMRD_WRITE(emu, val)   snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(1, 26), (val))
 
#define EMU8000_WC_WRITE(emu, val)   snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(1, 27), (val))
 
#define EMU8000_HWCF1_WRITE(emu, val)   snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 29), (val))
 
#define EMU8000_HWCF2_WRITE(emu, val)   snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 30), (val))
 
#define EMU8000_HWCF3_WRITE(emu, val)   snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 31), (val))
 
#define EMU8000_INIT1_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(2, (chan)), (val))
 
#define EMU8000_INIT2_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(2, (chan)), (val))
 
#define EMU8000_INIT3_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(3, (chan)), (val))
 
#define EMU8000_INIT4_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(3, (chan)), (val))
 
#define EMU8000_ENVVOL_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(4, (chan)), (val))
 
#define EMU8000_DCYSUSV_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(5, (chan)), (val))
 
#define EMU8000_ENVVAL_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(6, (chan)), (val))
 
#define EMU8000_DCYSUS_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(7, (chan)), (val))
 
#define EMU8000_ATKHLDV_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(4, (chan)), (val))
 
#define EMU8000_LFO1VAL_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(5, (chan)), (val))
 
#define EMU8000_ATKHLD_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(6, (chan)), (val))
 
#define EMU8000_LFO2VAL_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(7, (chan)), (val))
 
#define EMU8000_IP_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(0, (chan)), (val))
 
#define EMU8000_IFATN_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(1, (chan)), (val))
 
#define EMU8000_PEFE_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(2, (chan)), (val))
 
#define EMU8000_FMMOD_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(3, (chan)), (val))
 
#define EMU8000_TREMFRQ_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(4, (chan)), (val))
 
#define EMU8000_FM2FRQ2_WRITE(emu, chan, val)   snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(5, (chan)), (val))
 
#define EMU8000_0080_WRITE(emu, chan, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(4, (chan)), (val))
 
#define EMU8000_00A0_WRITE(emu, chan, val)   snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(5, (chan)), (val))
 

Macro Definition Documentation

#define EMU8000_0080_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(4, (chan)), (val))

Definition at line 202 of file emu8000_reg.h.

#define EMU8000_00A0_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(5, (chan)), (val))

Definition at line 204 of file emu8000_reg.h.

#define EMU8000_ATKHLD_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(6, (chan)))

Definition at line 104 of file emu8000_reg.h.

#define EMU8000_ATKHLD_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(6, (chan)), (val))

Definition at line 185 of file emu8000_reg.h.

#define EMU8000_ATKHLDV_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(4, (chan)))

Definition at line 100 of file emu8000_reg.h.

#define EMU8000_ATKHLDV_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(4, (chan)), (val))

Definition at line 181 of file emu8000_reg.h.

#define EMU8000_CCCA_READ (   emu,
  chan 
)    snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(0, (chan)))

Definition at line 56 of file emu8000_reg.h.

#define EMU8000_CCCA_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(0, (chan)), (val))

Definition at line 134 of file emu8000_reg.h.

#define EMU8000_CMD (   reg,
  chan 
)    ((reg)<<5 | (chan))

Definition at line 38 of file emu8000_reg.h.

#define EMU8000_CPF_READ (   emu,
  chan 
)    snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(0, (chan)))

Definition at line 44 of file emu8000_reg.h.

#define EMU8000_CPF_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(0, (chan)), (val))

Definition at line 122 of file emu8000_reg.h.

#define EMU8000_CSL_READ (   emu,
  chan 
)    snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(7, (chan)))

Definition at line 54 of file emu8000_reg.h.

#define EMU8000_CSL_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(7, (chan)), (val))

Definition at line 132 of file emu8000_reg.h.

#define EMU8000_CVCF_READ (   emu,
  chan 
)    snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(2, (chan)))

Definition at line 48 of file emu8000_reg.h.

#define EMU8000_CVCF_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(2, (chan)), (val))

Definition at line 126 of file emu8000_reg.h.

#define EMU8000_DATA0 (   e)    ((e)->port1)

Definition at line 29 of file emu8000_reg.h.

#define EMU8000_DATA1 (   e)    ((e)->port2)

Definition at line 30 of file emu8000_reg.h.

#define EMU8000_DATA2 (   e)    ((e)->port2+2)

Definition at line 31 of file emu8000_reg.h.

#define EMU8000_DATA3 (   e)    ((e)->port3)

Definition at line 32 of file emu8000_reg.h.

#define EMU8000_DCYSUS_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(7, (chan)))

Definition at line 98 of file emu8000_reg.h.

#define EMU8000_DCYSUS_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(7, (chan)), (val))

Definition at line 179 of file emu8000_reg.h.

#define EMU8000_DCYSUSV_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(5, (chan)))

Definition at line 94 of file emu8000_reg.h.

#define EMU8000_DCYSUSV_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(5, (chan)), (val))

Definition at line 175 of file emu8000_reg.h.

#define EMU8000_ENVVAL_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(6, (chan)))

Definition at line 96 of file emu8000_reg.h.

#define EMU8000_ENVVAL_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(6, (chan)), (val))

Definition at line 177 of file emu8000_reg.h.

#define EMU8000_ENVVOL_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(4, (chan)))

Definition at line 92 of file emu8000_reg.h.

#define EMU8000_ENVVOL_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(4, (chan)), (val))

Definition at line 173 of file emu8000_reg.h.

#define EMU8000_FM2FRQ2_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA3(emu), EMU8000_CMD(5, (chan)))

Definition at line 118 of file emu8000_reg.h.

#define EMU8000_FM2FRQ2_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(5, (chan)), (val))

Definition at line 199 of file emu8000_reg.h.

#define EMU8000_FMMOD_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA3(emu), EMU8000_CMD(3, (chan)))

Definition at line 114 of file emu8000_reg.h.

#define EMU8000_FMMOD_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(3, (chan)), (val))

Definition at line 195 of file emu8000_reg.h.

#define EMU8000_HWCF1_READ (   emu)    snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 29))

Definition at line 78 of file emu8000_reg.h.

#define EMU8000_HWCF1_WRITE (   emu,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 29), (val))

Definition at line 159 of file emu8000_reg.h.

#define EMU8000_HWCF2_READ (   emu)    snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 30))

Definition at line 80 of file emu8000_reg.h.

#define EMU8000_HWCF2_WRITE (   emu,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 30), (val))

Definition at line 161 of file emu8000_reg.h.

#define EMU8000_HWCF3_READ (   emu)    snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 31))

Definition at line 82 of file emu8000_reg.h.

#define EMU8000_HWCF3_WRITE (   emu,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 31), (val))

Definition at line 163 of file emu8000_reg.h.

#define EMU8000_HWCF4_READ (   emu)    snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 9))

Definition at line 58 of file emu8000_reg.h.

#define EMU8000_HWCF4_WRITE (   emu,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 9), (val))

Definition at line 136 of file emu8000_reg.h.

#define EMU8000_HWCF5_READ (   emu)    snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 10))

Definition at line 60 of file emu8000_reg.h.

#define EMU8000_HWCF5_WRITE (   emu,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 10), (val))

Definition at line 138 of file emu8000_reg.h.

#define EMU8000_HWCF6_READ (   emu)    snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 13))

Definition at line 62 of file emu8000_reg.h.

#define EMU8000_HWCF6_WRITE (   emu,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 13), (val))

Definition at line 140 of file emu8000_reg.h.

#define EMU8000_HWCF7_WRITE (   emu,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 14), (val))

Definition at line 143 of file emu8000_reg.h.

#define EMU8000_IFATN_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA3(emu), EMU8000_CMD(1, (chan)))

Definition at line 110 of file emu8000_reg.h.

#define EMU8000_IFATN_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(1, (chan)), (val))

Definition at line 191 of file emu8000_reg.h.

#define EMU8000_INIT1_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(2, (chan)))

Definition at line 84 of file emu8000_reg.h.

#define EMU8000_INIT1_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(2, (chan)), (val))

Definition at line 165 of file emu8000_reg.h.

#define EMU8000_INIT2_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(2, (chan)))

Definition at line 86 of file emu8000_reg.h.

#define EMU8000_INIT2_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(2, (chan)), (val))

Definition at line 167 of file emu8000_reg.h.

#define EMU8000_INIT3_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(3, (chan)))

Definition at line 88 of file emu8000_reg.h.

#define EMU8000_INIT3_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(3, (chan)), (val))

Definition at line 169 of file emu8000_reg.h.

#define EMU8000_INIT4_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(3, (chan)))

Definition at line 90 of file emu8000_reg.h.

#define EMU8000_INIT4_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(3, (chan)), (val))

Definition at line 171 of file emu8000_reg.h.

#define EMU8000_IP_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA3(emu), EMU8000_CMD(0, (chan)))

Definition at line 108 of file emu8000_reg.h.

#define EMU8000_IP_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(0, (chan)), (val))

Definition at line 189 of file emu8000_reg.h.

#define EMU8000_LFO1VAL_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(5, (chan)))

Definition at line 102 of file emu8000_reg.h.

#define EMU8000_LFO1VAL_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(5, (chan)), (val))

Definition at line 183 of file emu8000_reg.h.

#define EMU8000_LFO2VAL_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(7, (chan)))

Definition at line 106 of file emu8000_reg.h.

#define EMU8000_LFO2VAL_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(7, (chan)), (val))

Definition at line 187 of file emu8000_reg.h.

#define EMU8000_PEFE_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA3(emu), EMU8000_CMD(2, (chan)))

Definition at line 112 of file emu8000_reg.h.

#define EMU8000_PEFE_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(2, (chan)), (val))

Definition at line 193 of file emu8000_reg.h.

#define EMU8000_PSST_READ (   emu,
  chan 
)    snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(6, (chan)))

Definition at line 52 of file emu8000_reg.h.

#define EMU8000_PSST_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(6, (chan)), (val))

Definition at line 130 of file emu8000_reg.h.

#define EMU8000_PTR (   e)    ((e)->port3+2)

Definition at line 33 of file emu8000_reg.h.

#define EMU8000_PTRX_READ (   emu,
  chan 
)    snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(1, (chan)))

Definition at line 46 of file emu8000_reg.h.

#define EMU8000_PTRX_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(1, (chan)), (val))

Definition at line 124 of file emu8000_reg.h.

#define EMU8000_SMALR_READ (   emu)    snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 20))

Definition at line 64 of file emu8000_reg.h.

#define EMU8000_SMALR_WRITE (   emu,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 20), (val))

Definition at line 145 of file emu8000_reg.h.

#define EMU8000_SMALW_READ (   emu)    snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 22))

Definition at line 68 of file emu8000_reg.h.

#define EMU8000_SMALW_WRITE (   emu,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 22), (val))

Definition at line 149 of file emu8000_reg.h.

#define EMU8000_SMARR_READ (   emu)    snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 21))

Definition at line 66 of file emu8000_reg.h.

#define EMU8000_SMARR_WRITE (   emu,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 21), (val))

Definition at line 147 of file emu8000_reg.h.

#define EMU8000_SMARW_READ (   emu)    snd_emu8000_peek_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 23))

Definition at line 70 of file emu8000_reg.h.

#define EMU8000_SMARW_WRITE (   emu,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 23), (val))

Definition at line 151 of file emu8000_reg.h.

#define EMU8000_SMLD_READ (   emu)    snd_emu8000_peek((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 26))

Definition at line 72 of file emu8000_reg.h.

#define EMU8000_SMLD_WRITE (   emu,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 26), (val))

Definition at line 153 of file emu8000_reg.h.

#define EMU8000_SMRD_READ (   emu)    snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(1, 26))

Definition at line 74 of file emu8000_reg.h.

#define EMU8000_SMRD_WRITE (   emu,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(1, 26), (val))

Definition at line 155 of file emu8000_reg.h.

#define EMU8000_TREMFRQ_READ (   emu,
  chan 
)    snd_emu8000_peek((emu), EMU8000_DATA3(emu), EMU8000_CMD(4, (chan)))

Definition at line 116 of file emu8000_reg.h.

#define EMU8000_TREMFRQ_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(4, (chan)), (val))

Definition at line 197 of file emu8000_reg.h.

#define EMU8000_VTFT_READ (   emu,
  chan 
)    snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(3, (chan)))

Definition at line 50 of file emu8000_reg.h.

#define EMU8000_VTFT_WRITE (   emu,
  chan,
  val 
)    snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(3, (chan)), (val))

Definition at line 128 of file emu8000_reg.h.

#define EMU8000_WC_READ (   emu)    snd_emu8000_peek((emu), EMU8000_DATA2(emu), EMU8000_CMD(1, 27))

Definition at line 76 of file emu8000_reg.h.

#define EMU8000_WC_WRITE (   emu,
  val 
)    snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(1, 27), (val))

Definition at line 157 of file emu8000_reg.h.