Home
last modified time | relevance | path

Searched full:ts1 (Results 1 – 21 of 21) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtime_tai.c37 __u64 ts1, ts2, now; in test_time_tai() local
51 ts1 = skb.tstamp; in test_time_tai()
55 ASSERT_NEQ(ts1, 0, "tai_ts1"); in test_time_tai()
59 ASSERT_GE(ts2, ts1, "tai_forward"); in test_time_tai()
66 ASSERT_TRUE(now > ts1, "tai_future_ts1"); in test_time_tai()
70 ASSERT_TRUE(now - ts1 < TAI_THRESHOLD, "tai_range_ts1"); in test_time_tai()
H A Dfexit_sleep.c14 struct timespec ts1 = { .tv_nsec = 1 }; in do_sleep() local
18 (void)syscall(__NR_nanosleep, &ts1, NULL); in do_sleep()
/linux/tools/testing/selftests/timers/
H 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
55 clock_gettime(CLOCK_MONOTONIC_RAW, &ts1); in get_sample()
59 ts1.tv_sec -= mono_raw_base; in get_sample()
63 delay = diff_timespec(&ts3, &ts1); in get_sample()
70 sample->offset = diff_timespec(&ts2, &ts1); in get_sample()
72 sample->time = ts1.tv_sec + ts1.tv_nsec / 1e9; in get_sample()
/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-pcb-cfg.c40 1, /* ts1 index */
68 1, /* ts1 index */
110 1, /* ts1 index */
137 1, /* ts1 index */
180 NOT_SUPPORTED, /* ts1 index */
207 NOT_SUPPORTED, /* ts1 index */
249 1, /* ts1 index */
276 1, /* ts1 index */
319 1, /* ts1 index */
346 1, /* ts1 index */
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_time_tai.c12 __u64 ts1, ts2; in time_tai() local
15 ts1 = bpf_ktime_get_tai_ns(); in time_tai()
19 skb->tstamp = ts1; in time_tai()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_clock.c43 struct timespec64 ts1, ts2, ts3, ts4; in measure_clock() local
50 ktime_get_real_ts64(&ts1); in measure_clock()
58 delta_us = timespec_to_us(&ts2) - timespec_to_us(&ts1); in measure_clock()
85 delta_us = timespec_to_us(&ts3) - timespec_to_us(&ts1); in measure_clock()
/linux/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
H A Dtrigger-inter-event-combined-hist.tc25 echo 'hist:keys=pid:ts1=common_timestamp.usecs if comm=="ping"' >> events/sched/sched_wakeup/trigger
26 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts1:onmatch(sched.sched_wakeup).wakeup_…
/linux/tools/testing/selftests/kvm/lib/
H A Dtest_util.c102 struct timespec timespec_add(struct timespec ts1, struct timespec ts2) in timespec_add() argument
104 int64_t ns1 = timespec_to_ns(ts1); in timespec_add()
109 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) in timespec_sub() argument
111 int64_t ns1 = timespec_to_ns(ts1); in timespec_sub()
/linux/tools/testing/selftests/mm/
H A Dmigration.c71 struct timespec ts1, ts2; in migrate()
74 if (clock_gettime(CLOCK_MONOTONIC, &ts1)) in migrate()
81 if (ts2.tv_sec - ts1.tv_sec >= RUNTIME) in migrate()
70 struct timespec ts1, ts2; migrate() local
/linux/tools/testing/selftests/kvm/include/
H A Dtest_util.h104 struct timespec timespec_add(struct timespec ts1, struct timespec ts2);
105 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2);
/linux/drivers/pinctrl/sunxi/
H A Dpinctrl-sun50i-h5.c375 SUNXI_FUNCTION(0x4, "ts1")), /* CLK */
381 SUNXI_FUNCTION(0x4, "ts1")), /* ERR */
387 SUNXI_FUNCTION(0x4, "ts1")), /* SYNC */
393 SUNXI_FUNCTION(0x4, "ts1")), /* DVLD */
399 SUNXI_FUNCTION(0x4, "ts1")), /* D0 */
H A Dpinctrl-sun50i-h6.c281 SUNXI_FUNCTION(0x3, "ts1"), /* CLK */
288 SUNXI_FUNCTION(0x3, "ts1"), /* ERR */
295 SUNXI_FUNCTION(0x3, "ts1"), /* SYNC */
302 SUNXI_FUNCTION(0x3, "ts1"), /* DVLD */
309 SUNXI_FUNCTION(0x3, "ts1"), /* D0 */
/linux/drivers/media/dvb-frontends/
H A Dmxl5xx_defs.h443 * slice0 - TS0, TS1, TS2 & TS3
477 MXL_HYDRA_TS_GROUP_0_3 = 0, /* TS group 0 to 3 (TS0, TS1, TS2 & TS3) */
H A Dix2505v.c100 * byte5: BA2 | BA1 | BA0 | PSC | PD3 |PD2/TS2|DIV/TS1|PD0/TS0
H A Dstv0367.c966 /*Set TS1 and TS2 to serial or parallel mode */ in stv0367ter_init()
/linux/Documentation/ABI/testing/
H A Dsysfs-timecard38 TS1 signal is sent to timestamper 1
/linux/drivers/media/pci/cx23885/
H A Dcimax2.c382 port = &dev->ts1; in netup_ci_slot_status()
/linux/drivers/media/pci/smipcie/
H A Dsmipcie-main.c475 /* ts1 interrupt.*/ in smi_irq_handler()
/linux/drivers/media/usb/uvc/
H A Duvc_video.c758 * TS = ((TS2 - TS1) * SOF + TS1 * SOF2 - TS2 * SOF1) / (SOF2 - SOF1) (2)
/linux/drivers/clk/sprd/
H A Dsc9863a-clk.c1174 static SPRD_SC_GATE_CLK_HW(ca53_ts1_eb, "ca53-ts1-eb", &aon_apb.common.hw,
H A Dsc9860-clk.c884 static SPRD_SC_GATE_CLK(apcpu_ts1_eb, "apcpu-ts1-eb", "aon-apb", 0x0,