Searched refs:pwm_dir (Results 1 – 1 of 1) sorted by relevance
29 struct pwm_device *pwm_dir; member65 if (vibrator->pwm_dir) { in pwm_vibrator_start()66 pwm_get_state(vibrator->pwm_dir, &state); in pwm_vibrator_start()70 err = pwm_apply_might_sleep(vibrator->pwm_dir, &state); in pwm_vibrator_start()83 if (vibrator->pwm_dir) in pwm_vibrator_stop()84 pwm_disable(vibrator->pwm_dir); in pwm_vibrator_stop()170 vibrator->pwm_dir = devm_pwm_get(&pdev->dev, "direction"); in pwm_vibrator_probe()171 err = PTR_ERR_OR_ZERO(vibrator->pwm_dir); in pwm_vibrator_probe()175 pwm_init_state(vibrator->pwm_dir, &state); in pwm_vibrator_probe()177 err = pwm_apply_might_sleep(vibrator->pwm_dir, &state); in pwm_vibrator_probe()[all …]