Lines Matching refs:ev
203 static int event_is_ready(struct snd_seq_event *ev, void *current_time) in event_is_ready() argument
205 if ((ev->flags & SNDRV_SEQ_TIME_STAMP_MASK) == SNDRV_SEQ_TIME_STAMP_TICK) in event_is_ready()
206 return snd_seq_compare_tick_time(current_time, &ev->time.tick); in event_is_ready()
208 return snd_seq_compare_real_time(current_time, &ev->time.time); in event_is_ready()
329 struct snd_seq_event *ev) in prioq_remove_match() argument
334 if (ev->dest.client != info->dest.client || in prioq_remove_match()
335 ev->dest.port != info->dest.port) in prioq_remove_match()
339 if (! snd_seq_ev_is_channel_type(ev)) in prioq_remove_match()
342 if (ev->data.note.channel != info->channel) in prioq_remove_match()
347 res = snd_seq_compare_tick_time(&ev->time.tick, &info->time.tick); in prioq_remove_match()
349 res = snd_seq_compare_real_time(&ev->time.time, &info->time.time); in prioq_remove_match()
355 res = snd_seq_compare_tick_time(&ev->time.tick, &info->time.tick); in prioq_remove_match()
357 res = snd_seq_compare_real_time(&ev->time.time, &info->time.time); in prioq_remove_match()
362 if (ev->type != info->type) in prioq_remove_match()
367 switch (ev->type) { in prioq_remove_match()
376 if (info->tag != ev->tag) in prioq_remove_match()