Searched refs:pwmcval (Results 1 – 1 of 1) sorted by relevance
51 u64 pwmcval = state->duty_cycle * 256; in atmel_hlcdc_pwm_apply() local115 do_div(pwmcval, state->period); in atmel_hlcdc_pwm_apply()123 if (pwmcval > 255) in atmel_hlcdc_pwm_apply()124 pwmcval = 255; in atmel_hlcdc_pwm_apply()126 pwmcfg |= ATMEL_HLCDC_PWMCVAL(pwmcval); in atmel_hlcdc_pwm_apply()