Searched refs:pwm_dev (Results 1 – 4 of 4) sorted by relevance
| /drivers/input/misc/ |
| A D | max77693-haptic.c | 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() [all …]
|
| A D | da7280.c | 231 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()
|
| /drivers/pwm/ |
| A D | core.c | 1094 struct device pwm_dev; member 1107 return container_of(pwm_dev, struct pwm_export, pwm_dev); in pwmexport_from_dev() 1339 export->pwm_dev.devt = MKDEV(0, 0); in pwm_export_child() 1340 export->pwm_dev.groups = pwm_groups; in pwm_export_child() 1346 put_device(&export->pwm_dev); in pwm_export_child() 1365 struct device *pwm_dev; in pwm_unexport_child() local 1372 if (!pwm_dev) in pwm_unexport_child() 1381 put_device(pwm_dev); in pwm_unexport_child() 1382 device_unregister(pwm_dev); in pwm_unexport_child() 1459 struct device *pwm_dev; in pwm_class_get_state() local [all …]
|
| A D | pwm-ntxec.c | 82 static int ntxec_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm_dev, in ntxec_pwm_apply() argument
|
Completed in 14 milliseconds