Lines Matching refs:tv_nsec
661 y2 = (ts.tv_sec + 1) * NSEC_PER_SEC + ts.tv_nsec; in uvc_video_clock_update()
680 ts.tv_nsec = first->host_ts.tv_nsec + rem; in uvc_video_clock_update()
681 if (ts.tv_nsec >= NSEC_PER_SEC) { in uvc_video_clock_update()
683 ts.tv_nsec -= NSEC_PER_SEC; in uvc_video_clock_update()
690 y, ts.tv_sec, ts.tv_nsec / NSEC_PER_USEC, in uvc_video_clock_update()
698 v4l2_buf->timestamp.tv_usec = ts.tv_nsec / NSEC_PER_USEC; in uvc_video_clock_update()
865 ts.tv_nsec = stream->stats.stream.stop_ts.tv_nsec in uvc_video_stats_dump()
866 - stream->stats.stream.start_ts.tv_nsec; in uvc_video_stats_dump()
867 if (ts.tv_nsec < 0) { in uvc_video_stats_dump()
869 ts.tv_nsec += 1000000000; in uvc_video_stats_dump()
875 duration = ts.tv_sec * 1000 + ts.tv_nsec / 1000000; in uvc_video_stats_dump()
1028 ts.tv_nsec / NSEC_PER_USEC; in uvc_video_decode_start()