Searched refs:gtb (Results 1 – 1 of 1) sorted by relevance
89 A9GTimerPerCPU *gtb = &s->per_cpu[i]; in a9_gtimer_update() local93 (gtb->control & R_CONTROL_COMP_ENABLE)) { in a9_gtimer_update()95 if (gtb->compare < update.new) { in a9_gtimer_update()97 gtb->status = 1; in a9_gtimer_update()98 if (gtb->control & R_CONTROL_AUTO_INCREMENT && gtb->inc) { in a9_gtimer_update()100 QEMU_ALIGN_UP(update.new - gtb->compare, gtb->inc); in a9_gtimer_update()103 gtb->compare += inc; in a9_gtimer_update()106 cdiff = (int64_t)gtb->compare - (int64_t)update.new + 1; in a9_gtimer_update()112 qemu_set_irq(gtb->irq, in a9_gtimer_update()113 gtb->status && (gtb->control & R_CONTROL_IRQ_ENABLE)); in a9_gtimer_update()[all …]