Home
last modified time | relevance | path

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

/openbmc/qemu/hw/sparc64/
H A Dsparc64.c81 static CPUTimer *cpu_timer_create(const char *name, SPARCCPU *cpu, in cpu_timer_create()
85 CPUTimer *timer = g_new0(CPUTimer, 1); in cpu_timer_create()
101 static void cpu_timer_reset(CPUTimer *timer) in cpu_timer_reset()
138 CPUTimer *timer = env->tick; in tick_irq()
156 CPUTimer *timer = env->stick; in stick_irq()
174 CPUTimer *timer = env->hstick; in hstick_irq()
197 void cpu_tick_set_count(CPUTimer *timer, uint64_t count) in cpu_tick_set_count()
213 uint64_t cpu_tick_get_count(CPUTimer *timer) in cpu_tick_get_count()
230 void cpu_tick_set_limit(CPUTimer *timer, uint64_t limit) in cpu_tick_set_limit()
/openbmc/qemu/target/sparc/
H A Dmachine.c14 VMSTATE_UINT32(frequency, CPUTimer),
15 VMSTATE_UINT32(disabled, CPUTimer),
16 VMSTATE_UINT64(disabled_mask, CPUTimer),
17 VMSTATE_UINT32(npt, CPUTimer),
18 VMSTATE_UINT64(npt_mask, CPUTimer),
19 VMSTATE_INT64(clock_offset, CPUTimer),
20 VMSTATE_TIMER_PTR(qtimer, CPUTimer),
26 VMSTATE_STRUCT_POINTER(_f, _s, vmstate_cpu_timer, CPUTimer)
H A Dcpu.h367 struct CPUTimer struct
379 typedef struct CPUTimer CPUTimer; argument
505 CPUTimer *tick, *stick;
513 CPUTimer *hstick; // UA 2005
714 void cpu_tick_set_count(CPUTimer *timer, uint64_t count);
715 uint64_t cpu_tick_get_count(CPUTimer *timer);
716 void cpu_tick_set_limit(CPUTimer *timer, uint64_t limit);
H A Dhelper.c62 CPUTimer *timer = opaque; in helper_tick_get_count()