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.c26 wait = gictimer->vptimers[vp_index].comparelo - gictimer->sh_counterlo - in gic_vptimer_update()
36 if (gictimer->countstop) { in gic_vptimer_expire()
40 gictimer->cb(gictimer->opaque, vp_index); in gic_vptimer_expire()
47 MIPSGICTimerState *gictimer = vptimer->gictimer; in gic_vptimer_cb() local
76 if (gictimer->countstop || !gictimer->vptimers[0].qtimer) { in mips_gictimer_store_sh_count()
110 gictimer->countstop = 0; in mips_gictimer_start_count()
111 mips_gictimer_store_sh_count(gictimer, gictimer->sh_counterlo); in mips_gictimer_start_count()
118 gictimer->countstop = 1; in mips_gictimer_stop_count()
136 gictimer->cb = cb; in mips_gictimer_init()
138 gictimer->vptimers[i].gictimer = gictimer; in mips_gictimer_init()
[all …]
/openbmc/qemu/include/hw/timer/
H A Dmips_gictimer.h22 MIPSGICTimerState *gictimer; member
37 uint32_t mips_gictimer_get_vp_compare(MIPSGICTimerState *gictimer,