Lines Matching refs:tv_nsec
672 y2 = (ts.tv_sec + 1) * NSEC_PER_SEC + ts.tv_nsec; in uvc_video_clock_update()
691 ts.tv_nsec = first->host_ts.tv_nsec + rem; in uvc_video_clock_update()
692 if (ts.tv_nsec >= NSEC_PER_SEC) { in uvc_video_clock_update()
694 ts.tv_nsec -= NSEC_PER_SEC; in uvc_video_clock_update()
701 y, ts.tv_sec, ts.tv_nsec / NSEC_PER_USEC, in uvc_video_clock_update()
709 vbuf->timestamp.tv_usec = ts.tv_nsec / NSEC_PER_USEC; in uvc_video_clock_update()
876 ts.tv_nsec = stream->stats.stream.stop_ts.tv_nsec in uvc_video_stats_dump()
877 - stream->stats.stream.start_ts.tv_nsec; in uvc_video_stats_dump()
878 if (ts.tv_nsec < 0) { in uvc_video_stats_dump()
880 ts.tv_nsec += 1000000000; in uvc_video_stats_dump()
886 duration = ts.tv_sec * 1000 + ts.tv_nsec / 1000000; in uvc_video_stats_dump()
1039 ts.tv_nsec / NSEC_PER_USEC; in uvc_video_decode_start()