Lines Matching refs:info
343 static int prioq_remove_match(struct snd_seq_remove_events *info, in prioq_remove_match() argument
348 if (info->remove_mode & SNDRV_SEQ_REMOVE_DEST) { in prioq_remove_match()
349 if (ev->dest.client != info->dest.client || in prioq_remove_match()
350 ev->dest.port != info->dest.port) in prioq_remove_match()
353 if (info->remove_mode & SNDRV_SEQ_REMOVE_DEST_CHANNEL) { in prioq_remove_match()
357 if (ev->data.note.channel != info->channel) in prioq_remove_match()
360 if (info->remove_mode & SNDRV_SEQ_REMOVE_TIME_AFTER) { in prioq_remove_match()
361 if (info->remove_mode & SNDRV_SEQ_REMOVE_TIME_TICK) 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()
368 if (info->remove_mode & SNDRV_SEQ_REMOVE_TIME_BEFORE) { in prioq_remove_match()
369 if (info->remove_mode & SNDRV_SEQ_REMOVE_TIME_TICK) 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()
376 if (info->remove_mode & SNDRV_SEQ_REMOVE_EVENT_TYPE) { in prioq_remove_match()
377 if (ev->type != info->type) in prioq_remove_match()
380 if (info->remove_mode & SNDRV_SEQ_REMOVE_IGNORE_OFF) { in prioq_remove_match()
390 if (info->remove_mode & SNDRV_SEQ_REMOVE_TAG_MATCH) { in prioq_remove_match()
391 if (info->tag != ev->tag) in prioq_remove_match()
400 struct snd_seq_remove_events *info) in snd_seq_prioq_remove_events() argument
414 prioq_remove_match(info, &cell->event)) { in snd_seq_prioq_remove_events()