Searched refs:perstep (Results 1 – 1 of 1) sorted by relevance
444 int div512, perstep, steps, hz, up, kill; in lm8323_pwm_work() local475 perstep = (hz * pwm->fade_time) / (steps * 1000); in lm8323_pwm_work()477 if (perstep == 0) in lm8323_pwm_work()478 perstep = 1; in lm8323_pwm_work()479 else if (perstep > 63) in lm8323_pwm_work()480 perstep = 63; in lm8323_pwm_work()486 pwm_cmds[num_cmds++] = PWM_RAMP(div512, perstep, s, up); in lm8323_pwm_work()