Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/contrib/octeon-sdk/
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()
180 cvmx_tim_bucket_entry_t *bucket = cvmx_tim.bucket + timer_id * cvmx_tim.num_buckets; 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()
201 ring_ctl0.s.timercount = interval + timer_id * interval / CVMX_TIM_NUM_TIMERS; 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()
208 ring_ctl0.u64 = cvmx_read_csr(CVMX_TIM_RINGX_CTL0(timer_id)); in cvmx_tim_setup()
[all …]
/freebsd-12-stable/sys/arm/ti/am335x/
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()
Dam335x_dmtpps.c421 clk_ident_t timer_id; in dmtpps_attach() local
431 if ((timer_id = ti_hwmods_get_clock(dev)) == INVALID_CLK_IDENT) in dmtpps_attach()
433 if ((err = ti_prcm_clk_set_source(timer_id, SYSCLK_CLK)) != 0) in dmtpps_attach()
435 if ((err = ti_prcm_clk_enable(timer_id)) != 0) in dmtpps_attach()
/freebsd-12-stable/contrib/ntp/ntpd/
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-stable/contrib/gdb/gdb/
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-stable/sys/kern/
Dkern_time.c1382 kern_ktimer_settime(struct thread *td, int timer_id, int flags, in kern_ktimer_settime() argument
1391 if (timer_id < 3 || (it = itimer_find(p, timer_id)) == NULL) { in kern_ktimer_settime()
1424 kern_ktimer_gettime(struct thread *td, int timer_id, struct itimerspec *val) in kern_ktimer_gettime() argument
1432 if (timer_id < 3 || (it = itimer_find(p, timer_id)) == NULL) { in kern_ktimer_gettime()
1458 kern_ktimer_getoverrun(struct thread *td, int timer_id) in kern_ktimer_getoverrun() argument
1465 if (timer_id < 3 || in kern_ktimer_getoverrun()
1466 (it = itimer_find(p, timer_id)) == NULL) { in kern_ktimer_getoverrun()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h197 #define __sanitizer_syscall_pre_timer_gettime(timer_id, setting) \ argument
198 __sanitizer_syscall_pre_impl_timer_gettime((long)(timer_id), (long)(setting))
199 #define __sanitizer_syscall_post_timer_gettime(res, timer_id, setting) \ argument
200 __sanitizer_syscall_post_impl_timer_gettime(res, (long)(timer_id), \
202 #define __sanitizer_syscall_pre_timer_getoverrun(timer_id) \ argument
203 __sanitizer_syscall_pre_impl_timer_getoverrun((long)(timer_id))
204 #define __sanitizer_syscall_post_timer_getoverrun(res, timer_id) \ argument
205 __sanitizer_syscall_post_impl_timer_getoverrun(res, (long)(timer_id))
206 #define __sanitizer_syscall_pre_timer_settime(timer_id, flags, new_setting, \ argument
208 __sanitizer_syscall_pre_impl_timer_settime((long)(timer_id), (long)(flags), \
[all …]
/freebsd-12-stable/contrib/tcpdump/
Dtcpdump.c207 static UINT timer_id; variable
2009 timer_id = timeSetEvent(1000, 100, verbose_stats_dump, 0, TIME_PERIODIC); in main()
2182 if (timer_id) in cleanup()
2183 timeKillEvent(timer_id); in cleanup()
2184 timer_id = 0; in cleanup()
2603 void CALLBACK verbose_stats_dump (UINT timer_id _U_, UINT msg _U_, DWORD_PTR arg _U_, in verbose_stats_dump()
/freebsd-12-stable/sys/sys/
Dsyscallsubr.h295 int kern_ktimer_settime(struct thread *td, int timer_id, int flags,
297 int kern_ktimer_gettime(struct thread *td, int timer_id,
299 int kern_ktimer_getoverrun(struct thread *td, int timer_id);
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc455 PRE_SYSCALL(timer_gettime)(long timer_id, void *setting) {}
457 POST_SYSCALL(timer_gettime)(long res, long timer_id, void *setting) {
463 PRE_SYSCALL(timer_getoverrun)(long timer_id) {}
465 POST_SYSCALL(timer_getoverrun)(long res, long timer_id) {}
467 PRE_SYSCALL(timer_settime)(long timer_id, long flags, const void *new_setting,
472 POST_SYSCALL(timer_settime)(long res, long timer_id, long flags,
479 PRE_SYSCALL(timer_delete)(long timer_id) {}
481 POST_SYSCALL(timer_delete)(long res, long timer_id) {}