Searched refs:haptics (Results 1 – 13 of 13) sorted by relevance
| /Linux-v4.19/drivers/input/misc/ |
| D | drv2667.c | 135 static int drv2667_set_waveform_freq(struct drv2667_data *haptics) in drv2667_set_waveform_freq() argument 144 freq = (haptics->frequency * 1000) / 78125; in drv2667_set_waveform_freq() 146 dev_err(&haptics->client->dev, in drv2667_set_waveform_freq() 151 error = regmap_read(haptics->regmap, DRV2667_PAGE, &read_buf); in drv2667_set_waveform_freq() 153 dev_err(&haptics->client->dev, in drv2667_set_waveform_freq() 159 haptics->page != read_buf) { in drv2667_set_waveform_freq() 160 error = regmap_write(haptics->regmap, in drv2667_set_waveform_freq() 161 DRV2667_PAGE, haptics->page); in drv2667_set_waveform_freq() 163 dev_err(&haptics->client->dev, in drv2667_set_waveform_freq() 169 error = regmap_write(haptics->regmap, DRV2667_RAM_FREQ, freq); in drv2667_set_waveform_freq() [all …]
|
| D | drv260x.c | 258 struct drv260x_data *haptics = container_of(work, struct drv260x_data, work); in drv260x_worker() local 261 gpiod_set_value(haptics->enable_gpio, 1); in drv260x_worker() 265 error = regmap_write(haptics->regmap, in drv260x_worker() 268 dev_err(&haptics->client->dev, in drv260x_worker() 271 error = regmap_write(haptics->regmap, in drv260x_worker() 272 DRV260X_RT_PB_IN, haptics->magnitude); in drv260x_worker() 274 dev_err(&haptics->client->dev, in drv260x_worker() 282 struct drv260x_data *haptics = input_get_drvdata(input); in drv260x_haptics_play() local 284 haptics->mode = DRV260X_LRA_NO_CAL_MODE; in drv260x_haptics_play() 287 haptics->magnitude = effect->u.rumble.strong_magnitude; in drv260x_haptics_play() [all …]
|
| D | drv2665.c | 86 struct drv2665_data *haptics = in drv2665_worker() local 91 error = regmap_read(haptics->regmap, DRV2665_STATUS, &read_buf); in drv2665_worker() 93 dev_err(&haptics->client->dev, in drv2665_worker() 99 error = regmap_bulk_write(haptics->regmap, in drv2665_worker() 104 dev_err(&haptics->client->dev, in drv2665_worker() 114 struct drv2665_data *haptics = input_get_drvdata(input); in drv2665_haptics_play() local 116 schedule_work(&haptics->work); in drv2665_haptics_play() 123 struct drv2665_data *haptics = input_get_drvdata(input); in drv2665_close() local 126 cancel_work_sync(&haptics->work); in drv2665_close() 128 error = regmap_update_bits(haptics->regmap, DRV2665_CTRL_2, in drv2665_close() [all …]
|
| D | arizona-haptics.c | 36 struct arizona_haptics *haptics = container_of(work, in arizona_haptics_work() local 39 struct arizona *arizona = haptics->arizona; in arizona_haptics_work() 44 if (!haptics->arizona->dapm) { in arizona_haptics_work() 49 if (haptics->intensity) { in arizona_haptics_work() 53 haptics->intensity); in arizona_haptics_work() 114 struct arizona_haptics *haptics = input_get_drvdata(input); in arizona_haptics_play() local 115 struct arizona *arizona = haptics->arizona; in arizona_haptics_play() 125 haptics->intensity = in arizona_haptics_play() 128 haptics->intensity += 0x7f; in arizona_haptics_play() 130 haptics->intensity = in arizona_haptics_play() [all …]
|
| D | Kconfig | 76 tristate "Arizona haptics support" 80 Say Y to enable support for the haptics module in Arizona CODECs. 83 module will be called arizona-haptics. 432 tristate "Regulator haptics support" 793 tristate "TI DRV260X haptics support" 799 Say Y to enable support for the TI DRV260X haptics driver. 802 module will be called drv260x-haptics. 805 tristate "TI DRV2665 haptics support" 810 Say Y to enable support for the TI DRV2665 haptics driver. 813 module will be called drv2665-haptics. [all …]
|
| D | Makefile | 18 obj-$(CONFIG_INPUT_ARIZONA_HAPTICS) += arizona-haptics.o
|
| /Linux-v4.19/Documentation/devicetree/bindings/input/ |
| D | ti,drv2665.txt | 10 haptics: haptics@59 {
|
| D | ti,drv2667.txt | 10 haptics: haptics@59 {
|
| D | ti,drv260x.txt | 38 haptics: haptics@5a {
|
| D | regulator-haptic.txt | 16 haptics {
|
| /Linux-v4.19/arch/arm/boot/dts/ |
| D | sun4i-a10-dserve-dsrv9703c.dts | 71 haptics {
|
| D | exynos3250-monk.dts | 112 haptics {
|
| D | exynos3250-rinato.dts | 107 haptics {
|