Home
last modified time | relevance | path

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

/linux/drivers/input/misc/
A Dda7280.c321 return regmap_bulk_write(haptics->regmap, val, haptics->snp_mem, in da7280_haptic_mem_update()
372 if (haptics->acc_en && haptics->level > 0x7F) in da7280_haptic_activate()
409 dev_err(haptics->dev, "Invalid op mode %d\n", haptics->op_mode); in da7280_haptic_activate()
486 dev_err(haptics->dev, "Invalid op mode %d\n", haptics->op_mode); in da7280_haptic_deactivate()
522 haptics->op_mode = haptics->const_op_mode; in da7280_haptics_upload_effect()
603 haptics->op_mode = haptics->periodic_op_mode; in da7280_haptics_upload_effect()
635 haptics->op_mode = haptics->periodic_op_mode; in da7280_haptics_upload_effect()
875 haptics->acc_en = in da7280_parse_properties()
1070 v2i_factor = haptics->impd * (haptics->imax + 4) / 1610400; in da7280_init()
1158 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()
342 haptics = devm_kzalloc(&client->dev, sizeof(*haptics), GFP_KERNEL); in drv2667_probe()
343 if (!haptics) in drv2667_probe()
355 if (!haptics->input_dev) { in drv2667_probe()
363 input_set_drvdata(haptics->input_dev, haptics); in drv2667_probe()
[all …]
A Ddrv260x.c283 haptics->magnitude = 0; in drv260x_haptics_play()
285 schedule_work(&haptics->work); in drv260x_haptics_play()
367 switch (haptics->mode) { in drv260x_init()
394 haptics->library); in drv260x_init()
417 haptics->library); in drv260x_init()
464 struct drv260x_data *haptics; in drv260x_probe() local
468 haptics = devm_kzalloc(dev, sizeof(*haptics), GFP_KERNEL); in drv260x_probe()
469 if (!haptics) in drv260x_probe()
532 if (!haptics->input_dev) { in drv260x_probe()
539 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()
162 struct drv2665_data *haptics; in drv2665_probe() local
165 haptics = devm_kzalloc(&client->dev, sizeof(*haptics), GFP_KERNEL); in drv2665_probe()
166 if (!haptics) in drv2665_probe()
178 if (!haptics->input_dev) { in drv2665_probe()
186 input_set_drvdata(haptics->input_dev, haptics); in drv2665_probe()
199 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 DKconfig88 tristate "Arizona haptics support"
95 module will be called arizona-haptics.
440 tristate "Regulator haptics support"
623 tristate "Dialog Semiconductor DA7280 haptics support"
628 The haptics can be controlled by PWM or GPIO
823 tristate "TI DRV260X haptics support"
832 module will be called drv260x-haptics.
835 tristate "TI DRV2665 haptics support"
843 module will be called drv2665-haptics.
846 tristate "TI DRV2667 haptics support"
[all …]
A DMakefile19 obj-$(CONFIG_INPUT_ARIZONA_HAPTICS) += arizona-haptics.o
/linux/Documentation/devicetree/bindings/input/
A Dti,drv2665.txt10 haptics: haptics@59 {
A Dti,drv2667.txt10 haptics: haptics@59 {
A Dti,drv260x.txt38 haptics: haptics@5a {
A Dregulator-haptic.yaml38 haptics {
A Ddlg,da7280.txt81 haptics: da7280-haptics@4a {
/linux/arch/arm/boot/dts/
A Dsun4i-a10-dserve-dsrv9703c.dts72 haptics {
A Dexynos3250-monk.dts113 haptics {
A Dexynos3250-rinato.dts114 haptics {
/linux/arch/arm64/boot/dts/qcom/
A Dmsm8996-xiaomi-gemini.dts39 haptics: drv2604@5a { label

Completed in 707 milliseconds