Searched refs:tsc (Results 1 - 25 of 34) sorted by relevance

12

/netbsd-current/share/man/man9/man9.x86/
H A DMakefile3 MAN= nmi.9 rdmsr.9 tsc.9 x86_msr_xcall.9
14 MLINKS+=tsc.9 rdtsc.9 \
15 tsc.9 tsc_tc_init.9 \
16 tsc.9 tsc_sync_ap.9 \
17 tsc.9 tsc_sync_bp.9 \
18 tsc.9 tsc_sync_drift.9
/netbsd-current/sys/dev/dm/
H A Ddm_target_stripe.c111 dm_target_stripe_fini(dm_target_stripe_config_t *tsc) argument
115 if (tsc == NULL)
118 while ((tlc = TAILQ_FIRST(&tsc->stripe_devs)) != NULL) {
119 TAILQ_REMOVE(&tsc->stripe_devs, tlc, entries);
124 kmem_free(tsc, sizeof(*tsc));
139 dm_target_stripe_config_t *tsc; local
151 tsc = kmem_alloc(sizeof(*tsc), KM_SLEEP);
154 TAILQ_INIT(&tsc
188 dm_target_stripe_config_t *tsc; local
227 dm_target_stripe_config_t *tsc; local
254 dm_target_stripe_config_t *tsc; local
317 dm_target_stripe_config_t *tsc; local
368 dm_target_stripe_config_t *tsc; local
[all...]
H A Ddm_target_snapshot.c205 dm_target_snapshot_config_t *tsc; local
218 tsc = kmem_alloc(sizeof(*tsc), KM_SLEEP);
219 tsc->tsc_persistent_dev = 0;
223 tsc->tsc_persistent_dev = 1;
227 kmem_free(tsc, sizeof(*tsc));
231 tsc->tsc_chunk_size = atoi64(argv[3]);
233 tsc->tsc_snap_dev = dmp_snap;
234 tsc
251 dm_target_snapshot_config_t *tsc; local
324 dm_target_snapshot_config_t *tsc = table_en->target_config; local
[all...]
/netbsd-current/sys/arch/evbarm/tsarm/
H A Dtsrtc.c70 struct tsrtc_softc tsrtc, *tsc; local
78 tsc = &tsrtc;
79 sc = &tsc->sc_mc;
80 tsc->sc_iot = aa->ta_iot;
81 if (bus_space_map(tsc->sc_iot, TS7XXX_IO8_HWBASE + TS7XXX_RTCIDX, 1, 0,
82 &tsc->sc_idxh))
84 if (bus_space_map(tsc->sc_iot, TS7XXX_IO8_HWBASE + TS7XXX_RTCDAT, 1, 0,
85 &tsc->sc_dath))
104 bus_space_unmap(tsc->sc_iot, tsc
113 struct tsrtc_softc *tsc = device_private(self); local
[all...]
/netbsd-current/sys/dev/mii/
H A Dtlphy.c128 struct tlphy_softc *tsc = device_private(self); local
129 struct mii_softc *sc = &tsc->sc_mii;
157 tsc->sc_tlphycap = tlsc->tl_product->tp_tlphymedia;
158 if ((tsc->sc_tlphycap & TLPHY_MEDIA_NO_10_T) == 0) {
173 if (tsc->sc_tlphycap) {
178 if (tsc->sc_tlphycap & TLPHY_MEDIA_10_2) {
182 } else if (tsc->sc_tlphycap & TLPHY_MEDIA_10_5) {
209 struct tlphy_softc *tsc = (struct tlphy_softc *)sc; local
215 if ((sc->mii_flags & MIIF_DOINGAUTO) == 0 && tsc->sc_need_acomp)
216 tlphy_acomp(tsc);
315 struct tlphy_softc *tsc = (struct tlphy_softc *)sc; local
365 tlphy_auto(struct tlphy_softc *tsc) argument
384 tlphy_acomp(struct tlphy_softc *tsc) argument
[all...]
/netbsd-current/sys/arch/arm/nvidia/
H A Dtegra_com.c83 struct tegra_com_softc * const tsc = device_private(self); local
84 struct com_softc * const sc = &tsc->tsc_sc;
106 tsc->tsc_clk = fdtbus_clock_get_index(faa->faa_phandle, 0);
107 tsc->tsc_rst = fdtbus_reset_get(faa->faa_phandle, "serial");
109 if (tsc->tsc_clk == NULL) {
114 sc->sc_frequency = clk_get_rate(tsc->tsc_clk);
133 tsc->tsc_ih = fdtbus_intr_establish_xname(faa->faa_phandle, 0,
135 if (tsc->tsc_ih == NULL) {
/netbsd-current/share/man/man4/man4.alpha/
H A DMakefile5 mcpcia.4 sableio.4 tcasic.4 tlsb.4 tsc.4 tsciic.4 \
/netbsd-current/external/bsd/ntp/dist/util/
H A Dpps-api.c33 Chew(struct timespec *tsa, struct timespec *tsc, unsigned sa, unsigned sc) argument
39 printf("%d.%09d ", tsc->tv_sec, tsc->tv_nsec);
42 ts = *tsc;
/netbsd-current/sys/dev/tc/
H A Dslhci_tcu.c75 struct slhci_tcu_softc *tsc = device_private(self); local
76 struct slhci_softc *sc = &tsc->sc;
/netbsd-current/external/apache2/llvm/dist/llvm/lib/XRay/
H A DRecordPrinter.cpp27 OS << formatv("<CPU: id = {0}, tsc = {1}>", R.cpuid(), R.tsc()) << Delim;
32 OS << formatv("<TSC Wrap: base = {0}>", R.tsc()) << Delim;
38 "<Custom Event: tsc = {0}, cpu = {1}, size = {2}, data = '{3}'>",
39 R.tsc(), R.cpu(), R.size(), R.data())
H A DFDRTraceExpander.cpp30 BaseTSC = R.tsc();
35 BaseTSC = R.tsc();
42 CurrentRecord.TSC = R.tsc();
H A DFDRTraceWriter.cpp88 return writeMetadata<2u>(OS, R.cpuid(), R.tsc());
92 return writeMetadata<3u>(OS, R.tsc());
96 if (auto E = writeMetadata<5u>(OS, R.size(), R.tsc(), R.cpu()))
/netbsd-current/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
H A Dcycleclock.h172 uint64_t tsc;
173 asm("stck %0" : "=Q"(tsc) : : "cc");
174 return tsc;
/netbsd-current/external/apache2/llvm/dist/llvm/utils/benchmark/src/
H A Dcycleclock.h172 uint64_t tsc;
173 asm("stck %0" : "=Q" (tsc) : : "cc");
174 return tsc;
/netbsd-current/sys/arch/amd64/amd64/
H A Dautoconf.c87 #include <x86/x86/tsc.h>
/netbsd-current/sys/arch/xen/xen/
H A Dxen_clock.c88 "uint64_t"/*tsc*/,
96 "uint64_t"/*tsc*/,
104 "uint64_t"/*tsc*/,
112 "uint64_t"/*tsc*/,
177 * Read the local pCPU's tsc.
219 * Must read the version before reading the tsc on the local
243 * Must read the tsc before re-reading the version on the local
255 * Convert a difference in tsc units to a difference in
282 * from the tsc, in units of nanoseconds. Caller must be bound to
291 uint64_t raw_systime_ns, tsc_timestamp, tsc, delta_ts local
618 uint64_t tsc_start, last_tsc, tsc; local
[all...]
/netbsd-current/external/cddl/osnet/dev/dtrace/amd64/
H A Ddtrace_subr.c369 uint64_t tsc; local
379 tsc = rdtsc() + tsc_skew[cpu_number()];
380 lo = tsc;
381 hi = tsc >> 32;
/netbsd-current/sys/arch/x86/x86/
H A Dtsc.c1 /* $NetBSD: tsc.c,v 1.60 2024/02/19 20:10:09 mrg Exp $ */
30 __KERNEL_RCSID(0, "$NetBSD: tsc.c,v 1.60 2024/02/19 20:10:09 mrg Exp $");
49 #include "tsc.h"
326 uint64_t tsc; local
338 tsc = tsc_dummy_cacheline;
340 tsc += rdtsc();
343 (void)atomic_swap_64(&tsc_sync_val, tsc);
456 * tsc has been reset; zero the cached tsc of every lwp in the system
457 * so we don't spuriously report that the tsc ha
[all...]
/netbsd-current/external/cddl/osnet/dev/dtrace/i386/
H A Ddtrace_subr.c340 /* Already handled in x86/tsc.c for ci_data.cpu_cc_skew */
383 uint64_t tsc; local
393 tsc = dtrace_rdtsc() + tsc_skew[cpu_number()];
394 lo = tsc;
395 hi = tsc >> 32;
/netbsd-current/sys/external/mit/xen-include-public/dist/xen/include/public/arch-x86/hvm/
H A Dsave.h147 uint64_t tsc; member in struct:hvm_hw_cpu
261 uint64_t tsc; member in struct:hvm_hw_cpu_compat
293 ucpu->nat.tsc = ucpu->cmp.tsc;
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/XRay/
H A DFDRRecords.h175 uint64_t tsc() const { return TSC; } function in class:llvm::xray::NewCPUIDRecord
197 uint64_t tsc() const { return BaseTSC; } function in class:llvm::xray::TSCWrapRecord
224 uint64_t tsc() const { return TSC; } function in class:llvm::xray::CustomEventRecord
/netbsd-current/sys/arch/alpha/pci/
H A Dtsc.c1 /* $NetBSD: tsc.c,v 1.30 2023/12/04 00:32:10 thorpej Exp $ */
36 __KERNEL_RCSID(0, "$NetBSD: tsc.c,v 1.30 2023/12/04 00:32:10 thorpej Exp $");
55 #define tsc() { Generate ctags(1) key. } macro
60 CFATTACH_DECL_NEW(tsc, 0, tscmatch, tscattach, NULL, NULL);
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/gvt/
H A Dtrace.h39 #include <asm/tsc.h>
/netbsd-current/sys/arch/x86/isa/
H A Dclock.c151 #include <x86/x86/tsc.h>
/netbsd-current/sys/arch/x86/acpi/
H A Dacpi_wakeup.c99 #include <x86/x86/tsc.h>

Completed in 227 milliseconds

12