Searched refs:ts1 (Results 1 - 25 of 26) sorted by relevance

12

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_time_tai.c12 __u64 ts1, ts2; local
15 ts1 = bpf_ktime_get_tai_ns();
19 skb->tstamp = ts1;
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtime_tai.c37 __u64 ts1, ts2, now; local
51 ts1 = skb.tstamp;
55 ASSERT_NEQ(ts1, 0, "tai_ts1");
59 ASSERT_GE(ts2, ts1, "tai_forward");
66 ASSERT_TRUE(now > ts1, "tai_future_ts1");
70 ASSERT_TRUE(now - ts1 < TAI_THRESHOLD, "tai_range_ts1");
H A Dfexit_sleep.c14 struct timespec ts1 = { .tv_nsec = 1 }; local
18 (void)syscall(__NR_nanosleep, &ts1, NULL);
/linux-master/tools/testing/selftests/timers/
H A Dfreq-step.c43 static double diff_timespec(struct timespec *ts1, struct timespec *ts2) argument
45 return ts1->tv_sec - ts2->tv_sec + (ts1->tv_nsec - ts2->tv_nsec) / 1e9;
51 struct timespec ts1, ts2, ts3; local
55 clock_gettime(CLOCK_MONOTONIC_RAW, &ts1);
59 ts1.tv_sec -= mono_raw_base;
63 delay = diff_timespec(&ts3, &ts1);
70 sample->offset = diff_timespec(&ts2, &ts1);
72 sample->time = ts1.tv_sec + ts1
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_clock.c43 struct timespec64 ts1, ts2, ts3, ts4; local
50 ktime_get_real_ts64(&ts1);
58 delta_us = timespec_to_us(&ts2) - timespec_to_us(&ts1);
85 delta_us = timespec_to_us(&ts3) - timespec_to_us(&ts1);
/linux-master/drivers/pps/generators/
H A Dpps_gen_parport.c57 struct timespec64 expire_time, ts1, ts2, ts3, dts; local
75 ktime_get_real_ts64(&ts1);
81 if (expire_time.tv_sec != ts1.tv_sec || ts1.tv_nsec > lim) {
84 (s64)ts1.tv_sec, ts1.tv_nsec);
117 dts = timespec64_sub(ts1, expire_time);
/linux-master/drivers/media/pci/cx23885/
H A Dcx23885-cards.c2134 struct cx23885_tsport *ts1 = &dev->ts1; local
2197 ts1->gen_ctrl_val = 0x4; /* Parallel */
2198 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */
2199 ts1->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO;
2214 ts1->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */
2215 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */
2216 ts1->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO;
2222 ts1->gen_ctrl_val = 0x10e;
2223 ts1
[all...]
H A Dcx23885-417.c1013 dev->ts1.height = 480;
1015 dev->ts1.height = 576;
1019 dev->ts1.height, dev->ts1.width);
1021 dev->cxhdl.width = dev->ts1.width;
1022 dev->cxhdl.height = dev->ts1.height;
1129 dev->ts1.ts_packet_size = mpeglinesize;
1130 dev->ts1.ts_packet_count = mpeglines;
1144 return cx23885_buf_prepare(buf, &dev->ts1);
1164 cx23885_buf_queue(&dev->ts1, bu
[all...]
H A Dcx23885-dvb.c1263 tda18271_attach(&dev->ts1.analog_fe,
1671 tda18271_attach(&dev->ts1.analog_fe,
2318 dev->ts1.analog_fe.tuner_priv = client_tuner;
2319 memcpy(&dev->ts1.analog_fe.ops.tuner_ops,
2381 dev->ts1.analog_fe.tuner_priv = client_tuner;
2382 memcpy(&dev->ts1.analog_fe.ops.tuner_ops,
2474 dev->ts1.analog_fe.tuner_priv = client_tuner;
2475 memcpy(&dev->ts1.analog_fe.ops.tuner_ops,
2545 dev->ts1.analog_fe.tuner_priv = client_tuner;
2546 memcpy(&dev->ts1
[all...]
H A Dcx23885-core.c977 cx23885_init_tsport(dev, &dev->ts1, 1);
1055 dev->ts1.num_frontends =
1057 if (cx23885_dvb_register(&dev->ts1) < 0) {
1113 cx23885_dvb_unregister(&dev->ts1);
1676 struct cx23885_tsport *port = &dev->ts1;
1783 struct cx23885_tsport *ts1 = &dev->ts1; local
1818 ts1_count = cx_read(ts1->reg_gpcnt);
1905 handled += cx23885_irq_ts(ts1, ts1_status);
H A Dcimax2.c382 port = &dev->ts1;
H A Dcx23885.h382 struct cx23885_tsport ts1, ts2; member in struct:cx23885_dev
/linux-master/tools/testing/selftests/kvm/lib/
H A Dtest_util.c97 struct timespec timespec_add(struct timespec ts1, struct timespec ts2) argument
99 int64_t ns1 = timespec_to_ns(ts1);
104 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) argument
106 int64_t ns1 = timespec_to_ns(ts1);
/linux-master/lib/math/
H A Dtest_div64.c222 struct timespec64 ts, ts0, ts1; local
232 ktime_get_ts64(&ts1);
233 ts = timespec64_sub(ts1, ts0);
/linux-master/tools/testing/selftests/mm/
H A Dmigration.c67 struct timespec ts1, ts2; local
69 if (clock_gettime(CLOCK_MONOTONIC, &ts1))
76 if (ts2.tv_sec - ts1.tv_sec >= RUNTIME)
/linux-master/drivers/mmc/core/
H A Dmmc_test.c559 struct timespec64 *ts1, struct timespec64 *ts2)
564 ts = timespec64_sub(*ts2, *ts1);
583 unsigned int count, struct timespec64 *ts1,
590 ts = timespec64_sub(*ts2, *ts1);
1442 struct timespec64 ts1, ts2; local
1467 ktime_get_ts64(&ts1);
1483 mmc_test_print_avg_rate(test, sz, count, &ts1, &ts2);
1746 struct timespec64 ts1, ts2; local
1757 ktime_get_ts64(&ts1);
1762 mmc_test_print_rate(test, sz, &ts1,
558 mmc_test_print_rate(struct mmc_test_card *test, uint64_t bytes, struct timespec64 *ts1, struct timespec64 *ts2) argument
582 mmc_test_print_avg_rate(struct mmc_test_card *test, uint64_t bytes, unsigned int count, struct timespec64 *ts1, struct timespec64 *ts2) argument
1778 struct timespec64 ts1, ts2; local
1817 struct timespec64 ts1, ts2; local
1863 struct timespec64 ts1, ts2; local
1911 struct timespec64 ts1, ts2, ts; local
2010 struct timespec64 ts1, ts2; local
[all...]
/linux-master/drivers/media/usb/cx231xx/
H A Dcx231xx-417.c1084 dev->ts1.height, dev->ts1.width);
1086 dev->mpeg_ctrl_handler.width = dev->ts1.width;
1087 dev->mpeg_ctrl_handler.height = dev->ts1.height;
1223 dev->ts1.ts_packet_size = mpeglinesize;
1224 dev->ts1.ts_packet_count = mpeglines;
1495 s->r.width = dev->ts1.width;
1496 s->r.height = dev->ts1.height;
1527 dev->ts1.height = 480;
1532 dev->ts1
[all...]
H A Dcx231xx.h707 struct cx231xx_tsport ts1, ts2; member in struct:cx231xx
/linux-master/kernel/
H A Dsmp.c215 static bool csd_lock_wait_toolong(call_single_data_t *csd, u64 ts0, u64 *ts1, int *bug_id) argument
236 ts_delta = ts2 - *ts1;
278 *ts1 = ts2;
293 u64 ts0, ts1; local
295 ts1 = ts0 = sched_clock();
297 if (csd_lock_wait_toolong(csd, ts0, &ts1, &bug_id))
/linux-master/tools/testing/selftests/kvm/include/
H A Dtest_util.h85 struct timespec timespec_add(struct timespec ts1, struct timespec ts2);
86 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2);
/linux-master/fs/ext4/
H A Dioctl.c315 struct timespec64 ts1, ts2; local
322 ts1 = inode_get_atime(inode1);
325 inode_set_atime_to_ts(inode2, ts1);
327 ts1 = inode_get_mtime(inode1);
330 inode_set_mtime_to_ts(inode2, ts1);
/linux-master/drivers/ptp/
H A Dptp_idt82p33.c744 struct timespec64 ts1 = {0, 0}; local
750 err = _idt82p33_settime(channel, &ts1);
758 *overhead_ns = timespec64_to_ns(&ts2) - timespec64_to_ns(&ts1);
H A Dptp_ocp.c340 struct ptp_ocp_ext_src *ts1; member in struct:ptp_ocp
511 OCP_EXT_RESOURCE(ts1),
764 OCP_EXT_RESOURCE(ts1),
879 OCP_EXT_RESOURCE(ts1),
1380 ext = bp->ts1;
4019 if (bp->ts1) {
4020 ts_reg = bp->ts1->mem;
4463 if (bp->ts1)
4464 ptp_ocp_unregister_ext(bp->ts1);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c1023 ent->ts1 = ktime_get_ns();
1231 ds = ent->ts2 - ent->ts1;
1701 ds = ent->ts2 - ent->ts1;
/linux-master/include/linux/mlx5/
H A Ddriver.h873 u64 ts1; member in struct:mlx5_cmd_work_ent

Completed in 480 milliseconds

12