Home
last modified time | relevance | path

Searched refs:timer_id (Results 1 – 10 of 10) sorted by relevance

/freebsd-12.1/sys/contrib/octeon-sdk/
H A Dcvmx-tim.c85 uint64_t timer_id; in cvmx_tim_setup() local
177 for (timer_id = 0; timer_id<CVMX_TIM_NUM_TIMERS; timer_id++) in cvmx_tim_setup()
192 cvmx_write_csr(CVMX_TIM_RINGX_CTL2(timer_id), ring_ctl2.u64); in cvmx_tim_setup()
198 cvmx_write_csr(CVMX_TIM_RINGX_CTL1(timer_id), ring_ctl1.u64); in cvmx_tim_setup()
202 cvmx_write_csr(CVMX_TIM_RINGX_CTL0(timer_id), ring_ctl0.u64); in cvmx_tim_setup()
204 ring_ctl0.u64 = cvmx_read_csr(CVMX_TIM_RINGX_CTL0(timer_id)); in cvmx_tim_setup()
207 cvmx_write_csr(CVMX_TIM_RINGX_CTL0(timer_id), ring_ctl0.u64); in cvmx_tim_setup()
218 config_ring0.s.ring = timer_id; in cvmx_tim_setup()
227 config_ring1.s.ring = timer_id; in cvmx_tim_setup()
274 uint64_t timer_id; in cvmx_tim_shutdown() local
[all …]
/freebsd-12.1/sys/arm/ti/am335x/
H A Dam335x_dmtimer.c280 clk_ident_t timer_id; in am335x_dmtimer_attach() local
291 if ((timer_id = ti_hwmods_get_clock(dev)) == INVALID_CLK_IDENT) in am335x_dmtimer_attach()
293 if ((err = ti_prcm_clk_set_source(timer_id, SYSCLK_CLK)) != 0) in am335x_dmtimer_attach()
295 if ((err = ti_prcm_clk_enable(timer_id)) != 0) in am335x_dmtimer_attach()
H A Dam335x_dmtpps.c439 clk_ident_t timer_id; in dmtpps_attach() local
449 if ((timer_id = ti_hwmods_get_clock(dev)) == INVALID_CLK_IDENT) in dmtpps_attach()
451 if ((err = ti_prcm_clk_set_source(timer_id, SYSCLK_CLK)) != 0) in dmtpps_attach()
453 if ((err = ti_prcm_clk_enable(timer_id)) != 0) in dmtpps_attach()
/freebsd-12.1/contrib/ntp/ntpd/
H A Dntp_timer.c117 static timer_t timer_id; variable
144 rc = timer_settime(timer_id, 0, &itimer, NULL); in set_timer_or_die()
167 timer_gettime(timer_id, &itimer); in reinit_timer()
215 if (TC_ERR == timer_create(CLOCK_REALTIME, NULL, &timer_id)) { in init_timer()
/freebsd-12.1/contrib/gdb/gdb/
H A Devent-loop.c172 int timer_id; member
991 timer_ptr->timer_id = timer_list.num_timers; in create_timer()
1026 return timer_ptr->timer_id; in create_timer()
1041 if (timer_ptr->timer_id == id) in delete_timer()
1134 event_ptr->fd = timer_list.first_timer->timer_id; in poll_timers()
/freebsd-12.1/sys/kern/
H A Dkern_time.c1393 kern_ktimer_settime(struct thread *td, int timer_id, int flags, in kern_ktimer_settime() argument
1402 if (timer_id < 3 || (it = itimer_find(p, timer_id)) == NULL) { in kern_ktimer_settime()
1435 kern_ktimer_gettime(struct thread *td, int timer_id, struct itimerspec *val) in kern_ktimer_gettime() argument
1443 if (timer_id < 3 || (it = itimer_find(p, timer_id)) == NULL) { in kern_ktimer_gettime()
1469 kern_ktimer_getoverrun(struct thread *td, int timer_id) in kern_ktimer_getoverrun() argument
1476 if (timer_id < 3 || in kern_ktimer_getoverrun()
1477 (it = itimer_find(p, timer_id)) == NULL) { in kern_ktimer_getoverrun()
/freebsd-12.1/contrib/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h198 #define __sanitizer_syscall_pre_timer_gettime(timer_id, setting) \ argument
203 #define __sanitizer_syscall_pre_timer_getoverrun(timer_id) \ argument
204 __sanitizer_syscall_pre_impl_timer_getoverrun((long)(timer_id))
205 #define __sanitizer_syscall_post_timer_getoverrun(res, timer_id) \ argument
206 __sanitizer_syscall_post_impl_timer_getoverrun(res, (long)(timer_id))
217 #define __sanitizer_syscall_pre_timer_delete(timer_id) \ argument
218 __sanitizer_syscall_pre_impl_timer_delete((long)(timer_id))
219 #define __sanitizer_syscall_post_timer_delete(res, timer_id) \ argument
220 __sanitizer_syscall_post_impl_timer_delete(res, (long)(timer_id))
2114 void __sanitizer_syscall_pre_impl_timer_getoverrun(long timer_id);
[all …]
/freebsd-12.1/sys/sys/
H A Dsyscallsubr.h277 int kern_ktimer_settime(struct thread *td, int timer_id, int flags,
279 int kern_ktimer_gettime(struct thread *td, int timer_id,
281 int kern_ktimer_getoverrun(struct thread *td, int timer_id);
/freebsd-12.1/contrib/tcpdump/
H A Dtcpdump.c211 static UINT timer_id; variable
2032 timer_id = timeSetEvent(1000, 100, verbose_stats_dump, 0, TIME_PERIODIC); in main()
2205 if (timer_id) in cleanup()
2206 timeKillEvent(timer_id); in cleanup()
2207 timer_id = 0; in cleanup()
2626 void CALLBACK verbose_stats_dump (UINT timer_id _U_, UINT msg _U_, DWORD_PTR arg _U_, in verbose_stats_dump()
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc456 PRE_SYSCALL(timer_gettime)(long timer_id, void *setting) {}
458 POST_SYSCALL(timer_gettime)(long res, long timer_id, void *setting) {
464 PRE_SYSCALL(timer_getoverrun)(long timer_id) {}
466 POST_SYSCALL(timer_getoverrun)(long res, long timer_id) {}
468 PRE_SYSCALL(timer_settime)(long timer_id, long flags, const void *new_setting,
473 POST_SYSCALL(timer_settime)(long res, long timer_id, long flags,
480 PRE_SYSCALL(timer_delete)(long timer_id) {}
482 POST_SYSCALL(timer_delete)(long res, long timer_id) {}