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

1 2 3 4

  /src/sys/sys/
timetc.h 22 * max recommended timecounter name length
32 * `struct timecounter' is the interface between the hardware which implements
33 * a timecounter and the MI code which uses this to keep track of time.
35 * A timecounter is a binary counter which has two properties:
42 struct timecounter;
44 typedef u_int timecounter_get_t(struct timecounter *); typedef in typeref:typename:u_int timecounter_get_t (struct *)
45 typedef void timecounter_pps_t(struct timecounter *); typedef in typeref:typename:void timecounter_pps_t (struct *)
47 struct timecounter { struct
57 * timecounter is rewound, and is intended to check for PPS
66 /* Name of the timecounter. *
    [all...]
cctr.h 46 struct timecounter *cc_init(timecounter_get_t, uint64_t, const char *, int);
48 u_int cc_get_timecount(struct timecounter *);
  /src/sys/dev/acpi/
acpi_timer.h 34 u_int acpitimer_read_safe(struct timecounter *);
35 u_int acpitimer_read_fast(struct timecounter *);
acpi_timer.c 45 static struct timecounter acpi_timecounter = {
127 acpitimer_read_fast(struct timecounter *tc)
141 acpitimer_read_safe(struct timecounter *tc)
  /src/sys/dev/ic/
hpetvar.h 45 struct timecounter sc_tc;
gcscpcibvar.h 24 struct timecounter sc_timecounter;
acpipmtimer.c 20 struct timecounter tc;
26 static u_int acpihwtimer_read_safe(struct timecounter *);
27 static u_int acpihwtimer_read_fast(struct timecounter *);
76 acpihwtimer_read_safe(struct timecounter *tc)
92 acpihwtimer_read_fast(struct timecounter *tc)
  /src/sys/arch/ia64/ia64/
clock.c 51 ia64_get_timecount(struct timecounter* tc)
80 static struct timecounter tc = {
  /src/sys/arch/hppa/dev/
clock.c 56 static unsigned get_itimer_count(struct timecounter *);
61 static struct timecounter tc = {
81 get_itimer_count(struct timecounter *tc)
  /src/sys/arch/powerpc/powerpc/
clock.c 64 static u_int get_powerpc_timecount(struct timecounter *);
66 static u_int get_601_timecount(struct timecounter *);
75 static struct timecounter powerpc_601_timecounter = {
87 static struct timecounter powerpc_timecounter = {
257 get_powerpc_timecount(struct timecounter *tc)
273 get_601_timecount(struct timecounter *tc)
291 struct timecounter *tc;
  /src/sys/arch/i386/pci/
geodecntr.c 47 struct timecounter sc_tc;
50 static unsigned geode_get_timecount(struct timecounter *);
106 static unsigned geode_get_timecount(struct timecounter *tc)
  /src/sys/arch/usermode/dev/
clock.c 53 static unsigned int clock_getcounter(struct timecounter *);
66 static struct timecounter clock_timecounter = {
125 clock_getcounter(struct timecounter *tc)
  /src/sys/kern/
kern_tc.c 42 * https://papers.freebsd.org/2002/phk-timecounters.files/timecounter.pdf
79 * Implement a dummy timecounter which we can use until we get a real one
85 dummy_get_timecount(struct timecounter *tc)
92 static struct timecounter dummy_timecounter = {
103 struct timecounter *th_counter; /* active timecounter */
137 struct timecounter *timecounter = &dummy_timecounter; variable in typeref:struct:timecounter *
138 static struct timecounter *timecounters = &dummy_timecounter;
278 struct timecounter *newtc, *tc
    [all...]
kern_cctr.c 105 static struct timecounter cc_timecounter = {
122 * Initialize cycle counter based timecounter. This must be done on the
125 struct timecounter *
157 * Initialize cycle counter timecounter calibration data on a secondary
184 cc_get_timecount(struct timecounter *tc)
  /src/sys/arch/arm/imx/
imxclock.c 58 static u_int imx_epit_get_timecount(struct timecounter *);
61 static struct timecounter imx_epit_timecounter = {
133 imx_epit_get_timecount(struct timecounter *tc)
imx23_digctl.c 57 /* timecounter. */
58 static u_int digctl_tc_get_timecount(struct timecounter *);
73 static struct timecounter tc_useconds;
119 * Setup timecounter to use digctl microseconds counter.
189 digctl_tc_get_timecount(struct timecounter *tc)
  /src/sys/arch/arm/xscale/
becc_timer.c 70 static u_int becc_get_timecount(struct timecounter *);
72 static struct timecounter becc_timecounter = {
199 becc_get_timecount(struct timecounter *tc)
  /src/sys/arch/alpha/alpha/
qemu.c 56 struct timecounter sc_tc;
104 qemu_get_timecount(struct timecounter * const tc __unused)
182 struct timecounter * const tc = &sc->sc_tc;
190 * Use the Qemu "VM time" hypercall as the system timecounter.
  /src/sys/arch/sparc64/sparc64/
clock.c 106 * machine hardclock statclock timecounter
147 static u_int tick_get_timecount(struct timecounter *);
148 static u_int stick_get_timecount(struct timecounter *);
150 static u_int stick2e_get_timecount(struct timecounter *);
154 * define timecounter "tick-counter"
157 static struct timecounter tick_timecounter = {
166 static struct timecounter stick_timecounter = {
175 static struct timecounter stick2e_timecounter = {
187 tick_get_timecount(struct timecounter *tc)
193 stick_get_timecount(struct timecounter *tc
    [all...]
  /src/sys/arch/mipsco/obio/
rambo.c 55 static unsigned rambo_get_timecount(struct timecounter *);
139 rambo_get_timecount(struct timecounter *tc)
148 static struct timecounter tc = {
  /src/sys/arch/mac68k/nubus/
cpi_nubusvar.h 100 struct timecounter sc_timecounter;
  /src/sys/arch/sparc/sparc/
timer_msiiep.c 87 static u_int timer_get_timecount(struct timecounter *);
95 * timecounter local state
103 * define timecounter
105 static struct timecounter counter_timecounter = {
209 timer_get_timecount(struct timecounter *tc)
251 if (timecounter->tc_get_timecount == timer_get_timecount)
  /src/sys/arch/riscv/riscv/
clock_machdep.c 53 timer_get_timecount(struct timecounter *tc)
58 static struct timecounter tc = {
  /src/sys/arch/arm/sunxi/
sunxi_timer.c 106 struct timecounter sc_tc;
107 struct timecounter sc_tc_losc;
160 sunxi_timer_get_timecount(struct timecounter *tc)
169 sunxi_timer_get_timecount_losc(struct timecounter *tc)
189 struct timecounter *tc = &sc->sc_tc;
190 struct timecounter *tc_losc = &sc->sc_tc_losc;
228 /* Enable Timer 2 (timecounter) */
233 /* Enable Timer 4 (timecounter for LOSC) */
237 /* Timecounter setup */
  /src/sys/arch/arm/amlogic/
meson6_timer.c 51 struct timecounter sc_tc;
93 meson6_timer_get_timecount(struct timecounter *tc)
152 /* Timecounter setup */
153 struct timecounter *tc = &sc->sc_tc;

Completed in 19 milliseconds

1 2 3 4