| /freebsd/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/sys/dev/acpica/ |
| H A D | acpi_timer.c | 70 static void acpi_timer_resume_handler(struct timecounter *, 72 static void acpi_timer_suspend_handler(struct timecounter *, 74 static u_int acpi_timer_get_timecount(struct timecounter *tc); 75 static u_int acpi_timer_get_timecount_safe(struct timecounter *tc); 95 static struct timecounter acpi_timer_timecounter = { 237 acpi_timer_resume_handler(struct timecounter *newtc, enum power_stype stype) in acpi_timer_resume_handler() 239 struct timecounter *tc; in acpi_timer_resume_handler() 241 tc = timecounter; in acpi_timer_resume_handler() 248 timecounter = newtc; in acpi_timer_resume_handler() 253 acpi_timer_suspend_handler(struct timecounter *newtc, enum power_stype stype) in acpi_timer_suspend_handler() [all …]
|
| H A D | acpi_hpet.h | 67 struct timecounter; 72 struct timecounter *tc); 74 struct timecounter *tc);
|
| /freebsd/sys/x86/x86/ |
| H A D | tsc.c | 95 static u_int tsc_get_timecount(struct timecounter *tc); 96 static inline u_int tsc_get_timecount_low(struct timecounter *tc); 97 static u_int tsc_get_timecount_lfence(struct timecounter *tc); 98 static u_int tsc_get_timecount_low_lfence(struct timecounter *tc); 99 static u_int tsc_get_timecount_mfence(struct timecounter *tc); 100 static u_int tsc_get_timecount_low_mfence(struct timecounter *tc); 101 static u_int tscp_get_timecount(struct timecounter *tc); 102 static u_int tscp_get_timecount_low(struct timecounter *tc); 105 struct timecounter *tc); 108 struct timecounter *tc); [all …]
|
| H A D | pvclock.c | 64 static u_int pvclock_tc_get_timecount(struct timecounter *tc); 66 struct vdso_timehands *vdso_th, struct timecounter *tc); 69 struct vdso_timehands32 *vdso_th, struct timecounter *tc); 211 pvclock_tc_get_timecount(struct timecounter *tc) in pvclock_tc_get_timecount() 220 struct timecounter *tc) in pvclock_tc_vdso_timehands() 243 struct timecounter *tc) in pvclock_tc_vdso_timehands32()
|
| H A D | delay.c | 72 struct timecounter *tc; in delay_tc() 87 tc = timecounter; in delay_tc()
|
| /freebsd/share/doc/papers/timecounter/ |
| H A D | Makefile | 5 DOC= timecounter 6 SRCS= tmac.usenix timecounter.ms-patched 9 CLEANFILES= timecounter.ms-patched 14 timecounter.ms-patched: timecounter.ms
|
| /freebsd/sys/powerpc/powerpc/ |
| H A D | clock.c | 92 struct timecounter *tc); 95 struct timecounter *tc); 105 static struct timecounter decr_tc = { 235 decr_vdso_timehands(struct vdso_timehands *vdso_th, struct timecounter *tc) in decr_vdso_timehands() 245 struct timecounter *tc) in decr_vdso_timehands32() 321 decr_get_timecount(struct timecounter *tc) in decr_get_timecount()
|
| /freebsd/sys/kern/ |
| H A D | kern_tc.c | 57 dummy_get_timecount(struct timecounter *tc) in dummy_get_timecount() 64 static struct timecounter dummy_timecounter = { 70 struct timecounter *th_counter; 97 struct timecounter *timecounter = &dummy_timecounter; variable 98 static struct timecounter *timecounters = &dummy_timecounter; 120 SYSCTL_NODE(_kern, OID_AUTO, timecounter, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, 186 struct timecounter *tc = arg1; in sysctl_kern_timecounter_get() 196 struct timecounter *tc = arg1; in sysctl_kern_timecounter_freq() 209 struct timecounter *tc; in tc_delta() 560 struct timecounter *tc; in ffclock_reset_clock() [all …]
|
| H A D | subr_dummy_vdso_tc.c | 33 cpu_fill_vdso_timehands(struct vdso_timehands *vdso_th, struct timecounter *tc) in cpu_fill_vdso_timehands() 42 struct timecounter *tc) in cpu_fill_vdso_timehands32()
|
| H A D | subr_clockcalib.c | 41 struct timecounter *tc = atomic_load_ptr(&timecounter); in clockcalib()
|
| /freebsd/sys/dev/hyperv/vmbus/amd64/ |
| H A D | hyperv_machdep.c | 58 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/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/sys/arm/allwinner/ |
| H A D | a10_timer.c | |
| /freebsd/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/sys/riscv/riscv/ |
| H A D | timer.c | 71 static struct timecounter riscv_timer_timecount = { 99 riscv_timer_tc_get_timecount(struct timecounter *tc __unused) in riscv_timer_tc_get_timecount() 107 struct timecounter *tc) in riscv_timer_tc_fill_vdso_timehands()
|
| /freebsd/sys/arm/arm/ |
| H A D | sp804.c | 99 struct timecounter tc; 112 static unsigned sp804_timer_tc_get_timecount(struct timecounter *); 116 sp804_timer_tc_get_timecount(struct timecounter *tc) in sp804_timer_tc_get_timecount()
|
| H A D | mpcore_timer.c | 110 static struct timecounter *arm_tmr_tc; 123 static struct timecounter arm_tmr_timecount = { 158 arm_tmr_get_timecount(struct timecounter *tc) in arm_tmr_get_timecount()
|
| /freebsd/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 | 59 static u_int imx_gpt_get_timecount(struct timecounter *); 70 static struct timecounter imx_gpt_timecounter = { 373 imx_gpt_get_timecount(struct timecounter *tc) in imx_gpt_get_timecount()
|
| /freebsd/sys/dev/xen/control/ |
| H A D | control.c | 283 timecounter->tc_get_timecount(timecounter); in xctrl_suspend()
|
| /freebsd/share/doc/papers/ |
| H A D | Makefile | 13 timecounter
|
| /freebsd/sys/arm/ti/am335x/ |
| H A D | am335x_dmtpps.c | 80 struct timecounter tc; 268 dmtpps_get_timecount(struct timecounter *tc) in dmtpps_get_timecount() 278 dmtpps_poll(struct timecounter *tc) in dmtpps_poll()
|