Home
last modified time | relevance | path

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

12

/freebsd/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/sys/dev/acpica/
H A Dacpi_timer.c70 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 Dacpi_hpet.h67 struct timecounter;
72 struct timecounter *tc);
74 struct timecounter *tc);
/freebsd/sys/x86/x86/
H A Dtsc.c95 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 Dpvclock.c64 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 Ddelay.c72 struct timecounter *tc; in delay_tc()
87 tc = timecounter; in delay_tc()
/freebsd/share/doc/papers/timecounter/
H A DMakefile5 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 Dclock.c92 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 Dkern_tc.c57 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 Dsubr_dummy_vdso_tc.c33 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 Dsubr_clockcalib.c41 struct timecounter *tc = atomic_load_ptr(&timecounter); in clockcalib()
/freebsd/sys/dev/hyperv/vmbus/amd64/
H A 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/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/sys/arm/allwinner/
H A Da10_timer.c
/freebsd/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/sys/riscv/riscv/
H A Dtimer.c71 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 Dsp804.c99 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 Dmpcore_timer.c110 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 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.c59 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 Dcontrol.c283 timecounter->tc_get_timecount(timecounter); in xctrl_suspend()
/freebsd/share/doc/papers/
H A DMakefile13 timecounter
/freebsd/sys/arm/ti/am335x/
H A Dam335x_dmtpps.c80 struct timecounter tc;
268 dmtpps_get_timecount(struct timecounter *tc) in dmtpps_get_timecount()
278 dmtpps_poll(struct timecounter *tc) in dmtpps_poll()

12