Searched refs:ns_to_timespec (Results 1 - 4 of 4) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/kernel/
H A Dtime.c466 * ns_to_timespec - Convert nanoseconds to timespec
471 struct timespec ns_to_timespec(const s64 nsec) function
484 EXPORT_SYMBOL(ns_to_timespec); variable
494 struct timespec ts = ns_to_timespec(nsec);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/
H A Dktime.h117 /* Map the ktime_t to timespec conversion to ns_to_timespec function */
118 #define ktime_to_timespec(kt) ns_to_timespec((kt).tv64)
H A Dtime.h150 * ns_to_timespec - Convert nanoseconds to timespec
155 extern struct timespec ns_to_timespec(const s64 nsec);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/char/
H A Dmmtimer.c535 #define ns_to_timespec(ts, nsec) (ts).tv_sec = div_long_long_rem(nsec, NSEC_PER_SEC, &(ts).tv_nsec) macro
549 ns_to_timespec(cur_setting->it_interval, timr->it.mmtimer.incr * sgi_clock_period);
550 ns_to_timespec(cur_setting->it_value, (timr->it.mmtimer.expires - rtc_time())* sgi_clock_period);

Completed in 96 milliseconds