HomeSort by: relevance | last modified time | path
    Searched refs:tsc (Results 1 - 25 of 38) sorted by relevancy

1 2

  /src/share/man/man9/man9.x86/
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
  /src/sys/dev/dm/
dm_target_stripe.c 111 dm_target_stripe_fini(dm_target_stripe_config_t *tsc)
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->stripe_devs)
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...]
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->tsc_cow_dev = dmp_cow
251 dm_target_snapshot_config_t *tsc; local
324 dm_target_snapshot_config_t *tsc = table_en->target_config; local
    [all...]
  /src/sys/arch/evbarm/tsarm/
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->sc_idxh, 1)
113 struct tsrtc_softc *tsc = device_private(self); local
    [all...]
  /src/sys/dev/mii/
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
    [all...]
  /src/sys/arch/arm/nvidia/
tegra_com.c 84 struct tegra_com_softc * const tsc = device_private(self); local
85 struct com_softc * const sc = &tsc->tsc_sc;
107 tsc->tsc_clk = fdtbus_clock_get_index(faa->faa_phandle, 0);
108 tsc->tsc_rst = fdtbus_reset_get(faa->faa_phandle, "serial");
110 if (tsc->tsc_clk == NULL) {
115 sc->sc_frequency = clk_get_rate(tsc->tsc_clk);
134 tsc->tsc_ih = fdtbus_intr_establish_xname(faa->faa_phandle, 0,
136 if (tsc->tsc_ih == NULL) {
  /src/share/man/man4/man4.alpha/
Makefile 5 mcpcia.4 sableio.4 tcasic.4 tlsb.4 tsc.4 tsciic.4 \
  /src/external/bsd/ntp/dist/util/
pps-api.c 33 Chew(struct timespec *tsa, struct timespec *tsc, unsigned sa, unsigned sc)
39 printf("%d.%09d ", tsc->tv_sec, tsc->tv_nsec);
42 ts = *tsc;
  /src/sys/dev/tc/
slhci_tcu.c 75 struct slhci_tcu_softc *tsc = device_private(self); local
76 struct slhci_softc *sc = &tsc->sc;
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
cycleclock.h 172 uint64_t tsc;
173 asm("stck %0" : "=Q"(tsc) : : "cc");
174 return tsc;
  /src/external/apache2/llvm/dist/llvm/lib/XRay/
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())
FDRTraceExpander.cpp 30 BaseTSC = R.tsc();
35 BaseTSC = R.tsc();
42 CurrentRecord.TSC = R.tsc();
57 CurrentRecord.TSC = BaseTSC;
72 CurrentRecord.TSC = BaseTSC;
116 CurrentRecord.TSC = BaseTSC;
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()))
  /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
cycleclock.h 172 uint64_t tsc;
173 asm("stck %0" : "=Q" (tsc) : : "cc");
174 return tsc;
  /src/sys/arch/amd64/amd64/
autoconf.c 87 #include <x86/x86/tsc.h>
  /src/sys/arch/xen/xen/
xen_clock.c 88 "uint64_t"/*tsc*/,
96 "uint64_t"/*tsc*/,
104 "uint64_t"/*tsc*/,
112 "uint64_t"/*tsc*/,
205 * Must read the version before reading the tsc on the local
229 * Must read the tsc before re-reading the version on the local
241 * Convert a difference in tsc units to a difference in
268 * from the tsc, in units of nanoseconds. Caller must be bound to
277 uint64_t raw_systime_ns, tsc_timestamp, tsc, delta_tsc, delta_ns; local
287 * Repeatedly try to read the system time, corresponding tsc
604 uint64_t tsc_start, last_tsc, tsc; local
    [all...]
  /src/external/cddl/osnet/dev/dtrace/amd64/
dtrace_subr.c 324 * Get TSC frequency known at this moment.
325 * This should be constant if TSC is invariant.
327 * will preserve monotonic property of TSC.
335 * Thus minimum supported TSC frequency is 62.5MHz.
344 * - it supports TSC frequencies as low as 62.5MHz (see above);
369 uint64_t tsc; local
374 * We split TSC value into lower and higher 32-bit halves and separately
379 tsc = rdtsc() + tsc_skew[cpu_number()];
380 lo = tsc;
381 hi = tsc >> 32
    [all...]
  /src/sys/arch/x86/x86/
tsc.c 1 /* $NetBSD: tsc.c,v 1.64 2026/03/01 13:57:41 yamt Exp $ */
30 __KERNEL_RCSID(0, "$NetBSD: tsc.c,v 1.64 2026/03/01 13:57:41 yamt Exp $");
52 #include "tsc.h"
81 .tc_name = "TSC",
104 * where the TSC is known invariant:
133 * TSC and Power Management Events on AMD Processors
157 * The best way to check whether the TSC counter is invariant or not
218 * Initialize timecounter(9) and DELAY() function of TSC.
237 aprint_debug("TSC not known invariant on this CPU\n");
240 aprint_error("ERROR: %lld cycle TSC drift observed\n"
338 uint64_t tsc; local
    [all...]
  /src/external/cddl/osnet/dev/dtrace/i386/
dtrace_subr.c 305 * Get TSC frequency known at this moment.
306 * This should be constant if TSC is invariant.
308 * will preserve monotonic property of TSC.
316 * Thus minimum supported TSC frequency is 62.5MHz.
319 "TSC frequency is too low");
326 * - it supports TSC frequencies as low as 62.5MHz (see above);
340 /* Already handled in x86/tsc.c for ci_data.cpu_cc_skew */
383 uint64_t tsc; local
388 * We split TSC value into lower and higher 32-bit halves and separately
393 tsc = dtrace_rdtsc() + tsc_skew[cpu_number()]
    [all...]
  /src/sys/external/mit/xen-include-public/dist/xen/include/public/arch-x86/hvm/
save.h 41 uint32_t gtsc_khz; /* Guest's TSC frequency in kHz */
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;
  /src/external/apache2/llvm/dist/llvm/include/llvm/XRay/
FDRRecords.h 160 uint64_t TSC = 0;
171 CPUId(C), TSC(T) {}
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
208 uint64_t TSC = 0;
221 Size(S), TSC(T), CPU(C), Data(std::move(D)) {}
224 uint64_t tsc() const { return TSC; } function in class:llvm::xray::CustomEventRecord
  /src/sys/arch/alpha/pci/
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);
  /src/external/bsd/zstd/dist/lib/common/
cpu.h 188 D(tsc, 4)
  /src/sys/arch/x86/acpi/
acpi_wakeup.c 99 #include <x86/x86/tsc.h>
  /src/sys/arch/x86/isa/
clock.c 151 #include <x86/x86/tsc.h>

Completed in 36 milliseconds

1 2