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

/linux-4.1.27/include/linux/
H A Dtimekeeping.h87 struct timespec64 ts64; do_settimeofday() local
89 ts64 = timespec_to_timespec64(*ts); do_settimeofday()
90 return do_settimeofday64(&ts64); do_settimeofday()
95 struct timespec64 ts64; __getnstimeofday() local
96 int ret = __getnstimeofday64(&ts64); __getnstimeofday()
98 *ts = timespec64_to_timespec(ts64); __getnstimeofday()
104 struct timespec64 ts64; getnstimeofday() local
106 getnstimeofday64(&ts64); getnstimeofday()
107 *ts = timespec64_to_timespec(ts64); getnstimeofday()
112 struct timespec64 ts64; ktime_get_ts() local
114 ktime_get_ts64(&ts64); ktime_get_ts()
115 *ts = timespec64_to_timespec(ts64); ktime_get_ts()
120 struct timespec64 ts64; ktime_get_real_ts() local
122 getnstimeofday64(&ts64); ktime_get_real_ts()
123 *ts = timespec64_to_timespec(ts64); ktime_get_real_ts()
128 struct timespec64 ts64; getrawmonotonic() local
130 getrawmonotonic64(&ts64); getrawmonotonic()
131 *ts = timespec64_to_timespec(ts64); getrawmonotonic()
141 struct timespec64 ts64; getboottime() local
143 getboottime64(&ts64); getboottime()
144 *ts = timespec64_to_timespec(ts64); getboottime()
H A Dtime64.h36 static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64) timespec64_to_timespec() argument
38 return ts64; timespec64_to_timespec()
60 static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64) timespec64_to_timespec() argument
64 ret.tv_sec = (time_t)ts64.tv_sec; timespec64_to_timespec()
65 ret.tv_nsec = ts64.tv_nsec; timespec64_to_timespec()
/linux-4.1.27/drivers/staging/android/
H A Dsync_debug.c99 struct timespec64 ts64 = sync_print_pt() local
102 seq_printf(s, "@%lld.%09ld", (s64)ts64.tv_sec, ts64.tv_nsec); sync_print_pt()
/linux-4.1.27/kernel/time/
H A Dtimekeeping.c952 struct timespec64 ts64, tmp; timekeeping_inject_offset() local
958 ts64 = timespec_to_timespec64(*ts); timekeeping_inject_offset()
966 tmp = timespec64_add(tk_xtime(tk), ts64); timekeeping_inject_offset()
972 tk_xtime_add(tk, &ts64); timekeeping_inject_offset()
973 tk_set_wall_to_mono(tk, timespec64_sub(tk->wall_to_monotonic, ts64)); timekeeping_inject_offset()
1102 struct timespec64 ts64; getrawmonotonic64() local
1109 ts64 = tk->raw_time; getrawmonotonic64()
1113 timespec64_add_ns(&ts64, nsecs); getrawmonotonic64()
1114 *ts = ts64; getrawmonotonic64()
1172 void __weak read_persistent_clock64(struct timespec64 *ts64) read_persistent_clock64() argument
1177 *ts64 = timespec_to_timespec64(ts); read_persistent_clock64()
1195 void __weak read_boot_clock64(struct timespec64 *ts64) read_boot_clock64() argument
1200 *ts64 = timespec_to_timespec64(ts); read_boot_clock64()
/linux-4.1.27/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_pro.h160 __le32 ts64[2]; member in struct:pcan_usb_pro_rxts
H A Dpcan_usb_pro.c688 le32_to_cpu(ts->ts64[1])); pcan_usb_pro_handle_ts()
/linux-4.1.27/ipc/
H A Dcompat.c753 struct timespec __user *ts64; COMPAT_SYSCALL_DEFINE4() local
754 if (compat_convert_timespec(&ts64, timeout)) COMPAT_SYSCALL_DEFINE4()
756 return sys_semtimedop(semid, tsems, nsops, ts64); COMPAT_SYSCALL_DEFINE4()
/linux-4.1.27/drivers/power/
H A Dab8500_fg.c387 struct timespec64 ts64; ab8500_fg_add_cap_sample() local
390 getnstimeofday64(&ts64); ab8500_fg_add_cap_sample()
395 avg->time_stamps[avg->pos] = ts64.tv_sec; ab8500_fg_add_cap_sample()
408 } while (ts64.tv_sec - VALID_CAPACITY_SEC > avg->time_stamps[avg->pos]); ab8500_fg_add_cap_sample()
447 struct timespec64 ts64; ab8500_fg_fill_cap_sample() local
450 getnstimeofday64(&ts64); ab8500_fg_fill_cap_sample()
454 avg->time_stamps[i] = ts64.tv_sec; ab8500_fg_fill_cap_sample()

Completed in 456 milliseconds