| /freebsd-14.2/sys/sys/ |
| H A D | timetc.h | 30 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 D | vdso.h | 87 struct timecounter; 111 struct timecounter *tc); 151 struct timecounter *tc);
|
| /freebsd-14.2/sys/dev/acpica/ |
| H A D | acpi_timer.c | 100 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 D | acpi_hpet.h | 67 struct timecounter; 72 struct timecounter *tc); 74 struct timecounter *tc);
|
| /freebsd-14.2/sys/x86/x86/ |
| H A D | tsc.c | 95 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 D | pvclock.c | 65 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 D | delay.c | 74 struct timecounter *tc; in delay_tc() 89 tc = timecounter; in delay_tc()
|
| /freebsd-14.2/share/doc/papers/timecounter/ |
| H A D | Makefile | 6 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 D | clock.c | 93 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 D | kern_tc.c | 96 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 D | subr_dummy_vdso_tc.c | 34 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 D | subr_clockcalib.c | 42 struct timecounter *tc = atomic_load_ptr(&timecounter); in clockcalib()
|
| /freebsd-14.2/sys/i386/i386/ |
| H A D | mp_clock.c | 51 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 D | elan-mmcr.c | 229 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 D | hyperv_machdep.c | 59 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 D | hyperv_x86.c | 68 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 D | a10_timer.c | 108 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 D | timer.c | 72 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 D | bcm2835_systimer.c | 108 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 D | sp804.c | 100 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 D | mpcore_timer.c | 111 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 D | Makefile | 15 timecounter
|
| /freebsd-14.2/sys/arm/freescale/imx/ |
| H A D | imx_epit.c | 92 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 D | imx_gpt.c | 60 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 D | control.c | 315 timecounter->tc_get_timecount(timecounter); in xctrl_suspend()
|