/Linux-v5.10/drivers/input/misc/ |
D | pwm-vibra.c | 3 * PWM vibrator driver 36 static int pwm_vibrator_start(struct pwm_vibrator *vibrator) in pwm_vibrator_start() argument 38 struct device *pdev = vibrator->input->dev.parent; in pwm_vibrator_start() 42 if (!vibrator->vcc_on) { in pwm_vibrator_start() 43 err = regulator_enable(vibrator->vcc); in pwm_vibrator_start() 48 vibrator->vcc_on = true; in pwm_vibrator_start() 51 pwm_get_state(vibrator->pwm, &state); in pwm_vibrator_start() 52 pwm_set_relative_duty_cycle(&state, vibrator->level, 0xffff); in pwm_vibrator_start() 55 err = pwm_apply_state(vibrator->pwm, &state); in pwm_vibrator_start() 61 if (vibrator->pwm_dir) { in pwm_vibrator_start() [all …]
|
D | gpio-vibra.c | 3 * GPIO vibrator driver 7 * Based on PWM vibrator driver: 37 static int gpio_vibrator_start(struct gpio_vibrator *vibrator) in gpio_vibrator_start() argument 39 struct device *pdev = vibrator->input->dev.parent; in gpio_vibrator_start() 42 if (!vibrator->vcc_on) { in gpio_vibrator_start() 43 err = regulator_enable(vibrator->vcc); in gpio_vibrator_start() 48 vibrator->vcc_on = true; in gpio_vibrator_start() 51 gpiod_set_value_cansleep(vibrator->gpio, 1); in gpio_vibrator_start() 56 static void gpio_vibrator_stop(struct gpio_vibrator *vibrator) in gpio_vibrator_stop() argument 58 gpiod_set_value_cansleep(vibrator->gpio, 0); in gpio_vibrator_stop() [all …]
|
D | sc27xx-vibra.c | 89 dev_err(&pdev->dev, "failed to get vibrator regmap.\n"); in sc27xx_vibra_probe() 95 dev_err(&pdev->dev, "failed to get vibrator base address.\n"); in sc27xx_vibra_probe() 105 info->input_dev->name = "sc27xx:vibrator"; in sc27xx_vibra_probe() 116 dev_err(&pdev->dev, "failed to initialize the vibrator.\n"); in sc27xx_vibra_probe() 123 dev_err(&pdev->dev, "failed to register vibrator to FF.\n"); in sc27xx_vibra_probe() 137 { .compatible = "sprd,sc2731-vibrator", }, 144 .name = "sc27xx-vibrator", 152 MODULE_DESCRIPTION("Spreadtrum SC27xx Vibrator Driver");
|
D | pm8xxx-vibrator.c | 48 * struct pm8xxx_vib - structure to hold vibrator data 54 * @active: state of vibrator 71 * @vib: pointer to vibrator structure 114 * pmic vibrator supports voltage ranges from 1.2 to 3.1V, so in pm8xxx_work_handler() 134 * Turns off the vibrator. 215 "couldn't register vibrator as FF device\n"); in pm8xxx_vib_probe() 233 /* Turn off the vibrator */ in pm8xxx_vib_suspend() 260 MODULE_DESCRIPTION("PMIC8xxx vibrator driver based on ff-memless framework");
|
D | Kconfig | 145 tristate "Qualcomm PM8XXX vibrator support" 149 This option enables device driver support for the vibrator 154 module will be called pm8xxx-vibrator. 279 tristate "GPIO vibrator support" 283 Say Y here to get support for GPIO based vibrator devices. 483 tristate "Support for TWL4030 Vibrator" 488 This option enables support for TWL4030 Vibrator Driver. 494 tristate "Support for TWL6040 Vibrator" 498 This option enables support for TWL6040 Vibrator Driver. 568 tristate "PWM vibrator support" [all …]
|
D | twl6040-vibra.c | 3 * twl6040-vibra.c - TWL6040 Vibrator driver 61 dev_warn(info->dev, "Left Vibrator overcurrent detected\n"); in twl6040_vib_irq_handler() 66 dev_warn(info->dev, "Right Vibrator overcurrent detected\n"); in twl6040_vib_irq_handler() 89 * 3ms when enabling vibrator drivers to avoid false in twl6040_vibra_enable() 331 info->input_dev->name = "twl6040:vibrator"; in twl6040_vibra_probe() 338 dev_err(info->dev, "couldn't register vibrator to FF\n"); in twl6040_vibra_probe()
|
D | twl4030-vibra.c | 3 * twl4030-vibra.c - TWL4030 Vibrator driver 211 info->input_dev->name = "twl4030:vibrator"; in twl4030_vibra_probe() 218 dev_dbg(&pdev->dev, "couldn't register vibrator to FF\n"); in twl4030_vibra_probe()
|
/Linux-v5.10/Documentation/devicetree/bindings/input/ |
D | gpio-vibrator.yaml | 4 $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";
|
D | sprd,sc27xx-vibra.txt | 1 Spreadtrum SC27xx PMIC Vibrator 4 - compatible: should be "sprd,sc2731-vibrator". 5 - reg: address of vibrator control register. 19 vibrator@eb4 { 20 compatible = "sprd,sc2731-vibrator";
|
D | pwm-vibrator.txt | 1 * PWM vibrator device tree bindings 3 Registers a PWM device as vibrator. It is expected, that the vibrator's 12 - compatible: should contain "pwm-vibrator" 59 vibrator { 60 compatible = "pwm-vibrator";
|
D | qcom,pm8xxx-vib.txt | 1 Qualcomm PM8xxx PMIC Vibrator 20 vibrator@4a {
|
D | ti,drv260x.txt | 15 DRV260X_ERM_MODE - Eccentric Rotating Mass mode (Rotary vibrator)
|
/Linux-v5.10/drivers/staging/greybus/ |
D | vibrator.c | 3 * Greybus Vibrator protocol driver. 21 int minor; /* vibrator minor number */ 25 /* Greybus Vibrator operation types */ 51 /* Vibrator was switched ON earlier */ in turn_on() 106 ATTRIBUTE_GROUPS(vibrator); 109 .name = "vibrator", 153 * For now we create a device in sysfs for the vibrator, but odds are in gb_vibrator_probe() 163 MKDEV(0, 0), vib, "vibrator%d", vib->minor); in gb_vibrator_probe() 214 .name = "vibrator",
|
D | Makefile | 16 gb-vibrator-y := vibrator.o 27 obj-$(CONFIG_GREYBUS_VIBRATOR) += gb-vibrator.o
|
D | Kconfig | 113 tristate "Greybus Vibrator Motor Class driver" 116 Greybus Vibrator Motor Class specification. 119 will be called gb-vibrator.ko
|
/Linux-v5.10/Documentation/devicetree/bindings/sound/ |
D | omap-abe-twl6040.txt | 25 * Vibrator 79 "Vibrator", "VIBRAL", 80 "Vibrator", "VIBRAR",
|
/Linux-v5.10/Documentation/devicetree/bindings/regulator/ |
D | palmas-pmic.txt | 26 - ti,ldo6-vibrator : ldo6 is in vibrator mode 66 ti,ldo6-vibrator;
|
/Linux-v5.10/drivers/usb/misc/ |
D | trancevibrator.c | 3 * PlayStation 2 Trance Vibrator driver 16 #define DRIVER_DESC "PlayStation 2 Trance Vibrator driver" 19 #define TRANCEVIBRATOR_PRODUCT_ID 0x064f /* Trance Vibrator */
|
D | Kconfig | 162 tristate "PlayStation 2 Trance Vibrator driver support" 164 Say Y here if you want to connect a PlayStation 2 Trance Vibrator
|
/Linux-v5.10/include/linux/mfd/ |
D | lp8788.h | 24 #define LP8788_DEV_VIBRATOR "lp8788-vibrator" 250 * @name : vibrator driver name 277 * @vib_pdata : configurable data for vibrator driver
|
/Linux-v5.10/sound/soc/ti/ |
D | omap-abe-twl6040.c | 125 SND_SOC_DAPM_SPK("Vibrator", NULL), 150 {"Vibrator", NULL, "VIBRAL"}, 151 {"Vibrator", NULL, "VIBRAR"},
|
/Linux-v5.10/drivers/mfd/ |
D | lp8788.c | 115 /* current sink for vibrator */ 116 MFD_DEV_SIMPLE(VIBRATOR),
|
/Linux-v5.10/include/linux/ |
D | leds-regulator.h | 23 * .name = "a780::vibrator",
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | s5pv210-aries.dtsi | 64 regulator-name = "vibrator-en"; 532 vibrator: pwm-vibrator { label 533 compatible = "pwm-vibrator"; 756 vibrator_ena: vibrator-ena {
|
/Linux-v5.10/arch/arm64/boot/dts/sprd/ |
D | sc2731.dtsi | 111 vibrator@ec8 { 112 compatible = "sprd,sc2731-vibrator";
|