Home
last modified time | relevance | path

Searched refs:pwmcval (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pwm/
H A Dpwm-atmel-hlcdc.c52 u64 pwmcval = state->duty_cycle * 256; in atmel_hlcdc_pwm_apply() local
116 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()