| /linux-6.15/drivers/input/misc/ |
| H A D | da7280.c | 320 return regmap_bulk_write(haptics->regmap, val, haptics->snp_mem, in da7280_haptic_mem_update() 371 if (haptics->acc_en && haptics->level > 0x7F) in da7280_haptic_activate() 408 dev_err(haptics->dev, "Invalid op mode %d\n", haptics->op_mode); in da7280_haptic_activate() 485 dev_err(haptics->dev, "Invalid op mode %d\n", haptics->op_mode); in da7280_haptic_deactivate() 521 haptics->op_mode = haptics->const_op_mode; in da7280_haptics_upload_effect() 602 haptics->op_mode = haptics->periodic_op_mode; in da7280_haptics_upload_effect() 634 haptics->op_mode = haptics->periodic_op_mode; in da7280_haptics_upload_effect() 874 haptics->acc_en = in da7280_parse_properties() 1069 v2i_factor = haptics->impd * (haptics->imax + 4) / 1610400; in da7280_init() 1156 haptics = devm_kzalloc(dev, sizeof(*haptics), GFP_KERNEL); in da7280_probe() [all …]
|
| H A D | drv2667.c | 153 haptics->page != read_buf) { in drv2667_set_waveform_freq() 187 if (haptics->magnitude) { in drv2667_worker() 197 haptics->magnitude); in drv2667_worker() 238 haptics->magnitude = 0; in drv2667_haptics_play() 283 haptics->frequency = 195; in drv2667_init() 296 error = regmap_write(haptics->regmap, DRV2667_PAGE, haptics->page); in drv2667_init() 341 haptics = devm_kzalloc(&client->dev, sizeof(*haptics), GFP_KERNEL); in drv2667_probe() 342 if (!haptics) in drv2667_probe() 354 if (!haptics->input_dev) { in drv2667_probe() 362 input_set_drvdata(haptics->input_dev, haptics); in drv2667_probe() [all …]
|
| H A D | drv260x.c | 246 haptics->magnitude = 0; in drv260x_haptics_play() 248 schedule_work(&haptics->work); in drv260x_haptics_play() 330 switch (haptics->mode) { in drv260x_init() 357 haptics->library); in drv260x_init() 380 haptics->library); in drv260x_init() 425 struct drv260x_data *haptics; in drv260x_probe() local 429 haptics = devm_kzalloc(dev, sizeof(*haptics), GFP_KERNEL); in drv260x_probe() 430 if (!haptics) in drv260x_probe() 493 if (!haptics->input_dev) { in drv260x_probe() 500 input_set_drvdata(haptics->input_dev, haptics); in drv260x_probe() [all …]
|
| H A D | drv2665.c | 78 struct drv2665_data *haptics = in drv2665_worker() local 85 dev_err(&haptics->client->dev, in drv2665_worker() 108 schedule_work(&haptics->work); in drv2665_haptics_play() 123 dev_err(&haptics->client->dev, in drv2665_close() 161 struct drv2665_data *haptics; in drv2665_probe() local 164 haptics = devm_kzalloc(&client->dev, sizeof(*haptics), GFP_KERNEL); in drv2665_probe() 165 if (!haptics) in drv2665_probe() 177 if (!haptics->input_dev) { in drv2665_probe() 185 input_set_drvdata(haptics->input_dev, haptics); in drv2665_probe() 198 haptics->client = client; in drv2665_probe() [all …]
|
| H A D | arizona-haptics.c | 41 if (!haptics->arizona->dapm) { in arizona_haptics_work() 46 if (haptics->intensity) { in arizona_haptics_work() 50 haptics->intensity); in arizona_haptics_work() 122 haptics->intensity = in arizona_haptics_play() 127 haptics->intensity = in arizona_haptics_play() 131 haptics->intensity = 0; in arizona_haptics_play() 158 haptics = devm_kzalloc(&pdev->dev, sizeof(*haptics), GFP_KERNEL); in arizona_haptics_probe() 159 if (!haptics) in arizona_haptics_probe() 162 haptics->arizona = arizona; in arizona_haptics_probe() 175 if (!haptics->input_dev) { in arizona_haptics_probe() [all …]
|
| H A D | Kconfig | 95 tristate "Arizona haptics support" 102 module will be called arizona-haptics. 468 tristate "Regulator haptics support" 661 tristate "Dialog Semiconductor DA7280 haptics support" 666 The haptics can be controlled by PWM or GPIO 878 tristate "TI DRV260X haptics support" 887 module will be called drv260x-haptics. 890 tristate "TI DRV2665 haptics support" 898 module will be called drv2665-haptics. 901 tristate "TI DRV2667 haptics support" [all …]
|
| H A D | Makefile | 20 obj-$(CONFIG_INPUT_ARIZONA_HAPTICS) += arizona-haptics.o
|
| /linux-6.15/drivers/hid/ |
| H A D | hid-nvidia-shield.c | 179 } haptics; member 275 struct input_dev *haptics; in shield_haptics_create() local 282 if (IS_ERR(haptics)) in shield_haptics_create() 283 return haptics; in shield_haptics_create() 285 input_set_capability(haptics, EV_FF, FF_RUMBLE); in shield_haptics_create() 290 ret = input_register_device(haptics); in shield_haptics_create() 294 return haptics; in shield_haptics_create() 297 input_free_device(haptics); in shield_haptics_create() 361 report->haptics.update = 1; in thunderstrike_hostcmd_req_work_handler() 363 report->haptics.motors = ts->haptics_val; in thunderstrike_hostcmd_req_work_handler() [all …]
|
| H A D | Kconfig | 863 NVIDIA SHIELD accessories with haptics capabilities.
|
| /linux-6.15/Documentation/devicetree/bindings/input/ |
| H A D | regulator-haptic.yaml | 38 haptics {
|
| H A D | ti,drv266x.yaml | 45 haptics@59 {
|
| H A D | dlg,da7280.txt | 81 haptics: da7280-haptics@4a {
|
| H A D | ti,drv260x.yaml | 99 haptics@5a {
|
| /linux-6.15/arch/arm/boot/dts/allwinner/ |
| H A D | sun4i-a10-dserve-dsrv9703c.dts | 72 haptics {
|
| /linux-6.15/arch/arm64/boot/dts/qcom/ |
| H A D | msm8996-xiaomi-gemini.dts | 39 haptics: drv2604@5a { label
|
| H A D | sm8550-sony-xperia-yodo-pdx234.dts | 552 /* Cirrus Logic CS40L25A boosted haptics driver @ 40 */
|
| H A D | sm8450-sony-xperia-nagara.dtsi | 615 /* Cirrus Logic CS40L25A boosted haptics driver @ 40 */
|
| H A D | sm8350-sony-xperia-sagami.dtsi | 552 /* Cirrus Logic CS40L25A boosted haptics driver @ 40 */
|
| H A D | qcm6490-shift-otter.dts | 555 /* Ti drv2624 haptics @ 5a */
|
| H A D | qcm6490-fairphone-fp5.dts | 706 /* AW86927FCR haptics @ 5a */
|
| /linux-6.15/arch/arm/boot/dts/samsung/ |
| H A D | exynos3250-monk.dts | 114 haptics {
|
| H A D | exynos3250-rinato.dts | 116 haptics {
|