Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/cpu/armv7/s5p-common/
H A Dpwm.c119 unsigned long ticks_per_period; in pwm_init() local
148 ticks_per_period = -1UL; in pwm_init()
154 ticks_per_period = timer_rate_hz / pwm_hz; in pwm_init()
160 writel(ticks_per_period, &pwm->tcntb0 + offset); in pwm_init()