Searched refs:ts64 (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/include/linux/ |
D | timekeeping.h | 87 struct timespec64 ts64; in do_settimeofday() local 89 ts64 = timespec_to_timespec64(*ts); in do_settimeofday() 90 return do_settimeofday64(&ts64); in do_settimeofday() 95 struct timespec64 ts64; in __getnstimeofday() local 96 int ret = __getnstimeofday64(&ts64); in __getnstimeofday() 98 *ts = timespec64_to_timespec(ts64); in __getnstimeofday() 104 struct timespec64 ts64; in getnstimeofday() local 106 getnstimeofday64(&ts64); in getnstimeofday() 107 *ts = timespec64_to_timespec(ts64); in getnstimeofday() 112 struct timespec64 ts64; in ktime_get_ts() local [all …]
|
D | time64.h | 36 static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64) in timespec64_to_timespec() argument 38 return ts64; in timespec64_to_timespec() 60 static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64) in timespec64_to_timespec() argument 64 ret.tv_sec = (time_t)ts64.tv_sec; in timespec64_to_timespec() 65 ret.tv_nsec = ts64.tv_nsec; in timespec64_to_timespec()
|
/linux-4.1.27/drivers/staging/android/ |
D | sync_debug.c | 99 struct timespec64 ts64 = in sync_print_pt() local 102 seq_printf(s, "@%lld.%09ld", (s64)ts64.tv_sec, ts64.tv_nsec); in sync_print_pt()
|
/linux-4.1.27/kernel/time/ |
D | timekeeping.c | 952 struct timespec64 ts64, tmp; in timekeeping_inject_offset() local 958 ts64 = timespec_to_timespec64(*ts); in timekeeping_inject_offset() 966 tmp = timespec64_add(tk_xtime(tk), ts64); in timekeeping_inject_offset() 972 tk_xtime_add(tk, &ts64); in timekeeping_inject_offset() 973 tk_set_wall_to_mono(tk, timespec64_sub(tk->wall_to_monotonic, ts64)); in timekeeping_inject_offset() 1102 struct timespec64 ts64; in getrawmonotonic64() local 1109 ts64 = tk->raw_time; in getrawmonotonic64() 1113 timespec64_add_ns(&ts64, nsecs); in getrawmonotonic64() 1114 *ts = ts64; in getrawmonotonic64() 1172 void __weak read_persistent_clock64(struct timespec64 *ts64) in read_persistent_clock64() argument [all …]
|
/linux-4.1.27/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_pro.h | 160 __le32 ts64[2]; member
|
D | pcan_usb_pro.c | 688 le32_to_cpu(ts->ts64[1])); in pcan_usb_pro_handle_ts()
|
/linux-4.1.27/ipc/ |
D | compat.c | 753 struct timespec __user *ts64; in COMPAT_SYSCALL_DEFINE4() local 754 if (compat_convert_timespec(&ts64, timeout)) in COMPAT_SYSCALL_DEFINE4() 756 return sys_semtimedop(semid, tsems, nsops, ts64); in COMPAT_SYSCALL_DEFINE4()
|
/linux-4.1.27/drivers/power/ |
D | ab8500_fg.c | 387 struct timespec64 ts64; in ab8500_fg_add_cap_sample() local 390 getnstimeofday64(&ts64); in ab8500_fg_add_cap_sample() 395 avg->time_stamps[avg->pos] = ts64.tv_sec; in ab8500_fg_add_cap_sample() 408 } while (ts64.tv_sec - VALID_CAPACITY_SEC > avg->time_stamps[avg->pos]); in ab8500_fg_add_cap_sample() 447 struct timespec64 ts64; in ab8500_fg_fill_cap_sample() local 450 getnstimeofday64(&ts64); in ab8500_fg_fill_cap_sample() 454 avg->time_stamps[i] = ts64.tv_sec; in ab8500_fg_fill_cap_sample()
|