/Linux-v5.15/drivers/pps/generators/ |
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-v5.15/drivers/media/pci/cx23885/ |
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() 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 …]
|
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()
|
D | cimax2.c | 389 port = &dev->ts2; in netup_ci_slot_status()
|
D | cx23885.h | 382 struct cx23885_tsport ts1, ts2; member
|
D | cx23885-video.c | 1037 vfe = vb2_dvb_get_frontend(&dev->ts2.frontends, 1); in cx23885_set_freq_via_ops()
|
/Linux-v5.15/tools/testing/selftests/timers/ |
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-v5.15/tools/testing/selftests/kvm/lib/ |
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-v5.15/tools/testing/selftests/bpf/prog_tests/ |
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-v5.15/drivers/mmc/core/ |
D | mmc_test.c | 560 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() 1448 struct timespec64 ts1, ts2; in mmc_test_area_io_seq() local 1486 ktime_get_ts64(&ts2); in mmc_test_area_io_seq() 1489 mmc_test_print_avg_rate(test, sz, count, &ts1, &ts2); in mmc_test_area_io_seq() 1752 struct timespec64 ts1, ts2; in mmc_test_profile_trim_perf() local 1767 ktime_get_ts64(&ts2); in mmc_test_profile_trim_perf() 1768 mmc_test_print_rate(test, sz, &ts1, &ts2); in mmc_test_profile_trim_perf() [all …]
|
/Linux-v5.15/tools/testing/selftests/kvm/include/ |
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-v5.15/kernel/ |
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-v5.15/drivers/ptp/ |
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()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 1162 ds = ent->ts2 - ent->ts1; in mlx5_cmd_invoke() 1625 ent->ts2 = ktime_get_ns(); in mlx5_cmd_comp_handler() 1643 ds = ent->ts2 - ent->ts1; in mlx5_cmd_comp_handler()
|
/Linux-v5.15/drivers/media/usb/cx231xx/ |
D | cx231xx.h | 704 struct cx231xx_tsport ts1, ts2; member
|
/Linux-v5.15/include/linux/mlx5/ |
D | driver.h | 833 u64 ts2; member
|