Home
last modified time | relevance | path

Searched refs:pwm_dev (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/input/misc/
Dmax77693-haptic.c54 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 …]
Dda7280.c231 struct pwm_device *pwm_dev; member
336 pwm_get_state(haptics->pwm_dev, &state); in da7280_haptic_set_pwm()
355 error = pwm_apply_state(haptics->pwm_dev, &state); in da7280_haptic_set_pwm()
1167 haptics->pwm_dev = devm_pwm_get(dev, NULL); in da7280_probe()
1168 error = PTR_ERR_OR_ZERO(haptics->pwm_dev); in da7280_probe()
1177 pwm_init_state(haptics->pwm_dev, &state); in da7280_probe()
1179 error = pwm_apply_state(haptics->pwm_dev, &state); in da7280_probe()
/Linux-v6.1/drivers/pwm/
Dpwm-ntxec.c84 static int ntxec_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm_dev, in ntxec_pwm_apply() argument