Home
last modified time | relevance | path

Searched refs:timecounter (Results 1 – 25 of 53) sorted by relevance

123

/freebsd-12-stable/sys/sys/
Dtimetc.h32 struct timecounter;
35 typedef u_int timecounter_get_t(struct timecounter *);
36 typedef void timecounter_pps_t(struct timecounter *);
38 struct timecounter *);
40 struct timecounter *);
42 struct timecounter { struct
77 struct timecounter *tc_next; argument
83 extern struct timecounter *timecounter;
90 void tc_init(struct timecounter *tc);
Dvdso.h77 struct timecounter;
98 struct timecounter *tc);
130 struct timecounter *tc);
/freebsd-12-stable/sys/dev/acpica/
Dacpi_timer.c74 static void acpi_timer_resume_handler(struct timecounter *);
75 static void acpi_timer_suspend_handler(struct timecounter *);
76 static u_int acpi_timer_get_timecount(struct timecounter *tc);
77 static u_int acpi_timer_get_timecount_safe(struct timecounter *tc);
101 static struct timecounter acpi_timer_timecounter = {
266 acpi_timer_resume_handler(struct timecounter *newtc) in acpi_timer_resume_handler()
268 struct timecounter *tc; in acpi_timer_resume_handler()
270 tc = timecounter; in acpi_timer_resume_handler()
277 timecounter = newtc; in acpi_timer_resume_handler()
282 acpi_timer_suspend_handler(struct timecounter *newtc) in acpi_timer_suspend_handler()
[all …]
Dacpi_hpet.h68 struct timecounter;
73 struct timecounter *tc);
75 struct timecounter *tc);
/freebsd-12-stable/sys/x86/x86/
Dtsc.c93 static u_int tsc_get_timecount(struct timecounter *tc);
94 static inline u_int tsc_get_timecount_low(struct timecounter *tc);
95 static u_int tsc_get_timecount_lfence(struct timecounter *tc);
96 static u_int tsc_get_timecount_low_lfence(struct timecounter *tc);
97 static u_int tsc_get_timecount_mfence(struct timecounter *tc);
98 static u_int tsc_get_timecount_low_mfence(struct timecounter *tc);
99 static u_int tscp_get_timecount(struct timecounter *tc);
100 static u_int tscp_get_timecount_low(struct timecounter *tc);
103 struct timecounter *tc);
106 struct timecounter *tc);
[all …]
Dpvclock.c67 static u_int pvclock_tc_get_timecount(struct timecounter *tc);
69 struct vdso_timehands *vdso_th, struct timecounter *tc);
72 struct vdso_timehands32 *vdso_th, struct timecounter *tc);
214 pvclock_tc_get_timecount(struct timecounter *tc) in pvclock_tc_get_timecount()
223 struct timecounter *tc) in pvclock_tc_vdso_timehands()
241 struct timecounter *tc) in pvclock_tc_vdso_timehands32()
Ddelay.c76 struct timecounter *tc; in delay_tc()
91 tc = timecounter; in delay_tc()
/freebsd-12-stable/share/doc/papers/timecounter/
DMakefile7 DOC= timecounter
8 SRCS= tmac.usenix timecounter.ms-patched
11 CLEANFILES= timecounter.ms-patched
16 timecounter.ms-patched: timecounter.ms
/freebsd-12-stable/sys/kern/
Dkern_tc.c59 dummy_get_timecount(struct timecounter *tc) in dummy_get_timecount()
66 static struct timecounter dummy_timecounter = {
72 struct timecounter *th_counter;
98 struct timecounter *timecounter = &dummy_timecounter; variable
99 static struct timecounter *timecounters = &dummy_timecounter;
110 SYSCTL_NODE(_kern, OID_AUTO, timecounter, CTLFLAG_RW, 0, "");
171 struct timecounter *tc = arg1; in sysctl_kern_timecounter_get()
181 struct timecounter *tc = arg1; in sysctl_kern_timecounter_freq()
194 struct timecounter *tc; in tc_delta()
549 struct timecounter *tc; in ffclock_reset_clock()
[all …]
Dsubr_dummy_vdso_tc.c36 cpu_fill_vdso_timehands(struct vdso_timehands *vdso_th, struct timecounter *tc) in cpu_fill_vdso_timehands()
45 struct timecounter *tc) in cpu_fill_vdso_timehands32()
/freebsd-12-stable/sys/sparc64/sparc64/
Dtick.c85 static struct timecounter stick_tc;
87 static struct timecounter tick_tc;
311 stick_get_timecount_up(struct timecounter *tc) in stick_get_timecount_up()
318 tick_get_timecount_up(struct timecounter *tc) in tick_get_timecount_up()
326 stick_get_timecount_mp(struct timecounter *tc) in stick_get_timecount_mp()
340 tick_get_timecount_mp(struct timecounter *tc) in tick_get_timecount_mp()
Dcounter.c77 struct timecounter *tc; in sparc64_counter_init()
106 counter_get_timecount(struct timecounter *tc) in counter_get_timecount()
/freebsd-12-stable/sys/dev/hyperv/vmbus/amd64/
Dhyperv_machdep.c58 struct timecounter *);
63 static struct timecounter hyperv_tsc_timecounter = {
125 struct timecounter *tc __unused) in hyperv_tsc_vdso_timehands()
169 hyperv_tsc_timecount_##fence(struct timecounter *tc __unused) \
/freebsd-12-stable/sys/i386/i386/
Dmp_clock.c53 static unsigned piix_get_timecount(struct timecounter *tc);
58 static struct timecounter piix_timecounter = {
88 piix_get_timecount(struct timecounter *tc) in piix_get_timecount()
Delan-mmcr.c228 elan_poll_pps(struct timecounter *tc) in elan_poll_pps()
286 elan_get_timecount(struct timecounter *tc) in elan_get_timecount()
301 static struct timecounter elan_timecounter = {
/freebsd-12-stable/sys/arm/allwinner/
Da10_timer.c110 static u_int a10_timer_get_timecount(struct timecounter *);
123 static u_int a23_timer_get_timecount(struct timecounter *tc);
133 static struct timecounter a10_timer_timecounter = {
141 static struct timecounter a23_timer_timecounter = {
405 a23_timer_get_timecount(struct timecounter *tc) in a23_timer_get_timecount()
455 a10_timer_get_timecount(struct timecounter *tc) in a10_timer_get_timecount()
/freebsd-12-stable/sys/mips/include/
Dhwfunc.h35 struct timecounter;
46 unsigned platform_get_timecount(struct timecounter *);
/freebsd-12-stable/sys/mips/nlm/
Dtick.c63 struct timecounter *platform_timecounter;
77 struct timecounter tc;
88 static unsigned counter_get_timecount(struct timecounter *tc);
187 counter_get_timecount(struct timecounter *tc) in counter_get_timecount()
/freebsd-12-stable/sys/mips/mips/
Dtick.c62 struct timecounter *platform_timecounter;
76 struct timecounter tc;
87 static unsigned counter_get_timecount(struct timecounter *tc);
186 counter_get_timecount(struct timecounter *tc) in counter_get_timecount()
/freebsd-12-stable/sys/dev/hyperv/vmbus/
Dhyperv.c76 static u_int hyperv_get_timecount(struct timecounter *);
90 static struct timecounter hyperv_timecounter = {
104 hyperv_get_timecount(struct timecounter *tc __unused) in hyperv_get_timecount()
/freebsd-12-stable/sys/arm/broadcom/bcm2835/
Dbcm2835_systimer.c110 static unsigned bcm_systimer_tc_get_timecount(struct timecounter *);
114 static struct timecounter bcm_systimer_tc = {
124 bcm_systimer_tc_get_timecount(struct timecounter *tc) in bcm_systimer_tc_get_timecount()
/freebsd-12-stable/sys/arm/arm/
Dgeneric_timer.c111 struct timecounter *tc);
116 static struct timecounter arm_tmr_timecount = {
248 arm_tmr_get_timecount(struct timecounter *tc) in arm_tmr_get_timecount()
593 struct timecounter *tc) in arm_tmr_fill_vdso_timehands()
/freebsd-12-stable/sys/arm/versatile/
Dsp804.c102 struct timecounter tc;
115 static unsigned sp804_timer_tc_get_timecount(struct timecounter *);
119 sp804_timer_tc_get_timecount(struct timecounter *tc) in sp804_timer_tc_get_timecount()
/freebsd-12-stable/sys/arm/ralink/
Drt1310_timer.c85 static unsigned rt1310_get_timecount(struct timecounter *);
116 static struct timecounter rt1310_timecounter = {
310 rt1310_get_timecount(struct timecounter *tc) in rt1310_get_timecount()
/freebsd-12-stable/sys/arm/freescale/imx/
Dimx_gpt.c63 static u_int imx_gpt_get_timecount(struct timecounter *);
74 static struct timecounter imx_gpt_timecounter = {
377 imx_gpt_get_timecount(struct timecounter *tc) in imx_gpt_get_timecount()

123