Lines Matching defs:timer
18 static int snd_emu10k1_timer_start(struct snd_timer *timer)
24 emu = snd_timer_chip(timer);
25 delay = timer->sticks - 1;
35 static int snd_emu10k1_timer_stop(struct snd_timer *timer)
40 emu = snd_timer_chip(timer);
47 static int snd_emu10k1_timer_precise_resolution(struct snd_timer *timer,
66 struct snd_timer *timer = NULL;
75 if ((err = snd_timer_new(emu->card, "EMU10K1", &tid, &timer)) >= 0) {
76 strcpy(timer->name, "EMU10K1 timer");
77 timer->private_data = emu;
78 timer->hw = snd_emu10k1_timer_hw;
80 emu->timer = timer;