Searched refs:use_pwm_type (Results 1 - 1 of 1) sorted by relevance

/linux-master/drivers/pwm/
H A Dpwm-cros-ec.c22 * @use_pwm_type: Use PWM types instead of generic channels
27 bool use_pwm_type; member in struct:cros_ec_pwm_device
79 if (ec_pwm->use_pwm_type) {
94 static int cros_ec_pwm_get_duty(struct cros_ec_device *ec, bool use_pwm_type, u8 index) argument
115 if (use_pwm_type) {
171 ret = cros_ec_pwm_get_duty(ec_pwm->ec, ec_pwm->use_pwm_type, pwm->hwpwm);
233 * Note that this function is only called when use_pwm_type is
234 * false. With use_pwm_type == true the number of PWMs is fixed.
265 bool use_pwm_type = false; local
273 use_pwm_type
[all...]

Completed in 206 milliseconds