Home
last modified time | relevance | path

Searched refs:haptics (Results 1 – 9 of 9) sorted by relevance

/drivers/input/misc/
A Dda7280.c320 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 …]
A Ddrv2667.c153 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 …]
A Ddrv260x.c246 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 …]
A Ddrv2665.c78 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 …]
A Darizona-haptics.c41 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 …]
A DKconfig95 tristate "Arizona haptics support"
102 module will be called arizona-haptics.
468 tristate "Regulator haptics support"
654 tristate "Dialog Semiconductor DA7280 haptics support"
659 The haptics can be controlled by PWM or GPIO
871 tristate "TI DRV260X haptics support"
880 module will be called drv260x-haptics.
883 tristate "TI DRV2665 haptics support"
891 module will be called drv2665-haptics.
894 tristate "TI DRV2667 haptics support"
[all …]
A DMakefile20 obj-$(CONFIG_INPUT_ARIZONA_HAPTICS) += arizona-haptics.o
/drivers/hid/
A Dhid-nvidia-shield.c179 } 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 …]
A DKconfig866 NVIDIA SHIELD accessories with haptics capabilities.

Completed in 38 milliseconds