| /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()
|
| H A D | input-compat.h | 32 struct ff_envelope envelope; member
|
| /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 | 715 Say yes here to build support for an envelope detector using a DAC 719 called envelope-detector.
|
| /linux/drivers/hid/usbhid/ |
| H A D | hid-pidff.c | 441 struct ff_envelope *envelope) in pidff_set_envelope_report() argument 447 pidff_rescale(envelope->attack_level > in pidff_set_envelope_report() 448 S16_MAX ? S16_MAX : envelope->attack_level, S16_MAX, in pidff_set_envelope_report() 451 pidff_rescale(envelope->fade_level > in pidff_set_envelope_report() 452 S16_MAX ? S16_MAX : envelope->fade_level, S16_MAX, in pidff_set_envelope_report() 456 envelope->attack_length); in pidff_set_envelope_report() 458 envelope->fade_length); in pidff_set_envelope_report() 467 static int pidff_needs_set_envelope(struct ff_envelope *envelope, in pidff_needs_set_envelope() argument 472 needs_new_envelope = envelope->attack_level != 0 || in pidff_needs_set_envelope() 473 envelope->fade_level != 0 || in pidff_needs_set_envelope() [all …]
|
| /linux/include/uapi/linux/ |
| H A D | input.h | 352 struct ff_envelope envelope; member 364 struct ff_envelope envelope; member 413 struct ff_envelope envelope; member
|
| /linux/drivers/hid/ |
| H A D | hid-logitech-hidpp.c | 2573 params[8] = effect->u.constant.envelope.attack_level >> 7; in hidpp_ff_upload_effect() 2574 params[9] = effect->u.constant.envelope.attack_length >> 8; in hidpp_ff_upload_effect() 2575 params[10] = effect->u.constant.envelope.attack_length & 255; in hidpp_ff_upload_effect() 2576 params[11] = effect->u.constant.envelope.fade_level >> 7; in hidpp_ff_upload_effect() 2577 params[12] = effect->u.constant.envelope.fade_length >> 8; in hidpp_ff_upload_effect() 2578 params[13] = effect->u.constant.envelope.fade_length & 255; in hidpp_ff_upload_effect() 2584 effect->u.constant.envelope.attack_level, in hidpp_ff_upload_effect() 2585 effect->u.constant.envelope.attack_length, in hidpp_ff_upload_effect() 2586 effect->u.constant.envelope.fade_level, in hidpp_ff_upload_effect() 2587 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/Documentation/admin-guide/pm/ |
| H A D | intel_pstate.rst | 252 thermal envelope of the processor package to be exceeded. 270 package may change over time or the thermal envelope it was designed for might
|
| /linux/Documentation/admin-guide/media/ |
| H A D | ipu3.rst | 320 and image filtering. It needs some extra filter and envelope padding pixels to
|
| /linux/Documentation/bpf/ |
| H A D | bpf_iterators.rst | 104 "breaking out" out of established "state envelope" (i.e., subsequent
|
| /linux/Documentation/process/ |
| H A D | maintainer-pgp-guide.rst | 228 Put the resulting printout and the hand-written passphrase into an envelope
|
| /linux/ |
| H A D | MAINTAINERS | 12396 F: Documentation/ABI/testing/sysfs-bus-iio-adc-envelope-detector 12397 F: Documentation/devicetree/bindings/iio/adc/envelope-detector.yaml 12398 F: drivers/iio/adc/envelope-detector.c
|