Lines Matching refs:a
103 static inline int compare_timestamp(struct snd_seq_event *a, in compare_timestamp() argument
106 if ((a->flags & SNDRV_SEQ_TIME_STAMP_MASK) == SNDRV_SEQ_TIME_STAMP_TICK) { in compare_timestamp()
108 return (snd_seq_compare_tick_time(&a->time.tick, &b->time.tick)); in compare_timestamp()
111 return (snd_seq_compare_real_time(&a->time.time, &b->time.time)); in compare_timestamp()
120 static inline int compare_timestamp_rel(struct snd_seq_event *a, in compare_timestamp_rel() argument
123 if ((a->flags & SNDRV_SEQ_TIME_STAMP_MASK) == SNDRV_SEQ_TIME_STAMP_TICK) { in compare_timestamp_rel()
125 if (a->time.tick > b->time.tick) in compare_timestamp_rel()
127 else if (a->time.tick == b->time.tick) in compare_timestamp_rel()
133 if (a->time.time.tv_sec > b->time.time.tv_sec) in compare_timestamp_rel()
135 else if (a->time.time.tv_sec == b->time.time.tv_sec) { in compare_timestamp_rel()
136 if (a->time.time.tv_nsec > b->time.time.tv_nsec) in compare_timestamp_rel()
138 else if (a->time.time.tv_nsec == b->time.time.tv_nsec) in compare_timestamp_rel()