Lines Matching refs:rec
47 struct seq_oss_timer *rec;
49 rec = kzalloc(sizeof(*rec), GFP_KERNEL);
50 if (rec == NULL)
53 rec->dp = dp;
54 rec->cur_tick = 0;
55 rec->realtime = 0;
56 rec->running = 0;
57 rec->oss_tempo = 60;
58 rec->oss_timebase = 100;
59 calc_alsa_tempo(rec);
61 return rec;
70 snd_seq_oss_timer_delete(struct seq_oss_timer *rec)
72 if (rec) {
73 snd_seq_oss_timer_stop(rec);
74 kfree(rec);
85 snd_seq_oss_process_timer_event(struct seq_oss_timer *rec, union evrec *ev)
92 parm += rec->cur_tick;
93 rec->realtime = 0;
97 rec->realtime = 1;
98 } else if (parm >= rec->cur_tick) {
99 rec->realtime = 0;
100 rec->cur_tick = parm;
105 snd_seq_oss_timer_start(rec);
112 if (parm > rec->cur_tick) {
114 rec->cur_tick = parm;
115 rec->realtime = 0;