Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/cpu/armv7/s5p-common/
H A Dpwm.c64 unsigned long tin_ns; in pwm_config() local
86 tin_ns = NS_IN_SEC / tin_rate; in pwm_config()
87 tcnt = period_ns / tin_ns; in pwm_config()
90 tcmp = duty_ns / tin_ns; in pwm_config()
/openbmc/linux/drivers/pwm/
H A Dpwm-samsung.c67 u32 tin_ns; member
322 u32 tin_ns = chan->tin_ns, tcnt, tcmp, oldtcmp; in __pwm_samsung_config() local
344 tin_ns = NSEC_PER_SEC / tin_rate; in __pwm_samsung_config()
345 tcnt = period_ns / tin_ns; in __pwm_samsung_config()
353 tcmp = duty_ns / tin_ns; in __pwm_samsung_config()
367 "tin_ns=%u, tcmp=%u/%u\n", tin_ns, tcmp, tcnt); in __pwm_samsung_config()
384 chan->tin_ns = tin_ns; in __pwm_samsung_config()