Lines Matching refs:timer
14 #include "qemu/timer.h"
41 QEMUTimer *timer;
55 /* Conversion factor from qemu timer to SysTick frequencies. */
69 timer_mod(s->systick.timer, s->systick.tick);
143 /* The interrupt in triggered when the timer reaches zero.
280 timer_mod(s->systick.timer, s->systick.tick);
285 timer_del(s->systick.timer);
291 /* This is a hack. Force the timer to be reloaded
299 case 0x18: /* SysTick Current Value. Writes reload the timer. */
375 timer_put(f, s->systick.timer);
388 timer_get(f, s->systick.timer);
399 s->systick.timer = timer_new(QEMU_CLOCK_VIRTUAL, SCALE_NS, systick_timer_tick, s);