Searched refs:pwm_dev (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/input/misc/ |
H A D | max77693-haptic.c | 54 struct pwm_device *pwm_dev; member 73 pwm_get_args(haptic->pwm_dev, &pargs); in max77693_haptic_set_duty_cycle() 75 error = pwm_config(haptic->pwm_dev, delta, pargs.period); in max77693_haptic_set_duty_cycle() 165 error = pwm_enable(haptic->pwm_dev); in max77693_haptic_enable() 187 pwm_disable(haptic->pwm_dev); in max77693_haptic_enable() 205 pwm_disable(haptic->pwm_dev); in max77693_haptic_disable() 248 pwm_get_args(haptic->pwm_dev, &pargs); in max77693_haptic_play_effect() 327 haptic->pwm_dev = devm_pwm_get(&pdev->dev, NULL); in max77693_haptic_probe() 328 if (IS_ERR(haptic->pwm_dev)) { in max77693_haptic_probe() 330 return PTR_ERR(haptic->pwm_dev); in max77693_haptic_probe() [all …]
|
H A D | da7280.c | 231 struct pwm_device *pwm_dev; member 336 pwm_get_state(haptics->pwm_dev, &state); in da7280_haptic_set_pwm() 355 error = pwm_apply_might_sleep(haptics->pwm_dev, &state); in da7280_haptic_set_pwm() 1166 haptics->pwm_dev = devm_pwm_get(dev, NULL); in da7280_probe() 1167 error = PTR_ERR_OR_ZERO(haptics->pwm_dev); in da7280_probe() 1176 pwm_init_state(haptics->pwm_dev, &state); in da7280_probe() 1178 error = pwm_apply_might_sleep(haptics->pwm_dev, &state); in da7280_probe()
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-ntxec.c | 83 static int ntxec_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm_dev, in ntxec_pwm_apply() argument
|