Lines Matching defs:duty_cycle
30 * @duty_cycle: cached duty cycle
33 u16 duty_cycle;
120 u16 duty_cycle;
131 duty_cycle = state->enabled ? state->duty_cycle : 0;
133 ret = cros_ec_pwm_set_duty(ec_pwm->ec, pwm->hwpwm, duty_cycle);
137 channel->duty_cycle = state->duty_cycle;
165 * For the case of the initial hardware readout, channel->duty_cycle
168 if (ret == 0 && channel->duty_cycle > 0)
169 state->duty_cycle = channel->duty_cycle;
171 state->duty_cycle = ret;