Searched refs:pwmvalx (Results 1 – 1 of 1) sorted by relevance
122 unsigned int prescale = 0, pwmvalx; in sti_pwm_config() local175 pwmvalx = cdata->max_pwm_cnt * duty_ns / period_ns; in sti_pwm_config()177 ret = regmap_write(pc->regmap, STI_DS_REG(pwm->hwpwm), pwmvalx); in sti_pwm_config()187 prescale, period_ns, duty_ns, pwmvalx); in sti_pwm_config()