Lines Matching refs:pwm_dev
56 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()
341 return PTR_ERR(haptic->pwm_dev); in max77693_haptic_probe()