Home
last modified time | relevance | path

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

/openbmc/qemu/hw/timer/
H A Dstm32f2xx_timer.c65 s->tim_ccr2 / (100 * (s->tim_psc + 1))); in stm32f2xx_timer_interrupt()
71 return muldiv64(t, s->freq_hz, 1000000000ULL) / (s->tim_psc + 1); in stm32f2xx_ns_to_ticks()
90 s->hit_time = muldiv64((ticks + (uint64_t) now_ticks) * (s->tim_psc + 1), in stm32f2xx_timer_set_alarm()
111 s->tim_psc = 0; in stm32f2xx_timer_reset()
154 return s->tim_psc; in stm32f2xx_timer_read()
224 s->tim_psc = value & 0xFFFF; in stm32f2xx_timer_write()
288 VMSTATE_UINT32(tim_psc, STM32F2XXTimerState),
/openbmc/qemu/include/hw/timer/
H A Dstm32f2xx_timer.h91 uint32_t tim_psc; member