Lines Matching full:time
7 #include <linux/time.h>
91 return (snd_seq_compare_tick_time(&a->time.tick, &b->time.tick)); in compare_timestamp()
93 /* compare real time */ in compare_timestamp()
94 return (snd_seq_compare_real_time(&a->time.time, &b->time.time)); in compare_timestamp()
108 if (a->time.tick > b->time.tick) in compare_timestamp_rel()
110 else if (a->time.tick == b->time.tick) in compare_timestamp_rel()
115 /* compare real time */ in compare_timestamp_rel()
116 if (a->time.time.tv_sec > b->time.time.tv_sec) in compare_timestamp_rel()
118 else if (a->time.time.tv_sec == b->time.time.tv_sec) { in compare_timestamp_rel()
119 if (a->time.time.tv_nsec > b->time.time.tv_nsec) in compare_timestamp_rel()
121 else if (a->time.time.tv_nsec == b->time.time.tv_nsec) in compare_timestamp_rel()
170 /* new cell has earlier schedule time, */ in snd_seq_prioq_cell_in()
173 /* equal schedule time and prior to others */ in snd_seq_prioq_cell_in()
175 /* new cell has equal or larger schedule time, */ in snd_seq_prioq_cell_in()
198 /* return 1 if the current time >= event timestamp */
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()
308 if (cell->event.time.tick) in prioq_match()
312 if (cell->event.time.time.tv_sec || in prioq_match()
313 cell->event.time.time.tv_nsec) in prioq_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()