Lines Matching defs:snd_timer
53 struct snd_timer;
63 int (*open) (struct snd_timer * timer);
64 int (*close) (struct snd_timer * timer);
65 unsigned long (*c_resolution) (struct snd_timer * timer);
66 int (*start) (struct snd_timer * timer);
67 int (*stop) (struct snd_timer * timer);
68 int (*set_period) (struct snd_timer * timer, unsigned long period_num, unsigned long period_den);
69 int (*precise_resolution) (struct snd_timer * timer, unsigned long *num, unsigned long *den);
72 struct snd_timer {
84 void (*private_free) (struct snd_timer *timer);
96 struct snd_timer *timer;
127 int snd_timer_new(struct snd_card *card, char *id, struct snd_timer_id *tid, struct snd_timer **rtimer);
128 void snd_timer_notify(struct snd_timer *timer, int event, struct timespec *tstamp);
129 int snd_timer_global_new(char *id, int device, struct snd_timer **rtimer);
130 int snd_timer_global_free(struct snd_timer *timer);
131 int snd_timer_global_register(struct snd_timer *timer);
141 void snd_timer_interrupt(struct snd_timer *timer, unsigned long ticks_left);