Home
last modified time | relevance | path

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

/drivers/staging/rts5208/
Drtsx.h144 struct timespec64 ts64; in get_current_time() local
150 getnstimeofday64(&ts64); in get_current_time()
152 tv_usec = ts64.tv_nsec/NSEC_PER_USEC; in get_current_time()
154 timeval_buf[0] = (u8)(ts64.tv_sec >> 24); in get_current_time()
155 timeval_buf[1] = (u8)(ts64.tv_sec >> 16); in get_current_time()
156 timeval_buf[2] = (u8)(ts64.tv_sec >> 8); in get_current_time()
157 timeval_buf[3] = (u8)(ts64.tv_sec); in get_current_time()
/drivers/dma-buf/
Dsync_debug.c88 struct timespec64 ts64 = in sync_print_fence() local
91 seq_printf(s, "@%lld.%09ld", (s64)ts64.tv_sec, ts64.tv_nsec); in sync_print_fence()
/drivers/firewire/
Dnosy.c419 struct timespec64 ts64; in packet_irq_handler() local
426 ktime_get_real_ts64(&ts64); in packet_irq_handler()
427 timestamp = ts64.tv_nsec / NSEC_PER_USEC; in packet_irq_handler()
449 struct timespec64 ts64; in bus_reset_irq_handler() local
452 ktime_get_real_ts64(&ts64); in bus_reset_irq_handler()
453 timestamp = ts64.tv_nsec / NSEC_PER_USEC; in bus_reset_irq_handler()
/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.h160 __le32 ts64[2]; member
Dpcan_usb_pro.c688 le32_to_cpu(ts->ts64[1])); in pcan_usb_pro_handle_ts()
/drivers/power/supply/
Dab8500_fg.c382 struct timespec64 ts64; in ab8500_fg_add_cap_sample() local
385 getnstimeofday64(&ts64); in ab8500_fg_add_cap_sample()
390 avg->time_stamps[avg->pos] = ts64.tv_sec; in ab8500_fg_add_cap_sample()
403 } while (ts64.tv_sec - VALID_CAPACITY_SEC > avg->time_stamps[avg->pos]); in ab8500_fg_add_cap_sample()
442 struct timespec64 ts64; in ab8500_fg_fill_cap_sample() local
445 getnstimeofday64(&ts64); in ab8500_fg_fill_cap_sample()
449 avg->time_stamps[i] = ts64.tv_sec; in ab8500_fg_fill_cap_sample()
/drivers/usb/gadget/udc/
Ddummy_hcd.c843 struct timespec64 ts64; in dummy_g_get_frame() local
845 ktime_get_ts64(&ts64); in dummy_g_get_frame()
846 return ts64.tv_nsec / NSEC_PER_MSEC; in dummy_g_get_frame()