Searched refs:tim_psc (Results 1 – 2 of 2) sorted by relevance
65 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),
91 uint32_t tim_psc; member