Lines Matching refs:wait_ts
770 static void log_busyloop(struct timespec *wait_ts) in log_busyloop() argument
777 if (wait_ts && !started) { in log_busyloop()
781 } else if (!wait_ts && started) { in log_busyloop()
789 static void check_busyloop(struct timespec *wait_ts) in check_busyloop() argument
791 if (wait_ts->tv_sec == 0 && wait_ts->tv_nsec == 0) { in check_busyloop()
840 struct timespec *wait_ts; in audio_io_thread() local
844 wait_ts = NULL; in audio_io_thread()
856 wait_ts = &ts; in audio_io_thread()
892 log_busyloop(wait_ts); in audio_io_thread()
894 ATLOG(atlog, AUDIO_THREAD_SLEEP, wait_ts ? wait_ts->tv_sec : 0, in audio_io_thread()
895 wait_ts ? wait_ts->tv_nsec : 0, non_empty); in audio_io_thread()
896 if (wait_ts) in audio_io_thread()
897 check_busyloop(wait_ts); in audio_io_thread()
903 rc = ppoll(thread->pollfds, thread->num_pollfds, wait_ts, NULL); in audio_io_thread()