Lines Matching refs:compval
86 uint32_t compval; /* Comparator */ member
253 uint32_t compval, comprate, compnext; in vhpet_adjust_compval() local
257 compval = vhpet->timer[n].compval; in vhpet_adjust_compval()
271 compnext = compval + ((counter - compval) / comprate + 1) * comprate; in vhpet_adjust_compval()
273 vhpet->timer[n].compval = compnext; in vhpet_adjust_compval()
351 delta = (vhpet->timer[n].compval - counter) * vhpet->freq_sbt; in vhpet_start_timer()
571 old_compval = vhpet->timer[i].compval; in vhpet_mmio_write()
585 vhpet->timer[i].compval = val64; in vhpet_mmio_write()
591 val64 = vhpet->timer[i].compval; in vhpet_mmio_write()
593 vhpet->timer[i].compval = val64; in vhpet_mmio_write()
597 if (vhpet->timer[i].compval != old_compval || in vhpet_mmio_write()
677 data = vhpet->timer[i].compval; in vhpet_mmio_read()
733 vhpet->timer[i].compval = 0xffffffff; in vhpet_init()
790 SNAPSHOT_VAR_OR_LEAVE(vhpet->timer[i].compval, meta, ret, done); in vhpet_snapshot()