Home
last modified time | relevance | path

Searched refs:gictimer (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/timer/
H A Dmips_gictimer.c20 static void gic_vptimer_update(MIPSGICTimerState *gictimer, in gic_vptimer_update() argument
26 wait = gictimer->vptimers[vp_index].comparelo - gictimer->sh_counterlo - in gic_vptimer_update()
30 timer_mod(gictimer->vptimers[vp_index].qtimer, next); in gic_vptimer_update()
33 static void gic_vptimer_expire(MIPSGICTimerState *gictimer, uint32_t vp_index, in gic_vptimer_expire() argument
36 if (gictimer->countstop) { in gic_vptimer_expire()
40 gictimer->cb(gictimer->opaque, vp_index); in gic_vptimer_expire()
41 gic_vptimer_update(gictimer, vp_index, now); in gic_vptimer_expire()
47 MIPSGICTimerState *gictimer = vptimer->gictimer; in gic_vptimer_cb() local
48 gic_vptimer_expire(gictimer, vptimer->vp_index, in gic_vptimer_cb()
52 uint32_t mips_gictimer_get_sh_count(MIPSGICTimerState *gictimer) in mips_gictimer_get_sh_count() argument
[all …]
/openbmc/qemu/include/hw/timer/
H A Dmips_gictimer.h22 MIPSGICTimerState *gictimer; member
37 uint32_t mips_gictimer_get_vp_compare(MIPSGICTimerState *gictimer,