Home
last modified time | relevance | path

Searched refs:timespec_to_ns (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/lib/
H A Dtest_util.c57 int64_t timespec_to_ns(struct timespec ts) in timespec_to_ns() function
75 int64_t ns1 = timespec_to_ns(ts1); in timespec_add()
76 int64_t ns2 = timespec_to_ns(ts2); in timespec_add()
82 int64_t ns1 = timespec_to_ns(ts1); in timespec_sub()
83 int64_t ns2 = timespec_to_ns(ts2); in timespec_sub()
97 int64_t ns = timespec_to_ns(ts) / divisor; in timespec_div()
/OK3568_Linux_fs/kernel/arch/um/os-Linux/
H A Dtime.c26 static inline long long timespec_to_ns(const struct timespec *ts) in timespec_to_ns() function
36 return timespec_to_ns(&realtime_tp); in os_persistent_clock_emulation()
98 return timespec_to_ns(&ts); in os_nsecs()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/hci/
H A Dssv_hci.c488 hctl->isr_rx_io_time += timespec_to_ns(&rx_io_diff_time); in _do_rx()
490 hctl->isr_rx_proc_time += timespec_to_ns(&rx_proc_diff_time); in _do_rx()
505 hctl->isr_rx_proc_time += timespec_to_ns(&rx_proc_diff_time); in _do_rx()
574 ctrl_hci->isr_rx_io_time += timespec_to_ns(&rx_io_diff_time); in ssv6xxx_hci_rx_work()
576 ctrl_hci->isr_rx_proc_time += timespec_to_ns(&rx_proc_diff_time); in ssv6xxx_hci_rx_work()
591 ctrl_hci->isr_rx_proc_time += timespec_to_ns(&rx_proc_diff_time); in ssv6xxx_hci_rx_work()
736 hctl->isr_tx_io_time += timespec_to_ns(&tx_io_diff_time); in _do_tx()
831 htcl->isr_tx_io_time += timespec_to_ns(&tx_io_diff_time); in _do_tx()
908 ctrl_hci->isr_total_time += timespec_to_ns(&diff_time); in ssv6xxx_hci_isr()
996 ctrl_hci->isr_total_time += timespec_to_ns(&diff_time); in ssv6xxx_hci_isr()
/OK3568_Linux_fs/kernel/tools/perf/jvmti/
H A Djvmti_agent.c108 timespec_to_ns(const struct timespec *ts) in timespec_to_ns() function
126 return timespec_to_ns(&ts); in perf_get_timestamp()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/include/
H A Dtest_util.h63 int64_t timespec_to_ns(struct timespec ts);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/
H A Daes_perf.c342 static uint64_t timespec_to_ns(struct timespec *ts) in timespec_to_ns() function
349 return timespec_to_ns(end) - timespec_to_ns(start); in timespec_diff_ns()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/
H A Dsteal_time.c245 if (timespec_to_ns(timespec_sub(ts, stop)) >= 0) in do_steal_time()
H A Ddemand_paging_test.c102 timespec_to_ns(ts_diff)); in handle_uffd_page_request()
/OK3568_Linux_fs/kernel/drivers/iio/imu/st_lsm6dsr/
H A Dst_lsm6dsr_core.c1924 return timespec_to_ns(&ts); in st_lsm6dsr_get_time_ns()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/
H A Dmoal_shim.c2931 return timespec_to_ns(&ts); in get_host_time_ns()