Searched refs:duty_scale (Results 1 – 1 of 1) sorted by relevance
50 unsigned int duty_scale; in iqs620_pwm_apply() local75 duty_scale = duty_cycle * 256 / IQS620_PWM_PERIOD_NS; in iqs620_pwm_apply()79 if (!state->enabled || !duty_scale) { in iqs620_pwm_apply()86 if (duty_scale) { in iqs620_pwm_apply()87 u8 duty_val = duty_scale - 1; in iqs620_pwm_apply()97 if (state->enabled && duty_scale) { in iqs620_pwm_apply()