/openbmc/u-boot/drivers/fpga/ |
H A D | zynqpl.c | 155 unsigned long ts; in zynq_dma_transfer() local 167 ts = get_timer(0); in zynq_dma_transfer() 198 unsigned long ts; in zynq_dma_xfer_init() local 228 ts = get_timer(0); in zynq_dma_xfer_init() 230 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT) { in zynq_dma_xfer_init() 241 ts = get_timer(0); in zynq_dma_xfer_init() 371 unsigned long ts; /* Timestamp */ in zynq_load() local 396 ts = get_timer(0); in zynq_load() 398 if (get_timer(ts) > CONFIG_SYS_FPGA_WAIT) { in zynq_load() 418 unsigned long ts; /* Timestamp */ in zynq_loadfs() local [all …]
|
H A D | virtex2.c | 169 unsigned long ts; in virtex2_ssm_load() local 210 ts = get_timer (0); in virtex2_ssm_load() 212 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT_INIT) { in virtex2_ssm_load() 228 ts = get_timer (0); in virtex2_ssm_load() 231 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT_INIT) { in virtex2_ssm_load() 284 ts = get_timer (0); in virtex2_ssm_load() 286 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT_BUSY) { in virtex2_ssm_load() 317 ts = get_timer (0); in virtex2_ssm_load() 320 if (get_timer (ts) > CONFIG_SYS_FPGA_WAIT_CONFIG) { in virtex2_ssm_load()
|
/openbmc/linux/kernel/irq/ |
H A D | timings.c | 482 irqs->last_ts = ts; in irq_timings_store() 489 interval = ts - old_ts; in irq_timings_store() 541 u64 ts, next_evt = U64_MAX; in irq_timings_next_event() local 572 irq_timings_store(irq, this_cpu_ptr(s), ts); in irq_timings_next_event() 583 ts = __irq_timings_next_event(irqs, i, now); in irq_timings_next_event() 584 if (ts <= now) in irq_timings_next_event() 587 if (ts < next_evt) in irq_timings_next_event() 588 next_evt = ts; in irq_timings_next_event() 841 u64 ots = 0xDEAD, ts; in irq_timings_test_irqts() local 876 i, ts, ots, irq, oirq); in irq_timings_test_irqts() [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-event.c | 30 struct timespec64 ts; in __v4l2_event_dequeue() local 48 ts = ns_to_timespec64(kev->ts); in __v4l2_event_dequeue() 49 event->timestamp.tv_sec = ts.tv_sec; in __v4l2_event_dequeue() 50 event->timestamp.tv_nsec = ts.tv_nsec; in __v4l2_event_dequeue() 103 const struct v4l2_event *ev, u64 ts) in __v4l2_event_queue_fh() argument 143 kev->ts = ts; in __v4l2_event_queue_fh() 157 u64 ts; in v4l2_event_queue() local 162 ts = ktime_get_ns(); in v4l2_event_queue() 167 __v4l2_event_queue_fh(fh, ev, ts); in v4l2_event_queue() 176 u64 ts = ktime_get_ns(); in v4l2_event_queue_fh() local [all …]
|
/openbmc/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_drv.h | 113 struct timespec64 ts, to = { in etnaviv_timeout_to_jiffies() local 118 ktime_get_ts64(&ts); in etnaviv_timeout_to_jiffies() 121 if (timespec64_compare(&to, &ts) <= 0) in etnaviv_timeout_to_jiffies() 124 ts = timespec64_sub(to, ts); in etnaviv_timeout_to_jiffies() 126 return timespec64_to_jiffies(&ts); in etnaviv_timeout_to_jiffies()
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | dynack.c | 160 st_ts = &da->st_rbf.ts[da->st_rbf.h_rb]; in ath_dynack_compute_to() 207 struct ath_tx_status *ts, in ath_dynack_sample_tx_ts() argument 214 u32 dur = ts->duration; in ath_dynack_sample_tx_ts() 225 if (ts->ts_status & ATH9K_TXERR_XRETRY) { in ath_dynack_sample_tx_ts() 246 ridx = ts->ts_rateindex; in ath_dynack_sample_tx_ts() 248 da->st_rbf.ts[da->st_rbf.t_rb].tstamp = ts->ts_tstamp; in ath_dynack_sample_tx_ts() 270 da->st_rbf.ts[da->st_rbf.t_rb].dur = dur; in ath_dynack_sample_tx_ts() 277 hdr->addr1, ts->ts_tstamp, dur, da->st_rbf.h_rb, in ath_dynack_sample_tx_ts() 294 u32 ts) in ath_dynack_sample_ack_ts() argument 304 da->ack_rbf.tstamp[da->ack_rbf.t_rb] = ts; in ath_dynack_sample_ack_ts() [all …]
|
/openbmc/linux/tools/leds/ |
H A D | led_hw_brightness_mon.c | 31 struct timespec ts; in main() local 67 clock_gettime(CLOCK_MONOTONIC, &ts); in main() 79 printf("[%ld.%09ld] %d\n", ts.tv_sec, ts.tv_nsec, atoi(buf)); in main()
|
/openbmc/qemu/include/qemu/ |
H A D | throttle.h | 123 void throttle_init(ThrottleState *ts); 146 void throttle_config(ThrottleState *ts, 150 void throttle_get_config(ThrottleState *ts, ThrottleConfig *cfg); 155 bool throttle_schedule_timer(ThrottleState *ts, 159 void throttle_account(ThrottleState *ts, ThrottleDirection direction,
|
/openbmc/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
H A D | fsl,cpm1-scc-qmc.yaml | 91 fsl,tx-ts-mask: 97 fsl,rx-ts-mask: 105 - fsl,tx-ts-mask 106 - fsl,rx-ts-mask 142 fsl,tx-ts-mask = <0x00000000 0x000000aa>; 143 fsl,rx-ts-mask = <0x00000000 0x000000aa>; 151 fsl,tx-ts-mask = <0x00000000 0x00000055>; 152 fsl,rx-ts-mask = <0x00000000 0x00000055>; 159 fsl,tx-ts-mask = <0x00000000 0x0000ff00>; 160 fsl,rx-ts-mask = <0x00000000 0x0000ff00>;
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/tslib/ |
H A D | tslib_1.22.bb | 16 file://ts.conf \ 52 PACKAGECONFIG[one-wire-ts-input] = "--enable-one-wire-ts-input,--disable-one-wire-ts-input" 56 install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf 75 FILES:${PN}-dev += "${libdir}/ts/*.la" 76 FILES:tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh ${datadir}/tslib" 77 FILES:${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*"
|
/openbmc/linux/drivers/hte/ |
H A D | hte-tegra194-test.c | 61 static enum hte_return process_hw_ts(struct hte_ts_data *ts, void *p) in process_hw_ts() argument 66 if (!ts || !p) in process_hw_ts() 69 if (ts->raw_level < 0) in process_hw_ts() 73 desc->attr.line_id, ts->seq, ts->tsc, in process_hw_ts() 74 (ts->raw_level >= 0) ? ((ts->raw_level == 0) ? in process_hw_ts()
|
/openbmc/qemu/linux-user/riscv/ |
H A D | cpu_loop.c | 100 TaskState *ts = cpu->opaque; in target_cpu_copy_regs() local 101 struct image_info *info = ts->info; in target_cpu_copy_regs() 112 ts->stack_base = info->start_stack; in target_cpu_copy_regs() 113 ts->heap_base = info->brk; in target_cpu_copy_regs() 115 ts->heap_limit = 0; in target_cpu_copy_regs()
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_idt82p33.c | 74 ts->tv_sec = sec; in idt82p33_byte_array_to_timespec() 75 ts->tv_nsec = nsec; in idt82p33_byte_array_to_timespec() 85 nsec = ts->tv_nsec; in idt82p33_timespec_to_byte_array() 86 sec = ts->tv_sec; in idt82p33_timespec_to_byte_array() 156 struct timespec64 *ts) in idt82p33_get_extts() argument 315 struct timespec64 ts; in idt82p33_extts_check_channel() local 373 struct timespec64 *ts) in _idt82p33_gettime() argument 460 struct timespec64 ts; in _idt82p33_adjtime_immediate() local 474 ts = ns_to_timespec64(now_ns); in _idt82p33_adjtime_immediate() 486 struct timespec64 ts; in _idt82p33_adjtime_internal_triggered() local [all …]
|
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | ksz_ptp.c | 100 if ((ts->tv_sec & 0xffffffff) != ts->tv_sec) in ksz_ptp_tou_target_time_set() 439 struct timespec64 ts; in ksz_tstamp_reconstruct() local 449 ts.tv_sec = (ptp_clock_time.tv_sec & ~3) | ts.tv_sec; in ksz_tstamp_reconstruct() 454 ts.tv_sec -= 4; in ksz_tstamp_reconstruct() 456 ts.tv_sec += 4; in ksz_tstamp_reconstruct() 458 return timespec64_to_ktime(ts); in ksz_tstamp_reconstruct() 619 ts->tv_sec = seconds; in _ksz_ptp_gettime() 632 ret = _ksz_ptp_gettime(dev, ts); in ksz_ptp_gettime() 722 ptp_data->clock_time = *ts; in ksz_ptp_settime() 873 struct timespec64 ts; in ksz_ptp_do_aux_work() local [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | time-utils.h | 45 struct timespec ts; in rdclock() local 47 clock_gettime(CLOCK_MONOTONIC, &ts); in rdclock() 48 return ts.tv_sec * 1000000000ULL + ts.tv_nsec; in rdclock()
|
/openbmc/ibm-logging/ |
H A D | callout.hpp | 90 inline auto ts() const in ts() function in ibm::logging::Callout 100 inline void ts(uint64_t ts) in ts() function in ibm::logging::Callout 102 timestamp = ts; in ts()
|
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/trusted-services/ |
H A D | ts-service-test_git.bb | 1 DESCRIPTION = "Trusted Services ts-service-test deployment for arm-linux. \ 12 OECMAKE_SOURCEPATH = "${S}/deployments/ts-service-test/${TS_ENV}" 14 FILES:${PN} = "${bindir}/ts-service-test" 18 mv ${D}${TS_INSTALL}/bin/ts-service-test ${D}${bindir}
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | intel-pt-events.py | 232 ts = sample["time"] 239 …%-5u [%03u] %9u.%09u " % (machine_pid, vcpu, comm, pid, tid, cpu, ts / 1000000000, ts %1000000000) 241 return "%16s %5u/%-5u [%03u] %9u.%09u " % (comm, pid, tid, cpu, ts / 1000000000, ts %1000000000) 422 ts = sample["time"] 424 if glb_time != ts: 425 glb_time = ts 445 def auxtrace_error(typ, code, cpu, pid, tid, ip, ts, msg, cpumode, *x): argument 457 …(machine_pid, vcpu, "Trace error", pid, tid, cpu, ts / 1000000000, ts %1000000000, typ, code, msg,… 460 ("Trace error", pid, tid, cpu, ts / 1000000000, ts %1000000000, typ, code, msg, ip)) 466 def context_switch(ts, cpu, pid, tid, np_pid, np_tid, machine_pid, out, out_preempt, *x): argument [all …]
|
/openbmc/qemu/util/ |
H A D | qemu-thread-posix.c | 56 static void compute_abs_deadline(struct timespec *ts, int ms) in compute_abs_deadline() argument 58 clock_gettime(qemu_timedwait_clockid(), ts); in compute_abs_deadline() 59 ts->tv_nsec += (ms % 1000) * 1000000; in compute_abs_deadline() 60 ts->tv_sec += ms / 1000; in compute_abs_deadline() 61 if (ts->tv_nsec >= 1000000000) { in compute_abs_deadline() 62 ts->tv_sec++; in compute_abs_deadline() 63 ts->tv_nsec -= 1000000000; in compute_abs_deadline() 250 struct timespec ts; in qemu_cond_timedwait_impl() local 252 compute_abs_deadline(&ts, ms); in qemu_cond_timedwait_impl() 288 struct timespec ts; in qemu_sem_timedwait() local [all …]
|
H A D | qemu-coroutine-sleep.c | 67 QEMUTimer ts; in qemu_co_sleep_ns_wakeable() local 69 aio_timer_init(ctx, &ts, type, SCALE_NS, co_sleep_cb, w); in qemu_co_sleep_ns_wakeable() 70 timer_mod(&ts, qemu_clock_get_ns(type) + ns); in qemu_co_sleep_ns_wakeable() 78 timer_del(&ts); in qemu_co_sleep_ns_wakeable()
|
/openbmc/linux/arch/mips/loongson2ef/common/ |
H A D | time.c | 24 void read_persistent_clock64(struct timespec64 *ts) in read_persistent_clock64() argument 26 ts->tv_sec = mc146818_get_cmos_time(); in read_persistent_clock64() 27 ts->tv_nsec = 0; in read_persistent_clock64()
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | current.h | 10 struct task_struct *ts; in get_current() local 13 asm( "mfctl %%cr30,%0" : "=r" (ts) ); in get_current() 14 return ts; in get_current()
|
/openbmc/linux/arch/s390/include/asm/vdso/ |
H A D | gettimeofday.h | 37 long clock_gettime_fallback(clockid_t clkid, struct __kernel_timespec *ts) in clock_gettime_fallback() argument 39 return syscall2(__NR_clock_gettime, (long)clkid, (long)ts); in clock_gettime_fallback() 50 long clock_getres_fallback(clockid_t clkid, struct __kernel_timespec *ts) in clock_getres_fallback() argument 52 return syscall2(__NR_clock_getres, (long)clkid, (long)ts); in clock_getres_fallback()
|
/openbmc/linux/arch/riscv/include/asm/vdso/ |
H A D | gettimeofday.h | 41 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_gettime_fallback() 47 : "r"(clkid), "r"(ts), "r"(nr) in clock_gettime_fallback() 57 register struct __kernel_timespec *ts asm("a1") = _ts; in clock_getres_fallback() 63 : "r"(clkid), "r"(ts), "r"(nr) in clock_getres_fallback()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | so_txtime.c | 65 struct timespec ts; in gettime_ns() local 67 if (clock_gettime(clock, &ts)) in gettime_ns() 70 return ts.tv_sec * (1000ULL * 1000 * 1000) + ts.tv_nsec; in gettime_ns() 73 static void do_send_one(int fdt, struct timed_send *ts) in do_send_one() argument 82 iov.iov_base = &ts->data; in do_send_one() 90 if (ts->delay_us >= 0) { in do_send_one() 95 tdeliver = glob_tstart + ts->delay_us * 1000; in do_send_one() 114 static void do_recv_one(int fdr, struct timed_send *ts) in do_recv_one() argument 129 texpect = ts->delay_us >= 0 ? ts->delay_us : 0; in do_recv_one() 134 if (rbuf[0] != ts->data) in do_recv_one() [all …]
|