Searched refs:envelope (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/input/joystick/iforce/ |
| H A D | iforce-ff.c | 227 if (old->u.constant.envelope.attack_length != effect->u.constant.envelope.attack_length in need_envelope_modifier() 228 || old->u.constant.envelope.attack_level != effect->u.constant.envelope.attack_level in need_envelope_modifier() 229 || old->u.constant.envelope.fade_length != effect->u.constant.envelope.fade_length in need_envelope_modifier() 230 || old->u.constant.envelope.fade_level != effect->u.constant.envelope.fade_level) in need_envelope_modifier() 235 if (old->u.periodic.envelope.attack_length != effect->u.periodic.envelope.attack_length in need_envelope_modifier() 236 || old->u.periodic.envelope.attack_level != effect->u.periodic.envelope.attack_level in need_envelope_modifier() 237 || old->u.periodic.envelope.fade_length != effect->u.periodic.envelope.fade_length in need_envelope_modifier() 238 || old->u.periodic.envelope.fade_level != effect->u.periodic.envelope.fade_level) in need_envelope_modifier() 358 effect->u.periodic.envelope.attack_length, in iforce_upload_periodic() 359 effect->u.periodic.envelope.attack_level, in iforce_upload_periodic() [all …]
|
| /linux/drivers/input/ |
| H A D | ff-memless.c | 62 return &effect->u.periodic.envelope; in get_envelope() 65 return &effect->u.constant.envelope; in get_envelope() 77 const struct ff_envelope *envelope = get_envelope(state->effect); in calculate_next_time() local 80 if (envelope->attack_length) { in calculate_next_time() 82 msecs_to_jiffies(envelope->attack_length); in calculate_next_time() 89 if (envelope->fade_length) { in calculate_next_time() 92 msecs_to_jiffies(envelope->fade_length); in calculate_next_time() 151 struct ff_envelope *envelope) in apply_envelope() argument 160 if (envelope->attack_length && in apply_envelope() 162 state->play_at + msecs_to_jiffies(envelope->attack_length))) { in apply_envelope() [all …]
|
| H A D | ff-core.c | 72 effect->u.periodic.envelope.attack_length = 0; in compat_effect() 73 effect->u.periodic.envelope.attack_level = 0; in compat_effect() 74 effect->u.periodic.envelope.fade_length = 0; in compat_effect() 75 effect->u.periodic.envelope.fade_level = 0; in compat_effect()
|
| /linux/drivers/iio/adc/ |
| H A D | envelope-detector.c | 45 struct envelope { struct 79 static int envelope_detector_comp_latch(struct envelope *env) in envelope_detector_comp_latch() argument 117 struct envelope *env = ctx; in envelope_detector_comp_isr() 127 static void envelope_detector_setup_compare(struct envelope *env) in envelope_detector_setup_compare() 173 struct envelope *env = container_of(work, struct envelope, in envelope_detector_timeout() 190 struct envelope *env = iio_priv(indio_dev); in envelope_detector_read_raw() 234 struct envelope *env = iio_priv(indio_dev); in envelope_show_invert() 244 struct envelope *env = iio_priv(indio_dev); in envelope_store_invert() 274 struct envelope *env = iio_priv(indio_dev); in envelope_show_comp_interval() 284 struct envelope *env = iio_priv(indio_dev); in envelope_store_comp_interval() [all …]
|
| H A D | Makefile | 65 obj-$(CONFIG_ENVELOPE_DETECTOR) += envelope-detector.o
|
| H A D | Kconfig | 722 Say yes here to build support for an envelope detector using a DAC 726 called envelope-detector.
|
| /linux/drivers/hid/usbhid/ |
| H A D | hid-pidff.c | 442 struct ff_envelope *envelope) in pidff_set_envelope_report() argument 448 pidff_rescale(envelope->attack_level > in pidff_set_envelope_report() 449 S16_MAX ? S16_MAX : envelope->attack_level, S16_MAX, in pidff_set_envelope_report() 452 pidff_rescale(envelope->fade_level > in pidff_set_envelope_report() 453 S16_MAX ? S16_MAX : envelope->fade_level, S16_MAX, in pidff_set_envelope_report() 457 envelope->attack_length); in pidff_set_envelope_report() 459 envelope->fade_length); in pidff_set_envelope_report() 468 static int pidff_needs_set_envelope(struct ff_envelope *envelope, in pidff_needs_set_envelope() argument 473 needs_new_envelope = envelope->attack_level != 0 || in pidff_needs_set_envelope() 474 envelope->fade_level != 0 || in pidff_needs_set_envelope() [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-logitech-hidpp.c | 2581 params[8] = effect->u.constant.envelope.attack_level >> 7; in hidpp_ff_upload_effect() 2582 params[9] = effect->u.constant.envelope.attack_length >> 8; in hidpp_ff_upload_effect() 2583 params[10] = effect->u.constant.envelope.attack_length & 255; in hidpp_ff_upload_effect() 2584 params[11] = effect->u.constant.envelope.fade_level >> 7; in hidpp_ff_upload_effect() 2585 params[12] = effect->u.constant.envelope.fade_length >> 8; in hidpp_ff_upload_effect() 2586 params[13] = effect->u.constant.envelope.fade_length & 255; in hidpp_ff_upload_effect() 2592 effect->u.constant.envelope.attack_level, in hidpp_ff_upload_effect() 2593 effect->u.constant.envelope.attack_length, in hidpp_ff_upload_effect() 2594 effect->u.constant.envelope.fade_level, in hidpp_ff_upload_effect() 2595 effect->u.constant.envelope.fade_length); in hidpp_ff_upload_effect() [all …]
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | at91-tse850-3.dts | 69 env_det: envelope-detector { 70 compatible = "axentia,tse850-envelope-detector"; 90 envelope-detector-mux {
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-iio-adc-envelope-detector | 26 dac instead of zero. The envelope detector will search
|
| /linux/ |
| H A D | MAINTAINERS | 12464 F: Documentation/ABI/testing/sysfs-bus-iio-adc-envelope-detector 12465 F: Documentation/devicetree/bindings/iio/adc/envelope-detector.yaml 12466 F: drivers/iio/adc/envelope-detector.c
|