Searched refs:nsec (Results 1 - 8 of 8) sorted by relevance

/include/linux/
H A Dktime.h51 s32 sec, nsec; member in struct:ktime::__anon683
53 s32 nsec, sec;
143 * that the tv.sec field is negative and the tv.nsec field is greater
147 * tv.sec < 0 and 0 >= tv.nsec < NSEC_PER_SEC
150 /* Set a ktime_t variable to a value in sec/nsec representation: */
153 return (ktime_t) { .tv = { .sec = secs, .nsec = nsecs } };
168 if (res.tv.nsec < 0)
169 res.tv.nsec += NSEC_PER_SEC;
191 * tv.nsec -= NSEC_PER_SEC
194 if (res.tv.nsec >
[all...]
H A Dptp_clock.h43 __u32 nsec; /* nanoseconds */ member in struct:ptp_clock_time
H A Dclockchips.h121 static inline unsigned long div_sc(unsigned long ticks, unsigned long nsec, argument
126 do_div(tmp, nsec);
H A Dpps.h55 __s32 nsec; member in struct:pps_ktime
H A Dpps_kernel.h100 kt->nsec = ts.tv_nsec;
H A Dtime.h78 extern void set_normalized_timespec(struct timespec *ts, time_t sec, s64 nsec);
231 * @nsec: the nanoseconds value to be converted
233 * Returns the timespec representation of the nsec parameter.
235 extern struct timespec ns_to_timespec(const s64 nsec);
239 * @nsec: the nanoseconds value to be converted
241 * Returns the timeval representation of the nsec parameter.
243 extern struct timeval ns_to_timeval(const s64 nsec);
H A Dclocksource.h64 * @nsec: continuously increasing count
69 u64 nsec; member in struct:timecounter
H A Dpoll.h164 extern int poll_select_set_timeout(struct timespec *to, long sec, long nsec);

Completed in 819 milliseconds