/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/input/misc/ |
H A D | da7280.c | 321 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 …]
|
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() 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 …]
|
H A D | drv260x.c | 283 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 …]
|
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() 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 …]
|
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 | 88 tristate "Arizona haptics support" 95 module will be called arizona-haptics. 452 tristate "Regulator haptics support" 635 tristate "Dialog Semiconductor DA7280 haptics support" 640 The haptics can be controlled by PWM or GPIO 845 tristate "TI DRV260X haptics support" 854 module will be called drv260x-haptics. 857 tristate "TI DRV2665 haptics support" 865 module will be called drv2665-haptics. 868 tristate "TI DRV2667 haptics support" [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/input/misc/ |
H A D | da7280.c | 321 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 …]
|
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() 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 …]
|
H A D | drv260x.c | 283 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 …]
|
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() 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 …]
|
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 | 88 tristate "Arizona haptics support" 95 module will be called arizona-haptics. 452 tristate "Regulator haptics support" 635 tristate "Dialog Semiconductor DA7280 haptics support" 640 The haptics can be controlled by PWM or GPIO 845 tristate "TI DRV260X haptics support" 854 module will be called drv260x-haptics. 857 tristate "TI DRV2665 haptics support" 865 module will be called drv2665-haptics. 868 tristate "TI DRV2667 haptics support" [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/input/misc/ |
H A D | da7280.c | 321 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 …]
|
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() 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 …]
|
H A D | drv260x.c | 283 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 …]
|
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() 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 …]
|
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 | 88 tristate "Arizona haptics support" 95 module will be called arizona-haptics. 452 tristate "Regulator haptics support" 635 tristate "Dialog Semiconductor DA7280 haptics support" 640 The haptics can be controlled by PWM or GPIO 845 tristate "TI DRV260X haptics support" 854 module will be called drv260x-haptics. 857 tristate "TI DRV2665 haptics support" 865 module will be called drv2665-haptics. 868 tristate "TI DRV2667 haptics support" [all …]
|
/dports/devel/allegro5/allegro5-5.2.7.0/examples/ |
H A D | ex_haptic2.cpp | 30 static Haptic haptics[EX_MAX_HAPTICS]; variable 37 al_release_haptic(haptics[i].haptic); in release_all_haptics() 38 haptics[i].haptic = NULL; in release_all_haptics() 48 if (haptics[num_haptics].haptic) { in get_all_haptics() 50 haptics[num_haptics].playing = false; in get_all_haptics() 62 if (haptics[num_haptics].haptic) { in get_all_haptics() 65 haptics[num_haptics].playing = false; in get_all_haptics() 350 device_list.append_item(haptics[i].name); in Prog() 486 Haptic *dev = haptics + devno; in update() 689 Haptic *haptic = haptics + devno; in on_play() [all …]
|
/dports/devel/allegro5/allegro5-5.2.7.0/src/win/ |
H A D | whapxi.c | 213 static ALLEGRO_HAPTIC_XINPUT haptics[HAPTICS_MAX]; variable 358 if (haptics[i].active) { in hapxi_poll_haptics() 359 hapxi_poll_haptic(haptics + i); in hapxi_poll_haptics() 407 haptics[i].active = false; in hapxi_init_haptic() 549 hapxi = haptics + joyxi->index; in hapxi_get_from_joystick()
|
/dports/devel/allegro5/allegro5-5.2.7.0/src/linux/ |
H A D | lhaptic.c | 140 static ALLEGRO_HAPTIC_LINUX haptics[HAPTICS_MAX]; variable 180 haptics[i].active = false; in lhap_init_haptic() 192 if (!haptics[i].active) { in lhap_get_available_haptic() 193 haptics[i].active = true; in lhap_get_available_haptic() 194 return &haptics[i]; in lhap_get_available_haptic()
|
/dports/deskutils/qtfeedback/qtfeedback-5.0.0-beta1-32-ga14bd0b/src/plugins/feedback/ |
H A D | feedback.pro | 9 message("Building with meegotouch theme haptics support")
|
/dports/games/moonlight-embedded/moonlight-embedded-2.4.11/third_party/moonlight-common-c/src/ |
H A D | InputStream.c | 33 NV_HAPTICS_PACKET haptics; member 364 holder->packet.haptics.header.packetType = htonl(PACKET_TYPE_HAPTICS); in sendEnableHaptics() 365 holder->packet.haptics.magicA = H_MAGIC_A; in sendEnableHaptics() 366 holder->packet.haptics.magicB = H_MAGIC_B; in sendEnableHaptics()
|
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/Target Support Files/EXHaptics/ |
H A D | EXHaptics.debug.xcconfig | 7 PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../node_modules/expo-haptics/ios
|
H A D | EXHaptics.release.xcconfig | 7 PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../node_modules/expo-haptics/ios
|