/netbsd-current/share/man/man9/man9.x86/ |
H A D | Makefile | 3 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 D | dm_target_stripe.c | 111 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 D | dm_target_snapshot.c | 205 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 D | tsrtc.c | 70 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 D | tlphy.c | 128 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 D | tegra_com.c | 83 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 D | Makefile | 5 mcpcia.4 sableio.4 tcasic.4 tlsb.4 tsc.4 tsciic.4 \
|
/netbsd-current/external/bsd/ntp/dist/util/ |
H A D | pps-api.c | 33 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 D | slhci_tcu.c | 75 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 D | RecordPrinter.cpp | 27 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 D | FDRTraceExpander.cpp | 30 BaseTSC = R.tsc(); 35 BaseTSC = R.tsc(); 42 CurrentRecord.TSC = R.tsc();
|
H A D | FDRTraceWriter.cpp | 88 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 D | cycleclock.h | 172 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 D | cycleclock.h | 172 uint64_t tsc; 173 asm("stck %0" : "=Q" (tsc) : : "cc"); 174 return tsc;
|
/netbsd-current/sys/arch/amd64/amd64/ |
H A D | autoconf.c | 87 #include <x86/x86/tsc.h>
|
/netbsd-current/sys/arch/xen/xen/ |
H A D | xen_clock.c | 88 "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 D | dtrace_subr.c | 369 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 D | tsc.c | 1 /* $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 D | dtrace_subr.c | 340 /* 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 D | save.h | 147 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 D | FDRRecords.h | 175 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 D | tsc.c | 1 /* $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 D | trace.h | 39 #include <asm/tsc.h>
|
/netbsd-current/sys/arch/x86/isa/ |
H A D | clock.c | 151 #include <x86/x86/tsc.h>
|
/netbsd-current/sys/arch/x86/acpi/ |
H A D | acpi_wakeup.c | 99 #include <x86/x86/tsc.h>
|