Home
last modified time | relevance | path

Searched refs:vibrator (Results 1 – 25 of 53) sorted by relevance

123

/openbmc/linux/drivers/input/misc/
H A Dpwm-vibra.c44 if (!vibrator->vcc_on) { in pwm_vibrator_start()
83 if (vibrator->pwm_dir) in pwm_vibrator_stop()
89 if (vibrator->vcc_on) { in pwm_vibrator_stop()
100 if (vibrator->level) in pwm_vibrator_play_work()
112 if (!vibrator->level) in pwm_vibrator_play_effect()
134 vibrator = devm_kzalloc(&pdev->dev, sizeof(*vibrator), GFP_KERNEL); in pwm_vibrator_probe()
135 if (!vibrator) in pwm_vibrator_probe()
139 if (!vibrator->input) in pwm_vibrator_probe()
208 input_set_drvdata(vibrator->input, vibrator); in pwm_vibrator_probe()
234 if (vibrator->level) in pwm_vibrator_suspend()
[all …]
H A Dgpio-vibra.c42 if (!vibrator->vcc_on) { in gpio_vibrator_start()
48 vibrator->vcc_on = true; in gpio_vibrator_start()
60 if (vibrator->vcc_on) { in gpio_vibrator_stop()
62 vibrator->vcc_on = false; in gpio_vibrator_stop()
71 if (vibrator->running) in gpio_vibrator_play_work()
107 vibrator = devm_kzalloc(&pdev->dev, sizeof(*vibrator), GFP_KERNEL); in gpio_vibrator_probe()
108 if (!vibrator) in gpio_vibrator_probe()
112 if (!vibrator->input) in gpio_vibrator_probe()
131 input_set_drvdata(vibrator->input, vibrator); in gpio_vibrator_probe()
158 if (vibrator->running) in gpio_vibrator_suspend()
[all …]
H A DKconfig178 tristate "Qualcomm PM8XXX vibrator support"
182 This option enables device driver support for the vibrator
187 module will be called pm8xxx-vibrator.
312 tristate "GPIO vibrator support"
316 Say Y here to get support for GPIO based vibrator devices.
599 tristate "PWM vibrator support"
603 Say Y here to get support for PWM based vibrator devices.
913 tristate "Spreadtrum sc27xx vibrator support"
917 This option enables support for Spreadtrum sc27xx vibrator driver.
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dgpio-vibrator.yaml4 $id: http://devicetree.org/schemas/input/gpio-vibrator.yaml#
7 title: GPIO vibrator
13 Registers a GPIO device as vibrator, where the on/off capability is controlled by a GPIO.
17 const: gpio-vibrator
35 vibrator {
36 compatible = "gpio-vibrator";
H A Dpwm-vibrator.yaml4 $id: http://devicetree.org/schemas/input/pwm-vibrator.yaml#
7 title: PWM vibrator
13 Registers a PWM device as vibrator. It is expected, that the vibrator's
23 const: pwm-vibrator
53 vibrator {
54 compatible = "pwm-vibrator";
H A Dsprd,sc27xx-vibrator.yaml5 $id: http://devicetree.org/schemas/input/sprd,sc27xx-vibrator.yaml#
18 - sprd,sc2721-vibrator
19 - sprd,sc2730-vibrator
20 - sprd,sc2731-vibrator
44 vibrator@eb4 {
45 compatible = "sprd,sc2731-vibrator";
H A Dqcom,pm8xxx-vib.yaml34 vibrator@4a {
H A Dti,drv260x.yaml40 Eccentric Rotating Mass mode (Rotary vibrator)
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-samsung-gt58.dts25 vibrator {
26 compatible = "gpio-vibrator";
69 vibrator_en_default: vibrator-en-default-state {
H A Dmsm8916-samsung-gt510.dts58 vibrator {
59 compatible = "pwm-vibrator";
H A Dmsm8939-samsung-a7.dts188 pwm_vibrator: pwm-vibrator {
252 reg_vibrator: regulator-vibrator {
265 vibrator {
266 compatible = "pwm-vibrator";
H A Dmsm8916-samsung-a2015-common.dtsi188 vibrator: vibrator { label
189 compatible = "pwm-vibrator";
H A Dmsm8916-samsung-a5u-eur.dts62 &vibrator {
H A Dmsm8916-samsung-a3u-eur.dts111 &vibrator {
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3326-anbernic-rg351m.dts15 vibrator {
16 compatible = "pwm-vibrator";
/openbmc/linux/drivers/staging/greybus/
H A DMakefile16 gb-vibrator-y := vibrator.o
27 obj-$(CONFIG_GREYBUS_VIBRATOR) += gb-vibrator.o
H A Dvibrator.c106 ATTRIBUTE_GROUPS(vibrator);
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dpalmas-pmic.txt26 - ti,ldo6-vibrator : ldo6 is in vibrator mode
66 ti,ldo6-vibrator;
/openbmc/linux/arch/arm64/boot/dts/sprd/
H A Dsc2731.dtsi111 vibrator@ec8 {
112 compatible = "sprd,sc2731-vibrator";
/openbmc/linux/arch/arm/boot/dts/qcom/
H A Dqcom-msm8974-lge-nexus5-hammerhead.dts54 vibrator {
55 compatible = "pwm-vibrator";
658 vibrator_pin: vibrator-state {
H A Dqcom-apq8026-huawei-sturgeon.dts77 vibrator@5a {
371 vibrator_default_state: vibrator-default-state {
H A Dqcom-msm8974pro-fairphone-fp2.dts55 vibrator {
56 compatible = "gpio-vibrator";
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Ds5pv210-aries.dtsi64 regulator-name = "vibrator-en";
532 vibrator: pwm-vibrator { label
533 compatible = "pwm-vibrator";
754 vibrator_ena: vibrator-ena-pins {
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Dmotorola-mapphone-common.dtsi156 vibrator {
157 compatible = "pwm-vibrator";
587 vibrator_direction_pin: vibrator-direction-pins {
593 vibrator_enable_pin: vibrator-enable-pins {
/openbmc/linux/arch/arm/boot/dts/st/
H A Dste-ux500-samsung-golden.dts441 vibrator {
442 compatible = "gpio-vibrator";
704 vibrator {

123