Searched refs:duty_cnt (Results 1 – 1 of 1) sorted by relevance
150 unsigned int cnt, duty_cnt; in meson_pwm_calc() local194 duty_cnt = mul_u64_u64_div_u64(fin_freq, duty, NSEC_PER_SEC); in meson_pwm_calc()196 dev_dbg(pwmchip_parent(chip), "duty=%llu duty_cnt=%u\n", duty, duty_cnt); in meson_pwm_calc()198 channel->hi = duty_cnt; in meson_pwm_calc()199 channel->lo = cnt - duty_cnt; in meson_pwm_calc()