Lines Matching refs:ev
218 static int event_is_ready(struct snd_seq_event *ev, void *current_time) in event_is_ready() argument
220 if ((ev->flags & SNDRV_SEQ_TIME_STAMP_MASK) == SNDRV_SEQ_TIME_STAMP_TICK) in event_is_ready()
221 return snd_seq_compare_tick_time(current_time, &ev->time.tick); in event_is_ready()
223 return snd_seq_compare_real_time(current_time, &ev->time.time); in event_is_ready()
344 struct snd_seq_event *ev) in prioq_remove_match() argument
349 if (ev->dest.client != info->dest.client || in prioq_remove_match()
350 ev->dest.port != info->dest.port) in prioq_remove_match()
354 if (! snd_seq_ev_is_channel_type(ev)) in prioq_remove_match()
357 if (ev->data.note.channel != info->channel) in prioq_remove_match()
362 res = snd_seq_compare_tick_time(&ev->time.tick, &info->time.tick); in prioq_remove_match()
364 res = snd_seq_compare_real_time(&ev->time.time, &info->time.time); in prioq_remove_match()
370 res = snd_seq_compare_tick_time(&ev->time.tick, &info->time.tick); in prioq_remove_match()
372 res = snd_seq_compare_real_time(&ev->time.time, &info->time.time); in prioq_remove_match()
377 if (ev->type != info->type) in prioq_remove_match()
382 switch (ev->type) { in prioq_remove_match()
391 if (info->tag != ev->tag) in prioq_remove_match()