Searched refs:ts64 (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/include/linux/ |
D | timekeeping.h | 94 struct timespec64 ts64; in do_settimeofday() local 96 ts64 = timespec_to_timespec64(*ts); in do_settimeofday() 97 return do_settimeofday64(&ts64); in do_settimeofday() 102 struct timespec64 ts64; in __getnstimeofday() local 103 int ret = __getnstimeofday64(&ts64); in __getnstimeofday() 105 *ts = timespec64_to_timespec(ts64); in __getnstimeofday() 111 struct timespec64 ts64; in getnstimeofday() local 113 getnstimeofday64(&ts64); in getnstimeofday() 114 *ts = timespec64_to_timespec(ts64); in getnstimeofday() 119 struct timespec64 ts64; in ktime_get_ts() local [all …]
|
D | time64.h | 45 static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64) in timespec64_to_timespec() argument 47 return ts64; in timespec64_to_timespec() 79 static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64) in timespec64_to_timespec() argument 83 ret.tv_sec = (time_t)ts64.tv_sec; in timespec64_to_timespec() 84 ret.tv_nsec = ts64.tv_nsec; in timespec64_to_timespec()
|
/linux-4.4.14/drivers/staging/rts5208/ |
D | rtsx.h | 148 struct timespec64 ts64; in get_current_time() local 154 getnstimeofday64(&ts64); in get_current_time() 156 tv_usec = ts64.tv_nsec/NSEC_PER_USEC; in get_current_time() 158 timeval_buf[0] = (u8)(ts64.tv_sec >> 24); in get_current_time() 159 timeval_buf[1] = (u8)(ts64.tv_sec >> 16); in get_current_time() 160 timeval_buf[2] = (u8)(ts64.tv_sec >> 8); in get_current_time() 161 timeval_buf[3] = (u8)(ts64.tv_sec); in get_current_time()
|
/linux-4.4.14/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.4.14/kernel/time/ |
D | timekeeping.c | 958 struct timespec64 ts64, tmp; in timekeeping_inject_offset() local 964 ts64 = timespec_to_timespec64(*ts); in timekeeping_inject_offset() 972 tmp = timespec64_add(tk_xtime(tk), ts64); in timekeeping_inject_offset() 973 if (timespec64_compare(&tk->wall_to_monotonic, &ts64) > 0 || in timekeeping_inject_offset() 979 tk_xtime_add(tk, &ts64); in timekeeping_inject_offset() 980 tk_set_wall_to_mono(tk, timespec64_sub(tk->wall_to_monotonic, ts64)); in timekeeping_inject_offset() 1109 struct timespec64 ts64; in getrawmonotonic64() local 1116 ts64 = tk->raw_time; in getrawmonotonic64() 1120 timespec64_add_ns(&ts64, nsecs); in getrawmonotonic64() 1121 *ts = ts64; in getrawmonotonic64() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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()
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 836 struct timespec64 ts64; in dummy_g_get_frame() local 838 ktime_get_ts64(&ts64); in dummy_g_get_frame() 839 return ts64.tv_nsec / NSEC_PER_MSEC; in dummy_g_get_frame()
|