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

  /src/sys/dev/tc/
slhci_tcu.c 75 struct slhci_tcu_softc *tsc = device_private(self); local in function:slhci_tcu_attach
76 struct slhci_softc *sc = &tsc->sc;
  /src/sys/arch/evbarm/tsarm/
tsrtc.c 70 struct tsrtc_softc tsrtc, *tsc; local in function:tsrtc_match
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 in function:tsrtc_attach
    [all...]
  /src/sys/arch/arm/nvidia/
tegra_com.c 84 struct tegra_com_softc * const tsc = device_private(self); local in function:tegra_com_attach
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/sys/dev/dm/
dm_target_snapshot.c 205 dm_target_snapshot_config_t *tsc; local in function:dm_target_snapshot_init
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 in function:dm_target_snapshot_table
324 dm_target_snapshot_config_t *tsc = table_en->target_config; local in function:dm_target_snapshot_destroy
    [all...]
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 in function:dm_target_stripe_init
151 tsc = kmem_alloc(sizeof(*tsc), KM_SLEEP);
154 TAILQ_INIT(&tsc->stripe_devs)
188 dm_target_stripe_config_t *tsc; local in function:dm_target_stripe_info
227 dm_target_stripe_config_t *tsc; local in function:dm_target_stripe_table
254 dm_target_stripe_config_t *tsc; local in function:dm_target_stripe_strategy
317 dm_target_stripe_config_t *tsc; local in function:dm_target_stripe_sync
368 dm_target_stripe_config_t *tsc; local in function:dm_target_stripe_secsize
    [all...]
  /src/sys/dev/mii/
tlphy.c 128 struct tlphy_softc *tsc = device_private(self); local in function:tlphyattach
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 in function:tlphy_service
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 in function:tlphy_status
    [all...]
  /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/external/gpl2/dts/dist/arch/arm/boot/dts/
imx25.dtsi 301 tsc: tcq@50030400 { label in label:tscadc
lpc32xx.dtsi 430 * TSC vs. ADC: Since those two share the same
445 tsc: tsc@40048000 { label
446 compatible = "nxp,lpc3220-tsc";
imx6ul.dtsi 373 tsc: tsc@2040000 { label
374 compatible = "fsl,imx6ul-tsc";
380 clock-names = "tsc", "adc";
  /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 in function:tsc_post_ap
    [all...]
hyperv.c 175 * Reference TSC
190 .tc_name = "Hyper-V-TSC",
209 uint64_t disc, ret, tsc; local in function:hyperv_tc64_tsc
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...]
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/renesas/
r8a779a0.dtsi 330 tsc: thermal@e6190000 { label in label:soc
1155 thermal-sensors = <&tsc 0>;
1169 thermal-sensors = <&tsc 1>;
1183 thermal-sensors = <&tsc 2>;
1197 thermal-sensors = <&tsc 3>;
1211 thermal-sensors = <&tsc 4>;
r8a77980.dtsi 333 tsc: thermal@e6198000 { label
1586 thermal-sensors = <&tsc 0>;
1605 thermal-sensors = <&tsc 1>;
r8a774a1.dtsi 508 tsc: thermal@e6198000 { label
2790 thermal-sensors = <&tsc 0>;
2805 thermal-sensors = <&tsc 1>;
2820 thermal-sensors = <&tsc 2>;
r8a774b1.dtsi 381 tsc: thermal@e6198000 { label
2635 thermal-sensors = <&tsc 0>;
2650 thermal-sensors = <&tsc 1>;
2665 thermal-sensors = <&tsc 2>;
r8a774e1.dtsi 562 tsc: thermal@e6198000 { label
2910 thermal-sensors = <&tsc 0>;
2925 thermal-sensors = <&tsc 1>;
2940 thermal-sensors = <&tsc 2>;
r8a77951.dtsi 594 tsc: thermal@e6198000 { label in label:soc
3381 thermal-sensors = <&tsc 0>;
3396 thermal-sensors = <&tsc 1>;
3411 thermal-sensors = <&tsc 2>;
r8a77960.dtsi 559 tsc: thermal@e6198000 { label
2978 thermal-sensors = <&tsc 0>;
2993 thermal-sensors = <&tsc 1>;
3008 thermal-sensors = <&tsc 2>;
r8a77961.dtsi 548 tsc: thermal@e6198000 { label
2725 thermal-sensors = <&tsc 0>;
2740 thermal-sensors = <&tsc 1>;
2755 thermal-sensors = <&tsc 2>;
r8a77965.dtsi 430 tsc: thermal@e6198000 { label
2790 thermal-sensors = <&tsc 0>;
2805 thermal-sensors = <&tsc 1>;
2820 thermal-sensors = <&tsc 2>;
  /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 in function:xen_vcputime_systime_ns
287 * Repeatedly try to read the system time, corresponding tsc
604 uint64_t tsc_start, last_tsc, tsc; local in function:xen_delay
    [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/sys/dev/pci/
if_iwnreg.h 598 uint64_t tsc; member in struct:iwn_node_info

Completed in 43 milliseconds