Home
last modified time | relevance | path

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

/openbmc/qemu/hw/misc/
H A Dmps2-fpgaio.c76 } else if (ticks < s->pscntr) { in resync_counter()
78 s->pscntr -= ticks; in resync_counter()
86 s->counter += ticks - s->pscntr; in resync_counter()
87 s->pscntr = 0; in resync_counter()
108 uint64_t y = ticks - s->pscntr + s->prescale; in resync_counter()
109 s->pscntr = s->prescale - (y % (s->prescale + 1)); in resync_counter()
165 r = s->pscntr; in mps2_fpgaio_read()
240 s->pscntr = value; in mps2_fpgaio_write()
268 s->pscntr = 0; in mps2_fpgaio_reset()
316 VMSTATE_UINT32(pscntr, MPS2FPGAIO),
/openbmc/qemu/include/hw/misc/
H A Dmps2-fpgaio.h53 uint32_t pscntr; member