Lines Matching full:counter
36 REG32(COUNTER, 0x18)
55 * Update s->counter and s->pscntr to their true current values in resync_counter()
69 * Work out what PSCNTR and COUNTER have moved to. We assume that in resync_counter()
71 * and that COUNTER increments at the same moment. in resync_counter()
84 * COUNTER every tick after that. in resync_counter()
86 s->counter += ticks - s->pscntr; in resync_counter()
101 * and COUNTER is incremented by y / (s->prescale + 1) in resync_counter()
110 s->counter += y / (s->prescale + 1); in resync_counter()
161 r = s->counter; in mps2_fpgaio_read()
236 s->counter = value; in mps2_fpgaio_write()
267 s->counter = 0; in mps2_fpgaio_reset()
315 VMSTATE_UINT32(counter, MPS2FPGAIO),
323 /* Frequency of the prescale counter */