/linux-6.1.9/drivers/input/joystick/iforce/ |
D | iforce-ff.c | 231 if (old->u.constant.envelope.attack_length != effect->u.constant.envelope.attack_length in need_envelope_modifier() 232 || old->u.constant.envelope.attack_level != effect->u.constant.envelope.attack_level in need_envelope_modifier() 233 || old->u.constant.envelope.fade_length != effect->u.constant.envelope.fade_length in need_envelope_modifier() 234 || old->u.constant.envelope.fade_level != effect->u.constant.envelope.fade_level) in need_envelope_modifier() 239 if (old->u.periodic.envelope.attack_length != effect->u.periodic.envelope.attack_length in need_envelope_modifier() 240 || old->u.periodic.envelope.attack_level != effect->u.periodic.envelope.attack_level in need_envelope_modifier() 241 || old->u.periodic.envelope.fade_length != effect->u.periodic.envelope.fade_length in need_envelope_modifier() 242 || old->u.periodic.envelope.fade_level != effect->u.periodic.envelope.fade_level) in need_envelope_modifier() 362 effect->u.periodic.envelope.attack_length, in iforce_upload_periodic() 363 effect->u.periodic.envelope.attack_level, in iforce_upload_periodic() [all …]
|
/linux-6.1.9/drivers/input/ |
D | ff-memless.c | 61 return &effect->u.periodic.envelope; in get_envelope() 64 return &effect->u.constant.envelope; in get_envelope() 76 const struct ff_envelope *envelope = get_envelope(state->effect); in calculate_next_time() local 79 if (envelope->attack_length) { in calculate_next_time() 81 msecs_to_jiffies(envelope->attack_length); in calculate_next_time() 88 if (envelope->fade_length) { in calculate_next_time() 91 msecs_to_jiffies(envelope->fade_length); in calculate_next_time() 150 struct ff_envelope *envelope) in apply_envelope() argument 159 if (envelope->attack_length && in apply_envelope() 161 state->play_at + msecs_to_jiffies(envelope->attack_length))) { in apply_envelope() [all …]
|
D | ff-core.c | 70 effect->u.periodic.envelope.attack_length = 0; in compat_effect() 71 effect->u.periodic.envelope.attack_level = 0; in compat_effect() 72 effect->u.periodic.envelope.fade_length = 0; in compat_effect() 73 effect->u.periodic.envelope.fade_level = 0; in compat_effect()
|
D | input-compat.h | 32 struct ff_envelope envelope; member
|
/linux-6.1.9/drivers/iio/adc/ |
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 …]
|
D | Makefile | 43 obj-$(CONFIG_ENVELOPE_DETECTOR) += envelope-detector.o
|
D | Kconfig | 421 Say yes here to build support for an envelope detector using a DAC 425 called envelope-detector.
|
/linux-6.1.9/Documentation/devicetree/bindings/iio/adc/ |
D | envelope-detector.yaml | 4 $id: http://devicetree.org/schemas/iio/adc/envelope-detector.yaml# 7 title: ADC envelope detector using a DAC and a comparator 32 const: axentia,tse850-envelope-detector 77 envelope-detector { 78 compatible = "axentia,tse850-envelope-detector";
|
/linux-6.1.9/drivers/hid/usbhid/ |
D | hid-pidff.c | 233 struct ff_envelope *envelope) in pidff_set_envelope_report() argument 239 pidff_rescale(envelope->attack_level > in pidff_set_envelope_report() 240 0x7fff ? 0x7fff : envelope->attack_level, 0x7fff, in pidff_set_envelope_report() 243 pidff_rescale(envelope->fade_level > in pidff_set_envelope_report() 244 0x7fff ? 0x7fff : envelope->fade_level, 0x7fff, in pidff_set_envelope_report() 247 pidff->set_envelope[PID_ATTACK_TIME].value[0] = envelope->attack_length; in pidff_set_envelope_report() 248 pidff->set_envelope[PID_FADE_TIME].value[0] = envelope->fade_length; in pidff_set_envelope_report() 251 envelope->attack_level, in pidff_set_envelope_report() 261 static int pidff_needs_set_envelope(struct ff_envelope *envelope, in pidff_needs_set_envelope() argument 264 return envelope->attack_level != old->attack_level || in pidff_needs_set_envelope() [all …]
|
/linux-6.1.9/include/uapi/linux/ |
D | input.h | 351 struct ff_envelope envelope; member 363 struct ff_envelope envelope; member 412 struct ff_envelope envelope; member
|
/linux-6.1.9/drivers/hid/ |
D | hid-logitech-hidpp.c | 2316 params[8] = effect->u.constant.envelope.attack_level >> 7; in hidpp_ff_upload_effect() 2317 params[9] = effect->u.constant.envelope.attack_length >> 8; in hidpp_ff_upload_effect() 2318 params[10] = effect->u.constant.envelope.attack_length & 255; in hidpp_ff_upload_effect() 2319 params[11] = effect->u.constant.envelope.fade_level >> 7; in hidpp_ff_upload_effect() 2320 params[12] = effect->u.constant.envelope.fade_length >> 8; in hidpp_ff_upload_effect() 2321 params[13] = effect->u.constant.envelope.fade_length & 255; in hidpp_ff_upload_effect() 2327 effect->u.constant.envelope.attack_level, in hidpp_ff_upload_effect() 2328 effect->u.constant.envelope.attack_length, in hidpp_ff_upload_effect() 2329 effect->u.constant.envelope.fade_level, in hidpp_ff_upload_effect() 2330 effect->u.constant.envelope.fade_length); in hidpp_ff_upload_effect() [all …]
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | at91-tse850-3.dts | 69 env_det: envelope-detector { 70 compatible = "axentia,tse850-envelope-detector"; 90 envelope-detector-mux {
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-bus-iio-adc-envelope-detector | 26 dac instead of zero. The envelope detector will search
|
/linux-6.1.9/Documentation/admin-guide/pm/ |
D | intel_pstate.rst | 245 thermal envelope of the processor package to be exceeded. 263 package may change over time or the thermal envelope it was designed for might
|
/linux-6.1.9/Documentation/admin-guide/media/ |
D | ipu3.rst | 320 and image filtering. It needs some extra filter and envelope padding pixels to
|
/linux-6.1.9/Documentation/process/ |
D | maintainer-pgp-guide.rst | 260 Put the resulting printout and the hand-written passphrase into an envelope
|
/linux-6.1.9/ |
D | MAINTAINERS | 9934 F: Documentation/ABI/testing/sysfs-bus-iio-adc-envelope-detector 9935 F: Documentation/devicetree/bindings/iio/adc/envelope-detector.yaml 9936 F: drivers/iio/adc/envelope-detector.c
|