Home
last modified time | relevance | path

Searched refs:haptic (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/input/misc/
H A Dmax77693-haptic.c69 static int max77693_haptic_set_duty_cycle(struct max77693_haptic *haptic) in max77693_haptic_set_duty_cycle() argument
74 pwm_init_state(haptic->pwm_dev, &state); in max77693_haptic_set_duty_cycle()
75 state.duty_cycle = (state.period + haptic->pwm_duty) / 2; in max77693_haptic_set_duty_cycle()
77 error = pwm_apply_might_sleep(haptic->pwm_dev, &state); in max77693_haptic_set_duty_cycle()
79 dev_err(haptic->dev, in max77693_haptic_set_duty_cycle()
87 static int max77843_haptic_bias(struct max77693_haptic *haptic, bool on) in max77843_haptic_bias() argument
91 if (haptic->dev_type != TYPE_MAX77843) in max77843_haptic_bias()
94 error = regmap_update_bits(haptic->regmap_haptic, in max77843_haptic_bias()
99 dev_err(haptic->dev, "failed to %s bias: %d\n", in max77843_haptic_bias()
107 static int max77693_haptic_configure(struct max77693_haptic *haptic, in max77693_haptic_configure() argument
[all …]
H A DMakefile59 obj-$(CONFIG_INPUT_MAX77693_HAPTIC) += max77693-haptic.o
77 obj-$(CONFIG_INPUT_REGULATOR_HAPTIC) += regulator-haptic.o
H A DKconfig135 Say Y here if you have an Awinic AW86927 haptic chip.
166 haptic driver.
275 tristate "MAXIM MAX77693/MAX77705/MAX77843 haptic controller support"
279 This option enables support for the haptic controller on
283 module will be called max77693-haptic.
296 tristate "MAXIM MAX8997 haptic controller support"
300 This option enables device driver support for the haptic controller
305 module will be called max8997-haptic.
504 This option enables device driver support for the haptic controlled
509 module will be called regulator-haptic.
[all …]
H A Dmax8997_haptic.c261 chip->client = iodev->haptic; in max8997_haptic_probe()
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-samsung-e2015-common.dtsi6 haptic {
7 compatible = "regulator-haptic";
8 haptic-supply = <&reg_motor_vdd>;
/linux/drivers/hid/
H A Dhid-multitouch.c175 struct hid_haptic_device *haptic; /* haptic related configuration */ member
589 hid_haptic_feature_mapping(hdev, td->haptic, field, usage); in mt_feature_mapping()
947 hid_haptic_check_pressure_unit(td->haptic, in mt_touch_input_mapping()
1071 hid_haptic_pressure_reset(td->haptic); in mt_sync_frame()
1224 hid_haptic_pressure_increase(td->haptic, *slot->p); in mt_process_slot()
1541 ret = hid_haptic_input_mapping(hdev, td->haptic, hi, field, usage, bit, in mt_input_mapping()
1945 if (hid_haptic_input_configured(hdev, td->haptic, hi) == 0) in mt_input_configured()
2119 td->haptic = devm_kzalloc(&hdev->dev, sizeof(*(td->haptic)), GFP_KERNEL); in mt_probe()
2120 if (!td->haptic) in mt_probe()
2123 td->haptic->hdev = hdev; in mt_probe()
[all …]
/linux/Documentation/hid/
H A Dhid-bpf.rst76 example, the Microsoft Surface Dial is a pushbutton with haptic feedback that
80 events into wheel events. Also, the userspace program can set/unset the haptic
82 screen we likely need to have a haptic click every 15 degrees. But when
351 Let's imagine we have a new tablet device that has some haptic capabilities
358 haptic feature of the device itself.
454 To be able to change the haptic feedback from the tablet, the userspace program
520 Now our userspace program is aware of the haptic state and can control it. The
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-msm8226-samsung-ms013g.dts132 compatible = "regulator-haptic";
133 haptic-supply = <&reg_motor_vdd>;
/linux/Documentation/input/
H A Devent-codes.rst391 visual/haptic areas for left, middle, right buttons intended to be used
413 simulated haptic feedback (e.g. a vibrator motor situated below the surface)
414 instead of physical haptic feedback (e.g. a hinge). This property is only set
421 If the simulated haptic feedback is controllable by userspace the device must:
423 - support simple haptic auto and manual triggering, and
428 Win8 and Win8.1, and in addition may support the Simple haptic controller HID
/linux/include/linux/mfd/
H A Dmax8997-private.h373 struct i2c_client *haptic; /* slave addr 0x90 */ member
/linux/arch/arm/boot/dts/samsung/
H A Dexynos4412-midas.dtsi232 compatible = "maxim,max77693-haptic";
233 haptic-supply = <&ldo26_reg>;
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra30-asus-tf201.dts603 haptic-feedback {
H A Dtegra30-asus-tf700t.dts724 haptic-feedback {
H A Dtegra20-acer-a500-picasso.dts1299 haptic-feedback {
H A Dtegra30-pegatron-chagall.dts2723 haptic-feedback {
H A Dtegra124-xiaomi-mocha.dts1134 haptic-engine@5a {
/linux/sound/soc/codecs/
H A DKconfig980 CS40L50 is a haptic driver with waveform memory, an integrated