Lines Matching refs:timer
14 static int snd_emu10k1_timer_start(struct snd_timer *timer) in snd_emu10k1_timer_start() argument
19 emu = snd_timer_chip(timer); in snd_emu10k1_timer_start()
20 delay = timer->sticks - 1; in snd_emu10k1_timer_start()
28 static int snd_emu10k1_timer_stop(struct snd_timer *timer) in snd_emu10k1_timer_stop() argument
32 emu = snd_timer_chip(timer); in snd_emu10k1_timer_stop()
37 static unsigned long snd_emu10k1_timer_c_resolution(struct snd_timer *timer) in snd_emu10k1_timer_c_resolution() argument
39 struct snd_emu10k1 *emu = snd_timer_chip(timer); in snd_emu10k1_timer_c_resolution()
48 static int snd_emu10k1_timer_precise_resolution(struct snd_timer *timer, in snd_emu10k1_timer_precise_resolution() argument
51 struct snd_emu10k1 *emu = snd_timer_chip(timer); in snd_emu10k1_timer_precise_resolution()
72 struct snd_timer *timer = NULL; in snd_emu10k1_timer() local
81 err = snd_timer_new(emu->card, "EMU10K1", &tid, &timer); in snd_emu10k1_timer()
83 strcpy(timer->name, "EMU10K1 timer"); in snd_emu10k1_timer()
84 timer->private_data = emu; in snd_emu10k1_timer()
85 timer->hw = snd_emu10k1_timer_hw; in snd_emu10k1_timer()
87 emu->timer = timer; in snd_emu10k1_timer()