Home
last modified time | relevance | path

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

/qemu/hw/timer/
H A Dsifive_pwm.c69 static inline uint64_t sifive_pwm_ns_to_ticks(SiFivePwmState *s, in sifive_pwm_ns_to_ticks() function
95 uint64_t pwmcount = (sifive_pwm_ns_to_ticks(s, now_ns) - in sifive_pwm_set_alarms()
149 uint64_t now = sifive_pwm_ns_to_ticks(s, in sifive_pwm_interrupt()
226 uint64_t now = sifive_pwm_ns_to_ticks(s, in sifive_pwm_read()
278 uint64_t now = sifive_pwm_ns_to_ticks(s, in sifive_pwm_write()
385 s->tick_offset = sifive_pwm_ns_to_ticks(s, now); in sifive_pwm_reset()