Merge branch 'media_fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[cris-mirror.git] / sound / pci / ctxfi / cttimer.h
blob979348229291165eb4ded2c5a66efe273a79e712
1 /*
2 * Timer handling
3 */
5 #ifndef __CTTIMER_H
6 #define __CTTIMER_H
8 #include <linux/spinlock.h>
9 #include <linux/timer.h>
10 #include <linux/list.h>
12 struct snd_pcm_substream;
13 struct ct_atc;
14 struct ct_atc_pcm;
16 struct ct_timer;
17 struct ct_timer_instance;
19 struct ct_timer *ct_timer_new(struct ct_atc *atc);
20 void ct_timer_free(struct ct_timer *atimer);
22 struct ct_timer_instance *
23 ct_timer_instance_new(struct ct_timer *atimer, struct ct_atc_pcm *apcm);
24 void ct_timer_instance_free(struct ct_timer_instance *ti);
25 void ct_timer_start(struct ct_timer_instance *ti);
26 void ct_timer_stop(struct ct_timer_instance *ti);
27 void ct_timer_prepare(struct ct_timer_instance *ti);
29 #endif /* __CTTIMER_H */