Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/pps/generators/
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-v5.10/drivers/media/pci/cx23885/
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()
2204 ts2->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; in cx23885_card_setup()
2209 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2210 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2211 ts2->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; in cx23885_card_setup()
2232 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2233 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2234 ts2->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; in cx23885_card_setup()
[all …]
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()
1780 struct cx23885_tsport *ts2 = &dev->ts2; in cx23885_irq() local
1815 ts2_count = cx_read(ts2->reg_gpcnt); in cx23885_irq()
1909 handled += cx23885_irq_ts(ts2, ts2_status); in cx23885_irq()
Dcimax2.c389 port = &dev->ts2; in netup_ci_slot_status()
Dcx23885.h382 struct cx23885_tsport ts1, ts2; member
Dcx23885-video.c1037 vfe = vb2_dvb_get_frontend(&dev->ts2.frontends, 1); in cx23885_set_freq_via_ops()
/Linux-v5.10/tools/testing/selftests/timers/
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-v5.10/tools/testing/selftests/kvm/lib/
Dtest_util.c73 struct timespec timespec_add(struct timespec ts1, struct timespec ts2) in timespec_add() argument
76 int64_t ns2 = timespec_to_ns(ts2); in timespec_add()
80 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) in timespec_sub() argument
83 int64_t ns2 = timespec_to_ns(ts2); in timespec_sub()
/Linux-v5.10/tools/testing/selftests/kvm/include/
Dtest_util.h65 struct timespec timespec_add(struct timespec ts1, struct timespec ts2);
66 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2);
/Linux-v5.10/drivers/mmc/core/
Dmmc_test.c560 struct timespec64 *ts1, struct timespec64 *ts2) in mmc_test_print_rate() argument
565 ts = timespec64_sub(*ts2, *ts1); in mmc_test_print_rate()
585 struct timespec64 *ts2) in mmc_test_print_avg_rate() argument
591 ts = timespec64_sub(*ts2, *ts1); in mmc_test_print_avg_rate()
1462 struct timespec64 ts1, ts2; in mmc_test_area_io_seq() local
1500 ktime_get_ts64(&ts2); in mmc_test_area_io_seq()
1503 mmc_test_print_avg_rate(test, sz, count, &ts1, &ts2); in mmc_test_area_io_seq()
1766 struct timespec64 ts1, ts2; in mmc_test_profile_trim_perf() local
1781 ktime_get_ts64(&ts2); in mmc_test_profile_trim_perf()
1782 mmc_test_print_rate(test, sz, &ts1, &ts2); in mmc_test_profile_trim_perf()
[all …]
/Linux-v5.10/kernel/
Dsmp.c147 u64 ts2, ts_delta; in csd_lock_wait_toolong() local
160 ts2 = sched_clock(); in csd_lock_wait_toolong()
161 ts_delta = ts2 - *ts1; in csd_lock_wait_toolong()
175 firsttime ? "Detected" : "Continued", *bug_id, raw_smp_processor_id(), ts2 - ts0, in csd_lock_wait_toolong()
194 *ts1 = ts2; in csd_lock_wait_toolong()
/Linux-v5.10/drivers/ptp/
Dptp_idt82p33.c423 struct timespec64 ts2; in idt82p33_measure_settime_gettime_gap_overhead() local
433 err = _idt82p33_gettime(channel, &ts2); in idt82p33_measure_settime_gettime_gap_overhead()
436 *overhead_ns = timespec64_to_ns(&ts2) - timespec64_to_ns(&ts1); in idt82p33_measure_settime_gettime_gap_overhead()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c1150 ds = ent->ts2 - ent->ts1; in mlx5_cmd_invoke()
1613 ent->ts2 = ktime_get_ns(); in mlx5_cmd_comp_handler()
1631 ds = ent->ts2 - ent->ts1; in mlx5_cmd_comp_handler()
/Linux-v5.10/drivers/media/usb/cx231xx/
Dcx231xx.h706 struct cx231xx_tsport ts1, ts2; member
/Linux-v5.10/include/linux/mlx5/
Ddriver.h768 u64 ts2; member