Home
last modified time | relevance | path

Searched refs:ts64 (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/include/linux/
Dtimekeeping32.h16 struct timespec64 ts64; in getnstimeofday() local
18 ktime_get_real_ts64(&ts64); in getnstimeofday()
19 *ts = timespec64_to_timespec(ts64); in getnstimeofday()
24 struct timespec64 ts64; in ktime_get_ts() local
26 ktime_get_ts64(&ts64); in ktime_get_ts()
27 *ts = timespec64_to_timespec(ts64); in ktime_get_ts()
32 struct timespec64 ts64; in getrawmonotonic() local
34 ktime_get_raw_ts64(&ts64); in getrawmonotonic()
35 *ts = timespec64_to_timespec(ts64); in getrawmonotonic()
40 struct timespec64 ts64; in getboottime() local
[all …]
Dtime32.h79 static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64) in timespec64_to_timespec() argument
81 return *(const struct timespec *)&ts64; in timespec64_to_timespec()
90 static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64) in timespec64_to_timespec() argument
94 ret.tv_sec = (time_t)ts64.tv_sec; in timespec64_to_timespec()
95 ret.tv_nsec = ts64.tv_nsec; in timespec64_to_timespec()
/Linux-v5.4/fs/coda/
Dcoda_linux.c71 struct timespec64 ts64 = { in coda_to_timespec64() local
76 return ts64; in coda_to_timespec64()
79 static struct coda_timespec timespec64_to_coda(struct timespec64 ts64) in timespec64_to_coda() argument
82 .tv_sec = ts64.tv_sec, in timespec64_to_coda()
83 .tv_nsec = ts64.tv_nsec, in timespec64_to_coda()
/Linux-v5.4/drivers/dma-buf/
Dsync_debug.c79 struct timespec64 ts64 = in sync_print_fence() local
82 seq_printf(s, "@%lld.%09ld", (s64)ts64.tv_sec, ts64.tv_nsec); in sync_print_fence()
/Linux-v5.4/drivers/rtc/
Drtc-fsl-ftm-alarm.c183 struct timespec64 ts64; in ftm_rtc_read_time() local
185 ktime_get_real_ts64(&ts64); in ftm_rtc_read_time()
186 rtc_time_to_tm(ts64.tv_sec, tm); in ftm_rtc_read_time()
/Linux-v5.4/kernel/time/
Dtime.c905 static int __get_old_timespec32(struct timespec64 *ts64, in __get_old_timespec32() argument
915 ts64->tv_sec = ts.tv_sec; in __get_old_timespec32()
916 ts64->tv_nsec = ts.tv_nsec; in __get_old_timespec32()
921 static int __put_old_timespec32(const struct timespec64 *ts64, in __put_old_timespec32() argument
925 .tv_sec = ts64->tv_sec, in __put_old_timespec32()
926 .tv_nsec = ts64->tv_nsec in __put_old_timespec32()
Dposix-timers.c648 struct timespec64 ts64; in common_timer_get() local
670 kc->clock_get(timr->it_clock, &ts64); in common_timer_get()
671 now = timespec64_to_ktime(ts64); in common_timer_get()
/Linux-v5.4/drivers/firewire/
Dnosy.c406 struct timespec64 ts64; in packet_irq_handler() local
413 ktime_get_real_ts64(&ts64); in packet_irq_handler()
414 timestamp = ts64.tv_nsec / NSEC_PER_USEC; in packet_irq_handler()
436 struct timespec64 ts64; in bus_reset_irq_handler() local
439 ktime_get_real_ts64(&ts64); in bus_reset_irq_handler()
440 timestamp = ts64.tv_nsec / NSEC_PER_USEC; in bus_reset_irq_handler()
/Linux-v5.4/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.h152 __le32 ts64[2]; member
Dpcan_usb_pro.c679 le32_to_cpu(ts->ts64[1])); in pcan_usb_pro_handle_ts()
/Linux-v5.4/drivers/usb/gadget/udc/
Ddummy_hcd.c841 struct timespec64 ts64; in dummy_g_get_frame() local
843 ktime_get_ts64(&ts64); in dummy_g_get_frame()
844 return ts64.tv_nsec / NSEC_PER_MSEC; in dummy_g_get_frame()