diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-07-20 13:41:35 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-07-20 13:41:35 +0200 |
commit | bc5304b6fb6c572452b538512761a126f0e0b0d8 (patch) | |
tree | 4b95742936811a8aa51c72578ef9f73a4a62310b /sound/pci/ctxfi/ct20k2reg.h | |
parent | 6847e154e3cd74fca6084124c097980a7634285a (diff) |
ALSA: ctxfi - Native timer support for emu20k2
Added the native timer support for emu20k2, which gives much more
accurate update timing than the system timer.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ct20k2reg.h')
-rw-r--r-- | sound/pci/ctxfi/ct20k2reg.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sound/pci/ctxfi/ct20k2reg.h b/sound/pci/ctxfi/ct20k2reg.h index 2d07986f57c..e0394e3996e 100644 --- a/sound/pci/ctxfi/ct20k2reg.h +++ b/sound/pci/ctxfi/ct20k2reg.h @@ -11,9 +11,12 @@ /* Timer Registers */ -#define TIMER_TIMR 0x1B7004 -#define INTERRUPT_GIP 0x1B7010 -#define INTERRUPT_GIE 0x1B7014 +#define WC 0x1b7000 +#define TIMR 0x1b7004 +# define TIMR_IE (1<<15) +# define TIMR_IP (1<<14) +#define GIP 0x1b7010 +#define GIE 0x1b7014 /* I2C Registers */ #define I2C_IF_ADDRESS 0x1B9000 |