Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-meson.c150 unsigned int cnt, duty_cnt; in meson_pwm_calc() local
193 duty_cnt = div_u64(fin_freq * duty, NSEC_PER_SEC); in meson_pwm_calc()
195 dev_dbg(meson->chip.dev, "duty=%llu duty_cnt=%u\n", duty, duty_cnt); in meson_pwm_calc()
197 channel->hi = duty_cnt; in meson_pwm_calc()
198 channel->lo = cnt - duty_cnt; in meson_pwm_calc()