| /kernel/linux/linux-6.6/drivers/input/misc/ |
| D | da7280.c | 284 static int da7280_haptic_mem_update(struct da7280_haptic *haptics) in da7280_haptic_mem_update() argument 290 error = regmap_read(haptics->regmap, DA7280_IRQ_STATUS1, &val); in da7280_haptic_mem_update() 294 dev_warn(haptics->dev, in da7280_haptic_mem_update() 301 error = regmap_read(haptics->regmap, DA7280_MEM_CTL2, &val); in da7280_haptic_mem_update() 305 dev_warn(haptics->dev, "Please unlock the bit first\n"); in da7280_haptic_mem_update() 310 error = regmap_update_bits(haptics->regmap, in da7280_haptic_mem_update() 317 error = regmap_read(haptics->regmap, DA7280_MEM_CTL1, &val); in da7280_haptic_mem_update() 321 return regmap_bulk_write(haptics->regmap, val, haptics->snp_mem, in da7280_haptic_mem_update() 325 static int da7280_haptic_set_pwm(struct da7280_haptic *haptics, bool enabled) in da7280_haptic_set_pwm() argument 331 if (!haptics->gain && enabled) { in da7280_haptic_set_pwm() [all …]
|
| D | drv2667.c | 3 * DRV2667 haptics driver family 129 static int drv2667_set_waveform_freq(struct drv2667_data *haptics) in drv2667_set_waveform_freq() argument 138 freq = (haptics->frequency * 1000) / 78125; in drv2667_set_waveform_freq() 140 dev_err(&haptics->client->dev, in drv2667_set_waveform_freq() 145 error = regmap_read(haptics->regmap, DRV2667_PAGE, &read_buf); in drv2667_set_waveform_freq() 147 dev_err(&haptics->client->dev, in drv2667_set_waveform_freq() 153 haptics->page != read_buf) { in drv2667_set_waveform_freq() 154 error = regmap_write(haptics->regmap, in drv2667_set_waveform_freq() 155 DRV2667_PAGE, haptics->page); in drv2667_set_waveform_freq() 157 dev_err(&haptics->client->dev, in drv2667_set_waveform_freq() [all …]
|
| D | drv260x.c | 3 * DRV260X haptics driver family 85 /* Audio to Haptics Control */ 212 struct drv260x_data *haptics = container_of(work, struct drv260x_data, work); in drv260x_worker() local 215 gpiod_set_value(haptics->enable_gpio, 1); in drv260x_worker() 219 error = regmap_write(haptics->regmap, in drv260x_worker() 222 dev_err(&haptics->client->dev, in drv260x_worker() 225 error = regmap_write(haptics->regmap, in drv260x_worker() 226 DRV260X_RT_PB_IN, haptics->magnitude); in drv260x_worker() 228 dev_err(&haptics->client->dev, in drv260x_worker() 236 struct drv260x_data *haptics = input_get_drvdata(input); in drv260x_haptics_play() local [all …]
|
| D | drv2665.c | 3 * DRV2665 haptics driver family 78 struct drv2665_data *haptics = in drv2665_worker() local 83 error = regmap_read(haptics->regmap, DRV2665_STATUS, &read_buf); in drv2665_worker() 85 dev_err(&haptics->client->dev, in drv2665_worker() 91 error = regmap_bulk_write(haptics->regmap, in drv2665_worker() 96 dev_err(&haptics->client->dev, in drv2665_worker() 106 struct drv2665_data *haptics = input_get_drvdata(input); in drv2665_haptics_play() local 108 schedule_work(&haptics->work); in drv2665_haptics_play() 115 struct drv2665_data *haptics = input_get_drvdata(input); in drv2665_close() local 118 cancel_work_sync(&haptics->work); in drv2665_close() [all …]
|
| D | arizona-haptics.c | 3 * Arizona haptics driver 33 struct arizona_haptics *haptics = container_of(work, in arizona_haptics_work() local 36 struct arizona *arizona = haptics->arizona; in arizona_haptics_work() 41 if (!haptics->arizona->dapm) { in arizona_haptics_work() 46 if (haptics->intensity) { in arizona_haptics_work() 50 haptics->intensity); in arizona_haptics_work() 63 dev_err(arizona->dev, "Failed to start haptics: %d\n", in arizona_haptics_work() 68 ret = snd_soc_component_enable_pin(component, "HAPTICS"); in arizona_haptics_work() 70 dev_err(arizona->dev, "Failed to start HAPTICS: %d\n", in arizona_haptics_work() 83 ret = snd_soc_component_disable_pin(component, "HAPTICS"); in arizona_haptics_work() [all …]
|
| D | Kconfig | 88 tristate "Arizona haptics support" 92 Say Y to enable support for the haptics module in Arizona CODECs. 95 module will be called arizona-haptics. 451 tristate "Regulator haptics support" 644 tristate "Dialog Semiconductor DA7280 haptics support" 648 Say Y to enable support for the Dialog DA7280 haptics driver. 649 The haptics can be controlled by PWM or GPIO 861 tristate "TI DRV260X haptics support" 867 Say Y to enable support for the TI DRV260X haptics driver. 870 module will be called drv260x-haptics. [all …]
|
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| D | drv2667.c | 3 * DRV2667 haptics driver family 127 static int drv2667_set_waveform_freq(struct drv2667_data *haptics) in drv2667_set_waveform_freq() argument 136 freq = (haptics->frequency * 1000) / 78125; in drv2667_set_waveform_freq() 138 dev_err(&haptics->client->dev, in drv2667_set_waveform_freq() 143 error = regmap_read(haptics->regmap, DRV2667_PAGE, &read_buf); in drv2667_set_waveform_freq() 145 dev_err(&haptics->client->dev, in drv2667_set_waveform_freq() 151 haptics->page != read_buf) { in drv2667_set_waveform_freq() 152 error = regmap_write(haptics->regmap, in drv2667_set_waveform_freq() 153 DRV2667_PAGE, haptics->page); in drv2667_set_waveform_freq() 155 dev_err(&haptics->client->dev, in drv2667_set_waveform_freq() [all …]
|
| D | drv260x.c | 3 * DRV260X haptics driver family 85 /* Audio to Haptics Control */ 250 struct drv260x_data *haptics = container_of(work, struct drv260x_data, work); in drv260x_worker() local 253 gpiod_set_value(haptics->enable_gpio, 1); in drv260x_worker() 257 error = regmap_write(haptics->regmap, in drv260x_worker() 260 dev_err(&haptics->client->dev, in drv260x_worker() 263 error = regmap_write(haptics->regmap, in drv260x_worker() 264 DRV260X_RT_PB_IN, haptics->magnitude); in drv260x_worker() 266 dev_err(&haptics->client->dev, in drv260x_worker() 274 struct drv260x_data *haptics = input_get_drvdata(input); in drv260x_haptics_play() local [all …]
|
| D | drv2665.c | 3 * DRV2665 haptics driver family 78 struct drv2665_data *haptics = in drv2665_worker() local 83 error = regmap_read(haptics->regmap, DRV2665_STATUS, &read_buf); in drv2665_worker() 85 dev_err(&haptics->client->dev, in drv2665_worker() 91 error = regmap_bulk_write(haptics->regmap, in drv2665_worker() 96 dev_err(&haptics->client->dev, in drv2665_worker() 106 struct drv2665_data *haptics = input_get_drvdata(input); in drv2665_haptics_play() local 108 schedule_work(&haptics->work); in drv2665_haptics_play() 115 struct drv2665_data *haptics = input_get_drvdata(input); in drv2665_close() local 118 cancel_work_sync(&haptics->work); in drv2665_close() [all …]
|
| D | arizona-haptics.c | 3 * Arizona haptics driver 33 struct arizona_haptics *haptics = container_of(work, in arizona_haptics_work() local 36 struct arizona *arizona = haptics->arizona; in arizona_haptics_work() 41 if (!haptics->arizona->dapm) { in arizona_haptics_work() 46 if (haptics->intensity) { in arizona_haptics_work() 50 haptics->intensity); in arizona_haptics_work() 63 dev_err(arizona->dev, "Failed to start haptics: %d\n", in arizona_haptics_work() 68 ret = snd_soc_component_enable_pin(component, "HAPTICS"); in arizona_haptics_work() 70 dev_err(arizona->dev, "Failed to start HAPTICS: %d\n", in arizona_haptics_work() 83 ret = snd_soc_component_disable_pin(component, "HAPTICS"); in arizona_haptics_work() [all …]
|
| D | Kconfig | 77 tristate "Arizona haptics support" 81 Say Y to enable support for the haptics module in Arizona CODECs. 84 module will be called arizona-haptics. 430 tristate "Regulator haptics support" 800 tristate "TI DRV260X haptics support" 806 Say Y to enable support for the TI DRV260X haptics driver. 809 module will be called drv260x-haptics. 812 tristate "TI DRV2665 haptics support" 817 Say Y to enable support for the TI DRV2665 haptics driver. 820 module will be called drv2665-haptics. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | ti,drv2667.txt | 1 * Texas Instruments - drv2667 Haptics driver 10 haptics: haptics@59 {
|
| D | ti,drv2665.txt | 1 * Texas Instruments - drv2665 Haptics driver 10 haptics: haptics@59 {
|
| D | dlg,da7280.txt | 1 Dialog Semiconductor DA7280 Haptics bindings 81 haptics: da7280-haptics@4a {
|
| D | ti,drv260x.yaml | 7 title: Texas Instruments - drv260x Haptics driver family 99 haptics@5a {
|
| D | regulator-haptic.yaml | 38 haptics {
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | ti,drv2667.txt | 1 * Texas Instruments - drv2667 Haptics driver 10 haptics: haptics@59 {
|
| D | ti,drv2665.txt | 1 * Texas Instruments - drv2665 Haptics driver 10 haptics: haptics@59 {
|
| D | ti,drv260x.txt | 1 * Texas Instruments - drv260x Haptics driver family 38 haptics: haptics@5a {
|
| D | regulator-haptic.txt | 16 haptics {
|
| /kernel/linux/linux-6.6/drivers/hid/ |
| D | hid-nvidia-shield.c | 179 } haptics; member 275 struct input_dev *haptics; in shield_haptics_create() local 281 haptics = shield_allocate_input_dev(dev->hdev, "Haptics"); in shield_haptics_create() 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() 286 input_ff_create_memless(haptics, NULL, play_effect); in shield_haptics_create() 288 ret = input_register_device(haptics); in shield_haptics_create() 292 return haptics; in shield_haptics_create() 295 input_free_device(haptics); in shield_haptics_create() [all …]
|
| /kernel/linux/linux-5.10/include/dt-bindings/input/ |
| D | ti-drv260x.h | 3 * DRV260X haptics driver family
|
| /kernel/linux/linux-6.6/include/dt-bindings/input/ |
| D | ti-drv260x.h | 3 * DRV260X haptics driver family
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | arizona-core.c | 900 { .name = "arizona-haptics" }, 917 { .name = "arizona-haptics" }, 934 { .name = "arizona-haptics" }, 958 { .name = "arizona-haptics" }, 975 { .name = "arizona-haptics" },
|
| /kernel/linux/linux-6.6/drivers/mfd/ |
| D | arizona-core.c | 865 { .name = "arizona-haptics" }, 877 { .name = "arizona-haptics" }, 894 { .name = "arizona-haptics" }, 913 { .name = "arizona-haptics" }, 925 { .name = "arizona-haptics" },
|