Lines Matching refs:q
135 struct snd_seq_queue *q = timeri->callback_data; in snd_seq_timer_interrupt() local
138 if (q == NULL) in snd_seq_timer_interrupt()
140 tmr = q->timer; in snd_seq_timer_interrupt()
167 snd_seq_check_queue(q, 1, 0); in snd_seq_timer_interrupt()
264 int snd_seq_timer_open(struct snd_seq_queue *q) in snd_seq_timer_open() argument
271 tmr = q->timer; in snd_seq_timer_open()
276 sprintf(str, "sequencer queue %i", q->queue); in snd_seq_timer_open()
281 err = snd_timer_open(&t, str, &tmr->alsa_id, q->queue); in snd_seq_timer_open()
291 err = snd_timer_open(&t, str, &tid, q->queue); in snd_seq_timer_open()
299 t->callback_data = q; in snd_seq_timer_open()
305 int snd_seq_timer_close(struct snd_seq_queue *q) in snd_seq_timer_close() argument
309 tmr = q->timer; in snd_seq_timer_close()
433 struct snd_seq_queue *q; in snd_seq_info_timer_read() local
439 q = queueptr(idx); in snd_seq_info_timer_read()
440 if (q == NULL) in snd_seq_info_timer_read()
442 if ((tmr = q->timer) == NULL || in snd_seq_info_timer_read()
444 queuefree(q); in snd_seq_info_timer_read()
447 snd_iprintf(buffer, "Timer for queue %i : %s\n", q->queue, ti->timer->name); in snd_seq_info_timer_read()
451 queuefree(q); in snd_seq_info_timer_read()