Searched refs:duty_scale (Results 1 – 1 of 1) sorted by relevance
40 unsigned int duty_scale; member44 unsigned int duty_scale) in iqs620_pwm_init() argument49 if (!duty_scale) in iqs620_pwm_init()54 duty_scale - 1); in iqs620_pwm_init()67 unsigned int duty_scale; in iqs620_pwm_apply() local91 duty_scale = duty_cycle * 256 / IQS620_PWM_PERIOD_NS; in iqs620_pwm_apply()94 duty_scale = 0; in iqs620_pwm_apply()98 ret = iqs620_pwm_init(iqs620_pwm, duty_scale); in iqs620_pwm_apply()100 iqs620_pwm->duty_scale = duty_scale; in iqs620_pwm_apply()122 state->enabled = iqs620_pwm->duty_scale > 0; in iqs620_pwm_get_state()[all …]
Completed in 6 milliseconds