Home
last modified time | relevance | path

Searched refs:haptic (Results 1 – 25 of 25) 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 Dmax8997_haptic.c261 chip->client = iodev->haptic; in max8997_haptic_probe()
/linux/drivers/hid/
H A Dhid-haptic.c14 struct hid_haptic_device *haptic, in hid_haptic_feature_mapping() argument
30 haptic->default_auto_trigger = in hid_haptic_feature_mapping()
32 haptic->auto_trigger_report = field->report; in hid_haptic_feature_mapping()
37 if (usage_hid > haptic->max_waveform_id) in hid_haptic_feature_mapping()
38 haptic->max_waveform_id = usage_hid; in hid_haptic_feature_mapping()
41 if (usage_hid > haptic->max_duration_id) in hid_haptic_feature_mapping()
42 haptic->max_duration_id = usage_hid; in hid_haptic_feature_mapping()
51 bool hid_haptic_check_pressure_unit(struct hid_haptic_device *haptic, in hid_haptic_check_pressure_unit() argument
55 haptic->force_logical_minimum = field->logical_minimum; in hid_haptic_check_pressure_unit()
56 haptic->force_physical_minimum = field->physical_minimum; in hid_haptic_check_pressure_unit()
[all …]
H A Dhid-multitouch.c175 struct hid_haptic_device *haptic; /* haptic related configuration */ member
587 hid_haptic_feature_mapping(hdev, td->haptic, field, usage); in mt_feature_mapping()
945 hid_haptic_check_pressure_unit(td->haptic, in mt_touch_input_mapping()
1069 hid_haptic_pressure_reset(td->haptic); in mt_sync_frame()
1222 hid_haptic_pressure_increase(td->haptic, *slot->p); in mt_process_slot()
1530 ret = hid_haptic_input_mapping(hdev, td->haptic, hi, field, usage, bit, in mt_input_mapping()
1792 if (hid_haptic_input_configured(hdev, td->haptic, hi) == 0) in mt_input_configured()
1966 td->haptic = devm_kzalloc(&hdev->dev, sizeof(*(td->haptic)), GFP_KERNEL); in mt_probe()
1967 if (!td->haptic) in mt_probe()
1970 td->haptic->hdev = hdev; in mt_probe()
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-samsung-e2015-common.dtsi6 haptic {
7 compatible = "regulator-haptic";
8 haptic-supply = <&reg_motor_vdd>;
H A Dmsm8916-samsung-fortuna-common.dtsi81 haptic {
82 compatible = "regulator-haptic";
83 haptic-supply = <&reg_motor_vdd>;
/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/arch/arm64/boot/dts/exynos/
H A Dexynos7870-j6lte.dts117 compatible = "regulator-haptic";
118 haptic-supply = <&vdd_ldo32>;
349 /* vibrator: haptic */
H A Dexynos7870-a2corelte.dts108 compatible = "regulator-haptic";
109 haptic-supply = <&vdd_ldo32>;
359 /* vibrator: haptic */
H A Dexynos7870-on7xelte.dts106 compatible = "regulator-haptic";
107 haptic-supply = <&vdd_ldo32>;
363 /* vibrator: haptic */
H A Dexynos5433-tm2-common.dtsi929 haptic: motor-driver { label
930 compatible = "maxim,max77843-haptic";
931 haptic-supply = <&ldo38_reg>;
/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 Dexynos3250-monk.dts115 compatible = "regulator-haptic";
116 haptic-supply = <&motor_reg>;
H A Dexynos3250-rinato.dts117 compatible = "regulator-haptic";
118 haptic-supply = <&motor_reg>;
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-lg-x3.dtsi762 haptic-en {
769 haptic-osc {
H A Dtegra30-asus-tf700t.dts724 haptic-feedback {
H A Dtegra20-acer-a500-picasso.dts1299 haptic-feedback {
H A Dtegra30-asus-tf600t.dts2255 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 DKconfig965 CS40L50 is a haptic driver with waveform memory, an integrated