Lines Matching refs:ev
199 static int event_is_ready(struct snd_seq_event *ev, void *current_time) in event_is_ready() argument
201 if ((ev->flags & SNDRV_SEQ_TIME_STAMP_MASK) == SNDRV_SEQ_TIME_STAMP_TICK) in event_is_ready()
202 return snd_seq_compare_tick_time(current_time, &ev->time.tick); in event_is_ready()
204 return snd_seq_compare_real_time(current_time, &ev->time.time); in event_is_ready()
336 struct snd_seq_event *ev = &cell->event; in prioq_remove_match() local
340 if (ev->source.client != v->client) in prioq_remove_match()
344 if (ev->dest.client != info->dest.client || in prioq_remove_match()
345 ev->dest.port != info->dest.port) in prioq_remove_match()
349 if (! snd_seq_ev_is_channel_type(ev)) in prioq_remove_match()
352 if (ev->data.note.channel != info->channel) in prioq_remove_match()
357 res = snd_seq_compare_tick_time(&ev->time.tick, &info->time.tick); in prioq_remove_match()
359 res = snd_seq_compare_real_time(&ev->time.time, &info->time.time); in prioq_remove_match()
365 res = snd_seq_compare_tick_time(&ev->time.tick, &info->time.tick); in prioq_remove_match()
367 res = snd_seq_compare_real_time(&ev->time.time, &info->time.time); in prioq_remove_match()
372 if (ev->type != info->type) in prioq_remove_match()
377 switch (ev->type) { in prioq_remove_match()
386 if (info->tag != ev->tag) in prioq_remove_match()