Searched refs:tickoff_from_counter (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/misc/ |
H A D | mps2-fpgaio.c | 47 static int64_t tickoff_from_counter(int64_t now, uint32_t count, int frq) in tickoff_from_counter() function 228 s->clk1hz_tick_offset = tickoff_from_counter(now, value, 1); in mps2_fpgaio_write() 232 s->clk100hz_tick_offset = tickoff_from_counter(now, value, 100); in mps2_fpgaio_write() 265 s->clk1hz_tick_offset = tickoff_from_counter(now, 0, 1); in mps2_fpgaio_reset() 266 s->clk100hz_tick_offset = tickoff_from_counter(now, 0, 100); in mps2_fpgaio_reset()
|