| /netbsd/src/sys/sys/ |
| D | timetc.h | 42 struct timecounter; 44 typedef u_int timecounter_get_t(struct timecounter *); 45 typedef void timecounter_pps_t(struct timecounter *); 47 struct timecounter { struct 76 struct timecounter *tc_next; argument 81 extern struct timecounter *timecounter; 84 void tc_init(struct timecounter *tc); 85 int tc_detach(struct timecounter *); 88 void tc_gonebad(struct timecounter *);
|
| D | cctr.h | 46 struct timecounter *cc_init(timecounter_get_t, uint64_t, const char *, int); 48 u_int cc_get_timecount(struct timecounter *);
|
| /netbsd/src/sys/kern/ |
| D | kern_tc.c | 85 dummy_get_timecount(struct timecounter *tc) in dummy_get_timecount() 92 static struct timecounter dummy_timecounter = { 103 struct timecounter *th_counter; /* active timecounter */ 137 struct timecounter *timecounter = &dummy_timecounter; variable 138 static struct timecounter *timecounters = &dummy_timecounter; 278 struct timecounter *newtc, *tc; in sysctl_kern_timecounter_hardware() 280 tc = timecounter; in sysctl_kern_timecounter_hardware() 309 timecounter = newtc; in sysctl_kern_timecounter_hardware() 324 struct timecounter *tc; in sysctl_kern_timecounter_choice() 428 struct timecounter *tc; in tc_delta() [all …]
|
| D | kern_cctr.c | 105 static struct timecounter cc_timecounter = { 125 struct timecounter * 184 cc_get_timecount(struct timecounter *tc) in cc_get_timecount()
|
| /netbsd/src/sys/arch/powerpc/powerpc/ |
| D | clock.c | 64 static u_int get_powerpc_timecount(struct timecounter *); 66 static u_int get_601_timecount(struct timecounter *); 75 static struct timecounter powerpc_601_timecounter = { 87 static struct timecounter powerpc_timecounter = { 257 get_powerpc_timecount(struct timecounter *tc) in get_powerpc_timecount() 273 get_601_timecount(struct timecounter *tc) in get_601_timecount() 291 struct timecounter *tc; in init_powerpc_tc()
|
| /netbsd/src/sys/arch/sparc64/sparc64/ |
| D | clock.c | 147 static u_int tick_get_timecount(struct timecounter *); 148 static u_int stick_get_timecount(struct timecounter *); 150 static u_int stick2e_get_timecount(struct timecounter *); 157 static struct timecounter tick_timecounter = { 166 static struct timecounter stick_timecounter = { 175 static struct timecounter stick2e_timecounter = { 187 tick_get_timecount(struct timecounter *tc) in tick_get_timecount() 193 stick_get_timecount(struct timecounter *tc) in stick_get_timecount() 200 stick2e_get_timecount(struct timecounter *tc) in stick2e_get_timecount() 207 static u_int counter_get_timecount(struct timecounter *); [all …]
|
| /netbsd/src/sys/dev/ic/ |
| D | acpipmtimer.c | 20 struct timecounter tc; 26 static u_int acpihwtimer_read_safe(struct timecounter *); 27 static u_int acpihwtimer_read_fast(struct timecounter *); 76 acpihwtimer_read_safe(struct timecounter *tc) in acpihwtimer_read_safe() 92 acpihwtimer_read_fast(struct timecounter *tc) in acpihwtimer_read_fast()
|
| /netbsd/src/sys/arch/sparc/sparc/ |
| D | timer_msiiep.c | 87 static u_int timer_get_timecount(struct timecounter *); 105 static struct timecounter counter_timecounter = { 209 timer_get_timecount(struct timecounter *tc) in timer_get_timecount() 251 if (timecounter->tc_get_timecount == timer_get_timecount) in clockintr_msiiep()
|
| D | timer.c | 80 static u_int timer_get_timecount(struct timecounter *); 103 static struct timecounter counter_timecounter = { 118 timer_get_timecount(struct timecounter *tc) in timer_get_timecount() 183 if (timecounter->tc_get_timecount == timer_get_timecount) { in tickle_tc()
|
| /netbsd/src/sys/arch/i386/pci/ |
| D | geodecntr.c | 47 struct timecounter sc_tc; 50 static unsigned geode_get_timecount(struct timecounter *); 106 static unsigned geode_get_timecount(struct timecounter *tc) in geode_get_timecount()
|
| /netbsd/src/sys/arch/usermode/dev/ |
| D | clock.c | 53 static unsigned int clock_getcounter(struct timecounter *); 66 static struct timecounter clock_timecounter = { 125 clock_getcounter(struct timecounter *tc) in clock_getcounter()
|
| /netbsd/src/sys/arch/arm/iomd/ |
| D | iomd_clock.c | 87 static u_int iomd_timecounter0_get(struct timecounter *tc); 96 static struct timecounter iomd_timecounter = { 157 timecounter->tc_get_timecount == iomd_timecounter0_get) { in tickle_tc() 307 static u_int iomd_timecounter0_get(struct timecounter *tc) in iomd_timecounter0_get()
|
| /netbsd/src/sys/arch/arm/imx/ |
| D | imxclock.c | 58 static u_int imx_epit_get_timecount(struct timecounter *); 61 static struct timecounter imx_epit_timecounter = { 133 imx_epit_get_timecount(struct timecounter *tc) in imx_epit_get_timecount()
|
| D | imx23_digctl.c | 58 static u_int digctl_tc_get_timecount(struct timecounter *); 73 static struct timecounter tc_useconds; 189 digctl_tc_get_timecount(struct timecounter *tc) in digctl_tc_get_timecount()
|
| /netbsd/src/sys/arch/alpha/alpha/ |
| D | qemu.c | 56 struct timecounter sc_tc; 104 qemu_get_timecount(struct timecounter * const tc __unused) in qemu_get_timecount() 182 struct timecounter * const tc = &sc->sc_tc; in qemu_attach()
|
| /netbsd/src/sys/arch/mipsco/obio/ |
| D | rambo.c | 55 static unsigned rambo_get_timecount(struct timecounter *); 139 rambo_get_timecount(struct timecounter *tc) in rambo_get_timecount() 148 static struct timecounter tc = { in rambo_tc_init()
|
| /netbsd/src/sys/arch/arm/xscale/ |
| D | becc_timer.c | 70 static u_int becc_get_timecount(struct timecounter *); 72 static struct timecounter becc_timecounter = { 199 becc_get_timecount(struct timecounter *tc) in becc_get_timecount()
|
| D | ixp425_timer.c | 57 static u_int ixpclk_get_timecount(struct timecounter *); 81 static struct timecounter ixpclk_timecounter = { 204 ixpclk_get_timecount(struct timecounter *tc) in ixpclk_get_timecount()
|
| /netbsd/src/sys/dev/acpi/ |
| D | acpi_timer.c | 45 static struct timecounter acpi_timecounter = { 127 acpitimer_read_fast(struct timecounter *tc) in acpitimer_read_fast() 141 acpitimer_read_safe(struct timecounter *tc) in acpitimer_read_safe()
|
| D | acpi_timer.h | 34 u_int acpitimer_read_safe(struct timecounter *); 35 u_int acpitimer_read_fast(struct timecounter *);
|
| /netbsd/src/sys/arch/vax/vax/ |
| D | clock.c | 62 vax_diag_get_counter(struct timecounter *tc) in vax_diag_get_counter() 80 vax_mfpr_get_counter(struct timecounter *tc) in vax_mfpr_get_counter() 112 static struct timecounter vax_diag_tc = { 121 static struct timecounter vax_mfpr_tc = {
|
| /netbsd/src/sys/arch/powerpc/booke/ |
| D | e500_timer.c | 60 static u_int get_ppcbooke_timecount(struct timecounter *); 62 static struct timecounter ppcbooke_timecounter = { 178 get_ppcbooke_timecount(struct timecounter *tc) in get_ppcbooke_timecount()
|
| /netbsd/src/sys/arch/powerpc/ibm4xx/ |
| D | clock.c | 68 static u_int get_ppc4xx_timecount(struct timecounter *); 70 static struct timecounter ppc4xx_timecounter = { 216 get_ppc4xx_timecount(struct timecounter *tc) in get_ppc4xx_timecount()
|
| /netbsd/src/sys/arch/evbarm/iq80310/ |
| D | iq80310_timer.c | 85 static u_int iq80310_get_timecount(struct timecounter *); 87 static struct timecounter iq80310_timecounter = { 253 iq80310_get_timecount(struct timecounter *tc) in iq80310_get_timecount()
|
| /netbsd/src/sys/arch/ia64/ia64/ |
| D | clock.c | 51 ia64_get_timecount(struct timecounter* tc) in ia64_get_timecount() 80 static struct timecounter tc = { in cpu_initclocks()
|