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

  /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/sys/dev/tc/
slhci_tcu.c 75 struct slhci_tcu_softc *tsc = device_private(self); local
76 struct slhci_softc *sc = &tsc->sc;
  /src/sys/arch/amd64/amd64/
autoconf.c 87 #include <x86/x86/tsc.h>
machdep.c 193 #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/sys/arch/x86/x86/
tsc.c 1 /* $NetBSD: tsc.c,v 1.63 2025/05/08 05:31:16 imil Exp $ */
30 __KERNEL_RCSID(0, "$NetBSD: tsc.c,v 1.63 2025/05/08 05:31:16 imil 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"
333 uint64_t tsc; local
    [all...]
hyperv.c 175 * Reference TSC
190 .tc_name = "Hyper-V-TSC",
209 uint64_t disc, ret, tsc; local
213 tsc = cpu_counter();
215 /* ret = ((tsc * scale) >> 64) + ofs */
218 "a" (tsc), "r" (scale));
252 aprint_error("Hyper-V: reference TSC page allocation failed\n");
258 aprint_error("Hyper-V: reference TSC page setup failed\n");
433 "\014TMFREQ" /* MSR_HV_{TSC,APIC}_FREQUENCY */
454 "\011TMFREQ" /* timer frequency query (TSC, LAPIC) *
    [all...]
lapic.c 70 #include <x86/x86/tsc.h>
663 * Second pass calibration, using the TSC which has ideally
  /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/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/sys/arch/x86/acpi/
acpi_wakeup.c 99 #include <x86/x86/tsc.h>
acpi_cpu_md.c 45 #include <x86/x86/tsc.h>
161 * as well as TSC are stalled during C3 sleep.
166 * Detect whether TSC is invariant. If it is not, we keep the flag to
167 * note that TSC will not run at constant rate. Depending on the CPU,
169 * are C-states; with variant TSC, states larger than C1 may
  /src/sys/arch/x86/isa/
clock.c 151 #include <x86/x86/tsc.h>
  /src/sys/external/bsd/drm2/dist/drm/i915/gvt/
trace.h 39 #include <asm/tsc.h>
  /src/sys/arch/x86/conf/
files.x86 113 file arch/x86/x86/tsc.c machdep
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ti/omap/
am335x-pdu001.dts 530 tsc {
  /src/sys/arch/i386/i386/
machdep.c 139 #include <x86/x86/tsc.h>
  /src/sys/dev/pci/
if_iwnreg.h 598 uint64_t tsc; member in struct:iwn_node_info

Completed in 36 milliseconds