Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/pps/generators/
Dpps_gen_parport.c73 struct timespec64 expire_time, ts1, ts2, ts3, dts; in hrtimer_event() local
106 ktime_get_real_ts64(&ts2); in hrtimer_event()
107 } while (expire_time.tv_sec == ts2.tv_sec && ts2.tv_nsec < lim); in hrtimer_event()
116 ktime_get_real_ts64(&ts2); in hrtimer_event()
117 } while (expire_time.tv_sec == ts2.tv_sec && ts2.tv_nsec < lim); in hrtimer_event()
127 dts = timespec64_sub(ts3, ts2); in hrtimer_event()
/Linux-v4.19/drivers/media/pci/cx23885/
Dcx23885-cards.c2082 struct cx23885_tsport *ts2 = &dev->ts2; in cx23885_card_setup() local
2149 ts2->gen_ctrl_val = 0x10e; in cx23885_card_setup()
2150 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2151 ts2->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; in cx23885_card_setup()
2156 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2157 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2158 ts2->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; in cx23885_card_setup()
2179 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2180 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2181 ts2->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; in cx23885_card_setup()
[all …]
Dcx23885-core.c973 cx23885_init_tsport(dev, &dev->ts2, 2); in cx23885_dev_setup()
1063 dev->ts2.num_frontends = in cx23885_dev_setup()
1065 if (cx23885_dvb_register(&dev->ts2) < 0) { in cx23885_dev_setup()
1111 cx23885_dvb_unregister(&dev->ts2); in cx23885_dev_unregister()
1772 struct cx23885_tsport *ts2 = &dev->ts2; in cx23885_irq() local
1807 ts2_count = cx_read(ts2->reg_gpcnt); in cx23885_irq()
1901 handled += cx23885_irq_ts(ts2, ts2_status); in cx23885_irq()
Dcimax2.c399 port = &dev->ts2; in netup_ci_slot_status()
Dcx23885.h392 struct cx23885_tsport ts1, ts2; member
Dcx23885-video.c988 vfe = vb2_dvb_get_frontend(&dev->ts2.frontends, 1); in cx23885_set_freq_via_ops()
/Linux-v4.19/tools/testing/selftests/timers/
Dfreq-step.c51 static double diff_timespec(struct timespec *ts1, struct timespec *ts2) in diff_timespec() argument
53 return ts1->tv_sec - ts2->tv_sec + (ts1->tv_nsec - ts2->tv_nsec) / 1e9; in diff_timespec()
59 struct timespec ts1, ts2, ts3; in get_sample() local
64 clock_gettime(CLOCK_MONOTONIC, &ts2); in get_sample()
68 ts2.tv_sec -= mono_base; in get_sample()
78 sample->offset = diff_timespec(&ts2, &ts1); in get_sample()
/Linux-v4.19/drivers/mmc/core/
Dmmc_test.c562 struct timespec64 *ts1, struct timespec64 *ts2) in mmc_test_print_rate() argument
567 ts = timespec64_sub(*ts2, *ts1); in mmc_test_print_rate()
587 struct timespec64 *ts2) in mmc_test_print_avg_rate() argument
593 ts = timespec64_sub(*ts2, *ts1); in mmc_test_print_avg_rate()
1444 struct timespec64 ts1, ts2; in mmc_test_area_io_seq() local
1484 ktime_get_ts64(&ts2); in mmc_test_area_io_seq()
1487 mmc_test_print_avg_rate(test, sz, count, &ts1, &ts2); in mmc_test_area_io_seq()
1742 struct timespec64 ts1, ts2; in mmc_test_profile_trim_perf() local
1757 ktime_get_ts64(&ts2); in mmc_test_profile_trim_perf()
1758 mmc_test_print_rate(test, sz, &ts1, &ts2); in mmc_test_profile_trim_perf()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c1020 ds = ent->ts2 - ent->ts1; in mlx5_cmd_invoke()
1474 ent->ts2 = ktime_get_ns(); in mlx5_cmd_comp_handler()
1496 ds = ent->ts2 - ent->ts1; in mlx5_cmd_comp_handler()
/Linux-v4.19/drivers/media/usb/cx231xx/
Dcx231xx.h732 struct cx231xx_tsport ts1, ts2; member
/Linux-v4.19/include/linux/mlx5/
Ddriver.h915 u64 ts2; member