24 #include <linux/time.h>
42 tmp = (gus->
gf1.timer_enabled |= 4);
46 spin_unlock_irqrestore(&gus->
reg_lock, flags);
58 tmp = (gus->
gf1.timer_enabled &= ~4);
60 spin_unlock_irqrestore(&gus->
reg_lock, flags);
78 tmp = (gus->
gf1.timer_enabled |= 8);
82 spin_unlock_irqrestore(&gus->
reg_lock, flags);
94 tmp = (gus->
gf1.timer_enabled &= ~8);
96 spin_unlock_irqrestore(&gus->
reg_lock, flags);
104 static void snd_gf1_interrupt_timer1(
struct snd_gus_card * gus)
113 static void snd_gf1_interrupt_timer2(
struct snd_gus_card * gus)
131 .start = snd_gf1_timer1_start,
132 .stop = snd_gf1_timer1_stop,
138 .resolution = 320000,
140 .start = snd_gf1_timer2_start,
141 .stop = snd_gf1_timer2_stop,
144 static void snd_gf1_timer1_free(
struct snd_timer *timer)
150 static void snd_gf1_timer2_free(
struct snd_timer *timer)
164 gus->
gf1.interrupt_handler_timer1 = snd_gf1_interrupt_timer1;
165 gus->
gf1.interrupt_handler_timer2 = snd_gf1_interrupt_timer2;
177 timer->
hw = snd_gf1_timer1;
187 timer->
hw = snd_gf1_timer2;
195 if (gus->
gf1.timer1) {
199 if (gus->
gf1.timer2) {