| /freebsd-12-stable/sys/sys/ |
| D | timetc.h | 32 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);
|
| D | vdso.h | 77 struct timecounter; 98 struct timecounter *tc); 130 struct timecounter *tc);
|
| /freebsd-12-stable/sys/dev/acpica/ |
| D | acpi_timer.c | 74 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 …]
|
| D | acpi_hpet.h | 68 struct timecounter; 73 struct timecounter *tc); 75 struct timecounter *tc);
|
| /freebsd-12-stable/sys/x86/x86/ |
| D | tsc.c | 93 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 …]
|
| D | pvclock.c | 67 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()
|
| D | delay.c | 76 struct timecounter *tc; in delay_tc() 91 tc = timecounter; in delay_tc()
|
| /freebsd-12-stable/share/doc/papers/timecounter/ |
| D | Makefile | 7 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/ |
| D | kern_tc.c | 59 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 …]
|
| D | subr_dummy_vdso_tc.c | 36 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/ |
| D | tick.c | 85 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()
|
| D | counter.c | 77 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/ |
| 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-12-stable/sys/i386/i386/ |
| D | mp_clock.c | 53 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()
|
| D | elan-mmcr.c | 228 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/ |
| D | a10_timer.c | 110 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/ |
| D | hwfunc.h | 35 struct timecounter; 46 unsigned platform_get_timecount(struct timecounter *);
|
| /freebsd-12-stable/sys/mips/nlm/ |
| D | tick.c | 63 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/ |
| D | tick.c | 62 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/ |
| D | hyperv.c | 76 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/ |
| D | bcm2835_systimer.c | 110 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/ |
| D | generic_timer.c | 111 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/ |
| D | sp804.c | 102 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/ |
| D | rt1310_timer.c | 85 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/ |
| D | imx_gpt.c | 63 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()
|