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