Home
last modified time | relevance | path

Searched refs:ts2 (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/pps/generators/
A Dpps_gen_parport.c59 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 Dcx23885-cards.c2135 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 Dcx23885-core.c981 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 Dcimax2.c389 port = &dev->ts2; in netup_ci_slot_status()
A Dcx23885.h382 struct cx23885_tsport ts1, ts2; member
A Dcx23885-video.c1037 vfe = vb2_dvb_get_frontend(&dev->ts2.frontends, 1); in cx23885_set_freq_via_ops()
/linux/tools/testing/selftests/timers/
A Dfreq-step.c43 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 Dtest_util.c77 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 Dmmc_test.c1447 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 Dfexit_sleep.c15 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 Dtest_util.h66 struct timespec timespec_add(struct timespec ts1, struct timespec ts2);
67 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2);
/linux/kernel/
A Dsmp.c329 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 Dptp_idt82p33.c441 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 Dptp_ocp.c222 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 Dcmd.c1170 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 Dcx231xx.h704 struct cx231xx_tsport ts1, ts2; member
/linux/include/linux/mlx5/
A Ddriver.h819 u64 ts2; member

Completed in 48 milliseconds