| /netbsd-src/sys/dev/dm/ |
| H A D | dm_target_stripe.c | 111 dm_target_stripe_fini(dm_target_stripe_config_t *tsc) in dm_target_stripe_fini() argument 115 if (tsc == NULL) in dm_target_stripe_fini() 118 while ((tlc = TAILQ_FIRST(&tsc->stripe_devs)) != NULL) { in dm_target_stripe_fini() 119 TAILQ_REMOVE(&tsc->stripe_devs, tlc, entries); in dm_target_stripe_fini() 124 kmem_free(tsc, sizeof(*tsc)); in dm_target_stripe_fini() 139 dm_target_stripe_config_t *tsc; in dm_target_stripe_init() local 151 tsc = kmem_alloc(sizeof(*tsc), KM_SLEEP); in dm_target_stripe_init() 154 TAILQ_INIT(&tsc in dm_target_stripe_init() 188 dm_target_stripe_config_t *tsc; dm_target_stripe_info() local 227 dm_target_stripe_config_t *tsc; dm_target_stripe_table() local 254 dm_target_stripe_config_t *tsc; dm_target_stripe_strategy() local 317 dm_target_stripe_config_t *tsc; dm_target_stripe_sync() local 368 dm_target_stripe_config_t *tsc; dm_target_stripe_secsize() local [all...] |
| H A D | dm_target_snapshot.c | 205 dm_target_snapshot_config_t *tsc; in dm_target_snapshot_init() local 218 tsc = kmem_alloc(sizeof(*tsc), KM_SLEEP); in dm_target_snapshot_init() 219 tsc->tsc_persistent_dev = 0; in dm_target_snapshot_init() 223 tsc->tsc_persistent_dev = 1; in dm_target_snapshot_init() 227 kmem_free(tsc, sizeof(*tsc)); in dm_target_snapshot_init() 231 tsc->tsc_chunk_size = atoi64(argv[3]); in dm_target_snapshot_init() 233 tsc->tsc_snap_dev = dmp_snap; in dm_target_snapshot_init() 234 tsc->tsc_cow_dev = dmp_cow; in dm_target_snapshot_init() 238 table_en->target_config = tsc; in dm_target_snapshot_init() 251 dm_target_snapshot_config_t *tsc; in dm_target_snapshot_table() local [all …]
|
| /netbsd-src/sys/arch/evbarm/tsarm/ |
| H A D | tsrtc.c | 70 struct tsrtc_softc tsrtc, *tsc; in tsrtc_match() local 78 tsc = &tsrtc; in tsrtc_match() 79 sc = &tsc->sc_mc; in tsrtc_match() 80 tsc->sc_iot = aa->ta_iot; in tsrtc_match() 81 if (bus_space_map(tsc->sc_iot, TS7XXX_IO8_HWBASE + TS7XXX_RTCIDX, 1, 0, in tsrtc_match() 82 &tsc->sc_idxh)) in tsrtc_match() 84 if (bus_space_map(tsc->sc_iot, TS7XXX_IO8_HWBASE + TS7XXX_RTCDAT, 1, 0, in tsrtc_match() 85 &tsc->sc_dath)) in tsrtc_match() 104 bus_space_unmap(tsc->sc_iot, tsc->sc_idxh, 1); in tsrtc_match() 105 bus_space_unmap(tsc->sc_iot, tsc->sc_dath, 1); in tsrtc_match() [all …]
|
| /netbsd-src/sys/dev/mii/ |
| H A D | tlphy.c | 128 struct tlphy_softc *tsc = device_private(self); in tlphyattach() local 129 struct mii_softc *sc = &tsc->sc_mii; in tlphyattach() 157 tsc->sc_tlphycap = tlsc->tl_product->tp_tlphymedia; in tlphyattach() 158 if ((tsc->sc_tlphycap & TLPHY_MEDIA_NO_10_T) == 0) { in tlphyattach() 173 if (tsc->sc_tlphycap) { in tlphyattach() 178 if (tsc->sc_tlphycap & TLPHY_MEDIA_10_2) { in tlphyattach() 182 } else if (tsc->sc_tlphycap & TLPHY_MEDIA_10_5) { in tlphyattach() 209 struct tlphy_softc *tsc = (struct tlphy_softc *)sc; in tlphy_service() local 215 if ((sc->mii_flags & MIIF_DOINGAUTO) == 0 && tsc->sc_need_acomp) in tlphy_service() 216 tlphy_acomp(tsc); in tlphy_service() [all …]
|
| /netbsd-src/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-src/sys/arch/arm/nvidia/ |
| H A D | tegra_com.c | 83 struct tegra_com_softc * const tsc = device_private(self); in tegra_com_attach() local 84 struct com_softc * const sc = &tsc->tsc_sc; in tegra_com_attach() 106 tsc->tsc_clk = fdtbus_clock_get_index(faa->faa_phandle, 0); in tegra_com_attach() 107 tsc->tsc_rst = fdtbus_reset_get(faa->faa_phandle, "serial"); in tegra_com_attach() 109 if (tsc->tsc_clk == NULL) { in tegra_com_attach() 114 sc->sc_frequency = clk_get_rate(tsc->tsc_clk); in tegra_com_attach() 133 tsc->tsc_ih = fdtbus_intr_establish_xname(faa->faa_phandle, 0, in tegra_com_attach() 135 if (tsc->tsc_ih == NULL) { in tegra_com_attach()
|
| /netbsd-src/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 in xen_vcputime_enter() 243 * Must read the tsc before re-reading the version on the local in xen_vcputime_exit() 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 in xen_vcputime_systime_ns() local 618 uint64_t tsc_start, last_tsc, tsc; xen_delay() local [all...] |
| /netbsd-src/external/bsd/ntp/dist/util/ |
| H A D | pps-api.c | 33 Chew(struct timespec *tsa, struct timespec *tsc, unsigned sa, unsigned sc) in Chew() argument 39 printf("%d.%09d ", tsc->tv_sec, tsc->tv_nsec); in Chew() 42 ts = *tsc; in Chew()
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
| H A D | cycleclock.h | 172 uint64_t tsc; in Now() 173 asm("stck %0" : "=Q"(tsc) : : "cc"); in Now() 174 return tsc; in Now()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/src/ |
| H A D | cycleclock.h | 172 uint64_t tsc; in Now() 173 asm("stck %0" : "=Q" (tsc) : : "cc"); in Now() 174 return tsc; in Now()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/docs/ |
| H A D | XRayExample.rst | 111 constant-tsc: true 112 nonstop-tsc: true 115 …ion: __cxx_global_var_init.8, cpu: 37, thread: 69819, kind: function-enter, tsc: 5434426023268520 } 116 …tion: __cxx_global_var_init.8, cpu: 37, thread: 69819, kind: function-exit, tsc: 5434426023523052 } 117 …ction: __cxx_global_var_init, cpu: 37, thread: 69819, kind: function-enter, tsc: 5434426029925386 } 118 …nction: __cxx_global_var_init, cpu: 37, thread: 69819, kind: function-exit, tsc: 5434426030031128 } 119 …ingRef, llvm::raw_ostream*)', cpu: 37, thread: 69819, kind: function-enter, tsc: 5434426046951388 } 120 …ringRef, llvm::raw_ostream*)', cpu: 37, thread: 69819, kind: function-exit, tsc: 5434426047282020 } 121 …m::LLLexer::LexIdentifier()', cpu: 37, thread: 69819, kind: function-enter, tsc: 5434426047857332 } 122 …vm::LLLexer::LexIdentifier()', cpu: 37, thread: 69819, kind: function-exit, tsc: 5434426047984152 } [all …]
|
| /netbsd-src/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; in visit() 32 OS << formatv("<TSC Wrap: base = {0}>", R.tsc()) << Delim; in visit() 39 R.tsc(), R.cpu(), R.size(), R.data()) in visit()
|
| H A D | FDRTraceExpander.cpp | 30 BaseTSC = R.tsc(); in visit() 35 BaseTSC = R.tsc(); in visit() 42 CurrentRecord.TSC = R.tsc(); in visit()
|
| H A D | FDRTraceWriter.cpp | 88 return writeMetadata<2u>(OS, R.cpuid(), R.tsc()); in visit() 92 return writeMetadata<3u>(OS, R.tsc()); in visit() 96 if (auto E = writeMetadata<5u>(OS, R.size(), R.tsc(), R.cpu())) in visit()
|
| /netbsd-src/sys/arch/x86/x86/ |
| H A D | tsc.c | 1 /* $NetBSD: tsc.c,v 1.61 2024/10/03 12:29:07 riastradh Exp $ */ 30 __KERNEL_RCSID(0, "$NetBSD: tsc.c,v 1.61 2024/10/03 12:29:07 riastradh Exp $"); 49 #include "tsc.h" 326 uint64_t tsc; in tsc_post_ap() local 338 tsc = tsc_dummy_cacheline; in tsc_post_ap() 340 tsc += rdtsc(); in tsc_post_ap() 343 (void)atomic_swap_64(&tsc_sync_val, tsc); in tsc_post_ap() 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-src/external/cddl/osnet/dev/dtrace/amd64/ |
| H A D | dtrace_subr.c | 369 uint64_t tsc; in dtrace_gethrtime() local 379 tsc = rdtsc() + tsc_skew[cpu_number()]; in dtrace_gethrtime() 380 lo = tsc; in dtrace_gethrtime() 381 hi = tsc >> 32; in dtrace_gethrtime()
|
| /netbsd-src/external/cddl/osnet/dev/dtrace/i386/ |
| H A D | dtrace_subr.c | 383 uint64_t tsc; in dtrace_gethrtime() local 393 tsc = dtrace_rdtsc() + tsc_skew[cpu_number()]; in dtrace_gethrtime() 394 lo = tsc; in dtrace_gethrtime() 395 hi = tsc >> 32; in dtrace_gethrtime()
|
| /netbsd-src/sys/dev/tc/ |
| H A D | slhci_tcu.c | 75 struct slhci_tcu_softc *tsc = device_private(self); in slhci_tcu_attach() local 76 struct slhci_softc *sc = &tsc->sc; in slhci_tcu_attach()
|
| /netbsd-src/sys/external/mit/xen-include-public/dist/xen/include/public/arch-x86/hvm/ |
| H A D | save.h | 147 uint64_t tsc; member 261 uint64_t tsc; member 293 ucpu->nat.tsc = ucpu->cmp.tsc; in _hvm_hw_fix_cpu()
|
| /netbsd-src/share/man/man4/man4.alpha/ |
| H A D | Makefile | 5 mcpcia.4 sableio.4 tcasic.4 tlsb.4 tsc.4 tsciic.4 \
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
| H A D | imx6ulz-14x14-evk.dts | 15 /delete-node/ &tsc;
|
| H A D | lpc32xx.dtsi | 445 tsc: tsc@40048000 { label 446 compatible = "nxp,lpc3220-tsc";
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/XRay/ |
| H A D | FDRRecords.h | 175 uint64_t tsc() const { return TSC; } in tsc() function 197 uint64_t tsc() const { return BaseTSC; } in tsc() function 224 uint64_t tsc() const { return TSC; } in tsc() function
|
| /netbsd-src/sys/arch/alpha/pci/ |
| H A D | tsc.c | 55 #define tsc() { Generate ctags(1) key. } macro 60 CFATTACH_DECL_NEW(tsc, 0, tscmatch, tscattach, NULL, NULL);
|
| /netbsd-src/sys/arch/alpha/conf/ |
| H A D | files.alpha | 278 device tsc { } 279 attach tsc at mainbus 280 file arch/alpha/pci/tsc.c dec_6600 283 attach tsp at tsc 290 attach tsciic at tsc
|