Home
last modified time | relevance | path

Searched refs:timer_index (Results 1 – 4 of 4) sorted by relevance

/qemu/hw/timer/
H A Dslavio_timer.c100 unsigned int timer_index = tc->timer_index; in slavio_timer_is_user() local
102 return timer_index != 0 && (s->cputimer_mode & (1 << (timer_index - 1))); in slavio_timer_is_user()
128 CPUTimerState *t = &s->cputimer[tc->timer_index]; in slavio_timer_irq()
148 unsigned int timer_index = tc->timer_index; in slavio_timer_mem_readl() local
149 CPUTimerState *t = &s->cputimer[timer_index]; in slavio_timer_mem_readl()
182 if (timer_index > 0) { in slavio_timer_mem_readl()
208 unsigned int timer_index = tc->timer_index; in slavio_timer_mem_writel() local
209 CPUTimerState *t = &s->cputimer[timer_index]; in slavio_timer_mem_writel()
224 trace_slavio_timer_mem_writel_limit(timer_index, count); in slavio_timer_mem_writel()
283 if (timer_index == 0) { in slavio_timer_mem_writel()
[all …]
H A Dtrace-events9 slavio_timer_mem_writel_limit(unsigned int timer_index, uint64_t count) "processor %d user timer se…
11 slavio_timer_mem_writel_status_start(unsigned int timer_index) "processor %d user timer started"
12 slavio_timer_mem_writel_status_stop(unsigned int timer_index) "processor %d user timer stopped"
13 slavio_timer_mem_writel_mode_user(unsigned int timer_index) "processor %d changed from counter to u…
14 slavio_timer_mem_writel_mode_counter(unsigned int timer_index) "processor %d changed from user time…
/qemu/tests/qtest/
H A Dnpcm7xx_timer-test.c109 static int timer_index(const Timer *t) in timer_index() function
121 return td->tim->irq_base + timer_index(td->timer); in tim_timer_irq()
171 return BIT(timer_index(td->timer)); in tim_timer_bit()
518 timer_index(td->timer), name); in tim_add_test()
/qemu/linux-user/
H A Dsyscall.c13394 int timer_index = next_free_host_timer(); in _syscall2() local
13396 if (timer_index < 0) { in _syscall2()
13399 timer_t *phtimer = g_posix_timers + timer_index; in _syscall2()
13405 free_host_timer_slot(timer_index); in _syscall2()
13412 free_host_timer_slot(timer_index); in _syscall2()
13414 if (put_user(TIMER_MAGIC | timer_index, arg3, target_timer_t)) { in _syscall2()
13416 free_host_timer_slot(timer_index); in _syscall2()