| /linux/drivers/input/misc/ |
| H A D | max77693-haptic.c | 69 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 D | max8997_haptic.c | 261 chip->client = iodev->haptic; in max8997_haptic_probe()
|
| /linux/drivers/hid/ |
| H A D | hid-haptic.c | 14 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 D | hid-multitouch.c | 175 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 D | msm8916-samsung-e2015-common.dtsi | 6 haptic { 7 compatible = "regulator-haptic"; 8 haptic-supply = <®_motor_vdd>;
|
| H A D | msm8916-samsung-fortuna-common.dtsi | 81 haptic { 82 compatible = "regulator-haptic"; 83 haptic-supply = <®_motor_vdd>;
|
| /linux/Documentation/hid/ |
| H A D | hid-bpf.rst | 76 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 D | qcom-msm8226-samsung-ms013g.dts | 132 compatible = "regulator-haptic"; 133 haptic-supply = <®_motor_vdd>;
|
| /linux/Documentation/input/ |
| H A D | event-codes.rst | 391 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 D | exynos7870-j6lte.dts | 117 compatible = "regulator-haptic"; 118 haptic-supply = <&vdd_ldo32>; 349 /* vibrator: haptic */
|
| H A D | exynos7870-a2corelte.dts | 108 compatible = "regulator-haptic"; 109 haptic-supply = <&vdd_ldo32>; 359 /* vibrator: haptic */
|
| H A D | exynos7870-on7xelte.dts | 106 compatible = "regulator-haptic"; 107 haptic-supply = <&vdd_ldo32>; 363 /* vibrator: haptic */
|
| H A D | exynos5433-tm2-common.dtsi | 929 haptic: motor-driver { label 930 compatible = "maxim,max77843-haptic"; 931 haptic-supply = <&ldo38_reg>;
|
| /linux/include/linux/mfd/ |
| H A D | max8997-private.h | 373 struct i2c_client *haptic; /* slave addr 0x90 */ member
|
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | exynos3250-monk.dts | 115 compatible = "regulator-haptic"; 116 haptic-supply = <&motor_reg>;
|
| H A D | exynos3250-rinato.dts | 117 compatible = "regulator-haptic"; 118 haptic-supply = <&motor_reg>;
|
| H A D | exynos4412-midas.dtsi | 232 compatible = "maxim,max77693-haptic"; 233 haptic-supply = <&ldo26_reg>;
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra30-asus-tf201.dts | 603 haptic-feedback {
|
| H A D | tegra30-lg-x3.dtsi | 762 haptic-en { 769 haptic-osc {
|
| H A D | tegra30-asus-tf700t.dts | 724 haptic-feedback {
|
| H A D | tegra20-acer-a500-picasso.dts | 1299 haptic-feedback {
|
| H A D | tegra30-asus-tf600t.dts | 2255 haptic-feedback {
|
| H A D | tegra30-pegatron-chagall.dts | 2723 haptic-feedback {
|
| H A D | tegra124-xiaomi-mocha.dts | 1134 haptic-engine@5a {
|
| /linux/sound/soc/codecs/ |
| H A D | Kconfig | 965 CS40L50 is a haptic driver with waveform memory, an integrated
|