Lines Matching refs:dp
25 static int send_timer_event(struct seq_oss_devinfo *dp, int type, int value);
33 snd_seq_oss_timer_new(struct seq_oss_devinfo *dp)
41 rec->dp = dp;
127 send_timer_event(struct seq_oss_devinfo *dp, int type, int value)
133 ev.source.client = dp->cseq;
137 ev.queue = dp->queue;
138 ev.data.queue.queue = dp->queue;
140 return snd_seq_kernel_client_dispatch(dp->cseq, &ev, 1, 0);
149 struct seq_oss_devinfo *dp = timer->dp;
156 tmprec.queue = dp->queue;
159 snd_seq_set_queue_tempo(dp->cseq, &tmprec);
161 send_timer_event(dp, SNDRV_SEQ_EVENT_START, 0);
176 send_timer_event(timer->dp, SNDRV_SEQ_EVENT_STOP, 0);
190 send_timer_event(timer->dp, SNDRV_SEQ_EVENT_CONTINUE, 0);
209 send_timer_event(timer->dp, SNDRV_SEQ_EVENT_TEMPO, timer->tempo);
232 if (timer->dp->seq_mode == SNDRV_SEQ_OSS_MODE_SYNTH)