/linux/drivers/pps/generators/ |
A D | pps_gen_parport.c | 59 struct timespec64 expire_time, ts1, ts2, ts3, dts; in hrtimer_event() local 92 ktime_get_real_ts64(&ts2); in hrtimer_event() 93 } while (expire_time.tv_sec == ts2.tv_sec && ts2.tv_nsec < lim); in hrtimer_event() 102 ktime_get_real_ts64(&ts2); in hrtimer_event() 103 } while (expire_time.tv_sec == ts2.tv_sec && ts2.tv_nsec < lim); in hrtimer_event() 113 dts = timespec64_sub(ts3, ts2); in hrtimer_event()
|
/linux/drivers/media/pci/cx23885/ |
A D | cx23885-cards.c | 2135 struct cx23885_tsport *ts2 = &dev->ts2; in cx23885_card_setup() local 2202 ts2->gen_ctrl_val = 0x10e; in cx23885_card_setup() 2203 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup() 2210 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup() 2233 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup() 2260 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup() 2269 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup() 2285 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup() 2293 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup() 2306 ts2->gen_ctrl_val = 0x8; /* Serial bus */ in cx23885_card_setup() [all …]
|
A D | cx23885-core.c | 981 cx23885_init_tsport(dev, &dev->ts2, 2); in cx23885_dev_setup() 1071 dev->ts2.num_frontends = in cx23885_dev_setup() 1073 if (cx23885_dvb_register(&dev->ts2) < 0) { in cx23885_dev_setup() 1119 cx23885_dvb_unregister(&dev->ts2); in cx23885_dev_unregister() 1782 struct cx23885_tsport *ts2 = &dev->ts2; in cx23885_irq() local 1817 ts2_count = cx_read(ts2->reg_gpcnt); in cx23885_irq() 1911 handled += cx23885_irq_ts(ts2, ts2_status); in cx23885_irq()
|
A D | cimax2.c | 389 port = &dev->ts2; in netup_ci_slot_status()
|
A D | cx23885.h | 382 struct cx23885_tsport ts1, ts2; member
|
A D | cx23885-video.c | 1037 vfe = vb2_dvb_get_frontend(&dev->ts2.frontends, 1); in cx23885_set_freq_via_ops()
|
/linux/tools/testing/selftests/timers/ |
A D | freq-step.c | 43 static double diff_timespec(struct timespec *ts1, struct timespec *ts2) in diff_timespec() argument 45 return ts1->tv_sec - ts2->tv_sec + (ts1->tv_nsec - ts2->tv_nsec) / 1e9; in diff_timespec() 51 struct timespec ts1, ts2, ts3; in get_sample() local 56 clock_gettime(CLOCK_MONOTONIC, &ts2); in get_sample() 60 ts2.tv_sec -= mono_base; in get_sample() 70 sample->offset = diff_timespec(&ts2, &ts1); in get_sample()
|
/linux/tools/testing/selftests/kvm/lib/ |
A D | test_util.c | 77 struct timespec timespec_add(struct timespec ts1, struct timespec ts2) in timespec_add() argument 80 int64_t ns2 = timespec_to_ns(ts2); in timespec_add() 84 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) in timespec_sub() argument 87 int64_t ns2 = timespec_to_ns(ts2); in timespec_sub()
|
/linux/drivers/mmc/core/ |
A D | mmc_test.c | 1447 struct timespec64 ts1, ts2; in mmc_test_area_io_seq() local 1485 ktime_get_ts64(&ts2); in mmc_test_area_io_seq() 1751 struct timespec64 ts1, ts2; in mmc_test_profile_trim_perf() local 1766 ktime_get_ts64(&ts2); in mmc_test_profile_trim_perf() 1774 ktime_get_ts64(&ts2); in mmc_test_profile_trim_perf() 1783 struct timespec64 ts1, ts2; in mmc_test_seq_read_perf() local 1795 ktime_get_ts64(&ts2); in mmc_test_seq_read_perf() 1837 ktime_get_ts64(&ts2); in mmc_test_seq_write_perf() 1894 ktime_get_ts64(&ts2); in mmc_test_profile_seq_trim_perf() 1927 ktime_get_ts64(&ts2); in mmc_test_rnd_perf() [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | fexit_sleep.c | 15 struct timespec ts2 = { .tv_sec = 10 }; in do_sleep() local 19 (void)syscall(__NR_nanosleep, &ts2, NULL); in do_sleep()
|
/linux/tools/testing/selftests/kvm/include/ |
A D | test_util.h | 66 struct timespec timespec_add(struct timespec ts1, struct timespec ts2); 67 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2);
|
/linux/kernel/ |
A D | smp.c | 329 u64 ts2, ts_delta; in csd_lock_wait_toolong() local 342 ts2 = sched_clock(); in csd_lock_wait_toolong() 343 ts_delta = ts2 - *ts1; in csd_lock_wait_toolong() 357 firsttime ? "Detected" : "Continued", *bug_id, raw_smp_processor_id(), ts2 - ts0, in csd_lock_wait_toolong() 378 *ts1 = ts2; in csd_lock_wait_toolong()
|
/linux/drivers/ptp/ |
A D | ptp_idt82p33.c | 441 struct timespec64 ts2; in idt82p33_measure_settime_gettime_gap_overhead() local 451 err = _idt82p33_gettime(channel, &ts2); in idt82p33_measure_settime_gettime_gap_overhead() 454 *overhead_ns = timespec64_to_ns(&ts2) - timespec64_to_ns(&ts1); in idt82p33_measure_settime_gettime_gap_overhead()
|
A D | ptp_ocp.c | 222 struct ptp_ocp_ext_src *ts2; member 329 OCP_EXT_RESOURCE(ts2), 679 ext = bp->ts2; in ptp_ocp_enable() 2052 if (bp->ts2) { in ptp_ocp_summary_show() 2053 ts_reg = bp->ts2->mem; in ptp_ocp_summary_show() 2421 if (bp->ts2) in ptp_ocp_detach() 2422 ptp_ocp_unregister_ext(bp->ts2); in ptp_ocp_detach()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | cmd.c | 1170 ds = ent->ts2 - ent->ts1; in mlx5_cmd_invoke() 1633 ent->ts2 = ktime_get_ns(); in mlx5_cmd_comp_handler() 1651 ds = ent->ts2 - ent->ts1; in mlx5_cmd_comp_handler()
|
/linux/drivers/media/usb/cx231xx/ |
A D | cx231xx.h | 704 struct cx231xx_tsport ts1, ts2; member
|
/linux/include/linux/mlx5/ |
A D | driver.h | 819 u64 ts2; member
|