Lines Matching refs:timer
33 static int snd_emu10k1_timer_start(struct snd_timer *timer)
39 emu = snd_timer_chip(timer);
40 delay = timer->sticks - 1;
50 static int snd_emu10k1_timer_stop(struct snd_timer *timer)
55 emu = snd_timer_chip(timer);
62 static int snd_emu10k1_timer_precise_resolution(struct snd_timer *timer,
81 struct snd_timer *timer = NULL;
90 if ((err = snd_timer_new(emu->card, "EMU10K1", &tid, &timer)) >= 0) {
91 strcpy(timer->name, "EMU10K1 timer");
92 timer->private_data = emu;
93 timer->hw = snd_emu10k1_timer_hw;
95 emu->timer = timer;