| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | time_tai.c | 37 __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 D | fexit_sleep.c | 14 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 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 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 D | cx231xx-pcb-cfg.c | 40 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 D | test_time_tai.c | 12 __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 D | adf_clock.c | 43 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 D | trigger-inter-event-combined-hist.tc | 25 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 D | test_util.c | 102 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 D | migration.c | 71 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 D | test_util.h | 104 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 D | pinctrl-sun50i-h5.c | 375 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 D | pinctrl-sun50i-h6.c | 281 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 D | mxl5xx_defs.h | 443 * slice0 - TS0, TS1, TS2 & TS3 477 MXL_HYDRA_TS_GROUP_0_3 = 0, /* TS group 0 to 3 (TS0, TS1, TS2 & TS3) */
|
| H A D | ix2505v.c | 100 * byte5: BA2 | BA1 | BA0 | PSC | PD3 |PD2/TS2|DIV/TS1|PD0/TS0
|
| H A D | stv0367.c | 966 /*Set TS1 and TS2 to serial or parallel mode */ in stv0367ter_init()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-timecard | 38 TS1 signal is sent to timestamper 1
|
| /linux/drivers/media/pci/cx23885/ |
| H A D | cimax2.c | 382 port = &dev->ts1; in netup_ci_slot_status()
|
| /linux/drivers/media/pci/smipcie/ |
| H A D | smipcie-main.c | 475 /* ts1 interrupt.*/ in smi_irq_handler()
|
| /linux/drivers/media/usb/uvc/ |
| H A D | uvc_video.c | 758 * TS = ((TS2 - TS1) * SOF + TS1 * SOF2 - TS2 * SOF1) / (SOF2 - SOF1) (2)
|
| /linux/drivers/clk/sprd/ |
| H A D | sc9863a-clk.c | 1174 static SPRD_SC_GATE_CLK_HW(ca53_ts1_eb, "ca53-ts1-eb", &aon_apb.common.hw,
|
| H A D | sc9860-clk.c | 884 static SPRD_SC_GATE_CLK(apcpu_ts1_eb, "apcpu-ts1-eb", "aon-apb", 0x0,
|