Home
last modified time | relevance | path

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

/linux/drivers/input/misc/
H A Dmax77693-haptic.c56 struct pwm_device *pwm_dev; member
74 pwm_init_state(haptic->pwm_dev, &state); in max77693_haptic_set_duty_cycle()
77 error = pwm_apply_might_sleep(haptic->pwm_dev, &state); in max77693_haptic_set_duty_cycle()
176 pwm_init_state(haptic->pwm_dev, &state); in max77693_haptic_enable()
180 error = pwm_apply_might_sleep(haptic->pwm_dev, &state); in max77693_haptic_enable()
202 pwm_disable(haptic->pwm_dev); in max77693_haptic_enable()
220 pwm_disable(haptic->pwm_dev); in max77693_haptic_disable()
258 pwm_get_args(haptic->pwm_dev, &pargs); in max77693_haptic_play_effect()
338 haptic->pwm_dev = devm_pwm_get(&pdev->dev, NULL); in max77693_haptic_probe()
339 if (IS_ERR(haptic->pwm_dev)) { in max77693_haptic_probe()
[all …]
H A Dda7280.c231 struct pwm_device *pwm_dev; member
335 pwm_get_state(haptics->pwm_dev, &state); in da7280_haptic_set_pwm()
354 error = pwm_apply_might_sleep(haptics->pwm_dev, &state); in da7280_haptic_set_pwm()
1165 haptics->pwm_dev = devm_pwm_get(dev, NULL); in da7280_probe()
1166 error = PTR_ERR_OR_ZERO(haptics->pwm_dev); in da7280_probe()
1175 pwm_init_state(haptics->pwm_dev, &state); in da7280_probe()
1177 error = pwm_apply_might_sleep(haptics->pwm_dev, &state); in da7280_probe()
/linux/drivers/pwm/
H A Dpwm-ntxec.c82 static int ntxec_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm_dev, in ntxec_pwm_apply() argument