Lines Matching defs:rec
48 struct seq_oss_timer *rec;
50 rec = kzalloc(sizeof(*rec), GFP_KERNEL);
51 if (rec == NULL)
54 rec->dp = dp;
55 rec->cur_tick = 0;
56 rec->realtime = 0;
57 rec->running = 0;
58 rec->oss_tempo = 60;
59 rec->oss_timebase = 100;
60 calc_alsa_tempo(rec);
62 return rec;
71 snd_seq_oss_timer_delete(struct seq_oss_timer *rec)
73 if (rec) {
74 snd_seq_oss_timer_stop(rec);
75 kfree(rec);
86 snd_seq_oss_process_timer_event(struct seq_oss_timer *rec, union evrec *ev)
93 parm += rec->cur_tick;
94 rec->realtime = 0;
98 rec->realtime = 1;
99 } else if (parm >= rec->cur_tick) {
100 rec->realtime = 0;
101 rec->cur_tick = parm;
106 snd_seq_oss_timer_start(rec);
113 if (parm > rec->cur_tick) {
115 rec->cur_tick = parm;
116 rec->realtime = 0;