Home
last modified time | relevance | path

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

12

/freebsd-14.2/sys/sys/
H A Dtimetc.h30 struct timecounter;
33 typedef u_int timecounter_get_t(struct timecounter *);
34 typedef void timecounter_pps_t(struct timecounter *);
36 struct timecounter *);
38 struct timecounter *);
40 struct timecounter { struct
75 struct timecounter *tc_next; argument
81 extern struct timecounter *timecounter;
88 void tc_init(struct timecounter *tc);
H A Dvdso.h87 struct timecounter;
111 struct timecounter *tc);
151 struct timecounter *tc);
/freebsd-14.2/sys/dev/acpica/
H A Dacpi_timer.c100 static struct timecounter acpi_timer_timecounter = {
263 acpi_timer_resume_handler(struct timecounter *newtc) in acpi_timer_resume_handler()
265 struct timecounter *tc; in acpi_timer_resume_handler()
267 tc = timecounter; in acpi_timer_resume_handler()
274 timecounter = newtc; in acpi_timer_resume_handler()
279 acpi_timer_suspend_handler(struct timecounter *newtc) in acpi_timer_suspend_handler()
281 struct timecounter *tc; in acpi_timer_suspend_handler()
300 tc = timecounter; in acpi_timer_suspend_handler()
308 timecounter = newtc; in acpi_timer_suspend_handler()
318 acpi_timer_get_timecount(struct timecounter *tc) in acpi_timer_get_timecount()
[all …]
H A Dacpi_hpet.h67 struct timecounter;
72 struct timecounter *tc);
74 struct timecounter *tc);
/freebsd-14.2/sys/x86/x86/
H A Dtsc.c95 static u_int tsc_get_timecount(struct timecounter *tc);
105 struct timecounter *tc);
108 struct timecounter *tc);
111 static struct timecounter tsc_timecounter = {
904 tsc_get_timecount(struct timecounter *tc __unused) in tsc_get_timecount()
911 tscp_get_timecount(struct timecounter *tc __unused) in tscp_get_timecount()
918 tsc_get_timecount_low(struct timecounter *tc) in tsc_get_timecount_low()
928 tscp_get_timecount_low(struct timecounter *tc) in tscp_get_timecount_low()
946 tsc_get_timecount_low_lfence(struct timecounter *tc) in tsc_get_timecount_low_lfence()
962 tsc_get_timecount_low_mfence(struct timecounter *tc) in tsc_get_timecount_low_mfence()
[all …]
H A Dpvclock.c65 static u_int pvclock_tc_get_timecount(struct timecounter *tc);
67 struct vdso_timehands *vdso_th, struct timecounter *tc);
70 struct vdso_timehands32 *vdso_th, struct timecounter *tc);
212 pvclock_tc_get_timecount(struct timecounter *tc) in pvclock_tc_get_timecount()
221 struct timecounter *tc) in pvclock_tc_vdso_timehands()
244 struct timecounter *tc) in pvclock_tc_vdso_timehands32()
H A Ddelay.c74 struct timecounter *tc; in delay_tc()
89 tc = timecounter; in delay_tc()
/freebsd-14.2/share/doc/papers/timecounter/
H A DMakefile6 DOC= timecounter
7 SRCS= tmac.usenix timecounter.ms-patched
10 CLEANFILES= timecounter.ms-patched
15 timecounter.ms-patched: timecounter.ms
/freebsd-14.2/sys/powerpc/powerpc/
H A Dclock.c93 struct timecounter *tc);
96 struct timecounter *tc);
106 static struct timecounter decr_tc = {
236 decr_vdso_timehands(struct vdso_timehands *vdso_th, struct timecounter *tc) in decr_vdso_timehands()
246 struct timecounter *tc) in decr_vdso_timehands32()
322 decr_get_timecount(struct timecounter *tc) in decr_get_timecount()
/freebsd-14.2/sys/kern/
H A Dkern_tc.c96 struct timecounter *timecounter = &dummy_timecounter; variable
208 struct timecounter *tc; in tc_delta()
559 struct timecounter *tc; in ffclock_reset_clock()
779 struct timecounter *tc; in ffclock_change_tc()
1250 timecounter = tc; in tc_init()
1364 struct timecounter *tc; in tc_windup()
1505 tc = timecounter; in sysctl_kern_timecounter_hardware()
1527 timecounter = newtc; in sysctl_kern_timecounter_hardware()
1552 struct timecounter *tc; in sysctl_kern_timecounter_choice()
1764 struct timecounter *tc; in pps_capture()
[all …]
H A Dsubr_dummy_vdso_tc.c34 cpu_fill_vdso_timehands(struct vdso_timehands *vdso_th, struct timecounter *tc) in cpu_fill_vdso_timehands()
43 struct timecounter *tc) in cpu_fill_vdso_timehands32()
H A Dsubr_clockcalib.c42 struct timecounter *tc = atomic_load_ptr(&timecounter); in clockcalib()
/freebsd-14.2/sys/i386/i386/
H A Dmp_clock.c51 static unsigned piix_get_timecount(struct timecounter *tc);
56 static struct timecounter piix_timecounter = {
87 piix_get_timecount(struct timecounter *tc) in piix_get_timecount()
H A Delan-mmcr.c229 elan_poll_pps(struct timecounter *tc) in elan_poll_pps()
287 elan_get_timecount(struct timecounter *tc) in elan_get_timecount()
302 static struct timecounter elan_timecounter = {
/freebsd-14.2/sys/dev/hyperv/vmbus/amd64/
H A Dhyperv_machdep.c59 struct timecounter *);
64 static struct timecounter hyperv_tsc_timecounter = {
126 struct timecounter *tc __unused) in hyperv_tsc_vdso_timehands()
170 hyperv_tsc_timecount_##fence(struct timecounter *tc __unused) \
/freebsd-14.2/sys/dev/hyperv/vmbus/x86/
H A Dhyperv_x86.c68 static u_int hyperv_get_timecount(struct timecounter *);
70 static struct timecounter hyperv_timecounter = {
82 hyperv_get_timecount(struct timecounter *tc __unused) in hyperv_get_timecount()
/freebsd-14.2/sys/arm/allwinner/
H A Da10_timer.c108 static u_int a10_timer_get_timecount(struct timecounter *);
122 static u_int a23_timer_get_timecount(struct timecounter *tc);
133 static struct timecounter a10_timer_timecounter = {
142 static struct timecounter a23_timer_timecounter = {
407 a23_timer_get_timecount(struct timecounter *tc) in a23_timer_get_timecount()
458 a10_timer_get_timecount(struct timecounter *tc) in a10_timer_get_timecount()
/freebsd-14.2/sys/riscv/riscv/
H A Dtimer.c72 static struct timecounter riscv_timer_timecount = {
100 riscv_timer_tc_get_timecount(struct timecounter *tc __unused) in riscv_timer_tc_get_timecount()
108 struct timecounter *tc) in riscv_timer_tc_fill_vdso_timehands()
/freebsd-14.2/sys/arm/broadcom/bcm2835/
H A Dbcm2835_systimer.c108 static unsigned bcm_systimer_tc_get_timecount(struct timecounter *);
112 static struct timecounter bcm_systimer_tc = {
122 bcm_systimer_tc_get_timecount(struct timecounter *tc) in bcm_systimer_tc_get_timecount()
/freebsd-14.2/sys/arm/arm/
H A Dsp804.c100 struct timecounter tc;
113 static unsigned sp804_timer_tc_get_timecount(struct timecounter *);
117 sp804_timer_tc_get_timecount(struct timecounter *tc) in sp804_timer_tc_get_timecount()
H A Dmpcore_timer.c111 static struct timecounter *arm_tmr_tc;
124 static struct timecounter arm_tmr_timecount = {
159 arm_tmr_get_timecount(struct timecounter *tc) in arm_tmr_get_timecount()
/freebsd-14.2/share/doc/papers/
H A DMakefile15 timecounter
/freebsd-14.2/sys/arm/freescale/imx/
H A Dimx_epit.c92 static u_int epit_tc_get_timecount(struct timecounter *tc);
102 struct timecounter tc;
190 epit_tc_get_timecount(struct timecounter *tc) in epit_tc_get_timecount()
H A Dimx_gpt.c60 static u_int imx_gpt_get_timecount(struct timecounter *);
71 static struct timecounter imx_gpt_timecounter = {
374 imx_gpt_get_timecount(struct timecounter *tc) in imx_gpt_get_timecount()
/freebsd-14.2/sys/dev/xen/control/
H A Dcontrol.c315 timecounter->tc_get_timecount(timecounter); in xctrl_suspend()

12