Home
last modified time | relevance | path

Searched refs:envelope (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/input/joystick/iforce/
H A Diforce-ff.c81 * Uploads the part of an effect setting the envelope of the force
219 * Analyse the changes in an effect, and tell if we need to send an envelope
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 in need_envelope_modifier()
[all...]
/linux/drivers/input/
H A Dff-memless.c61 return &effect->u.periodic.envelope; in get_envelope()
64 return &effect->u.constant.envelope; in get_envelope()
72 * Check for the next time envelope requires an update on memoryless devices
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()
147 * Apply an envelope to a value
150 struct ff_envelope *envelope) in apply_envelope() argument
[all...]
H A Dff-core.c72 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 Dinput-compat.h32 struct ff_envelope envelope; member
/linux/drivers/iio/adc/
H A Denvelope-detector.c3 * Driver for an envelope detector using a DAC and a comparator
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 *en in envelope_store_invert()
46 comp_lockenvelope global() argument
70 dacenvelope global() argument
[all...]
H A DMakefile61 obj-$(CONFIG_ENVELOPE_DETECTOR) += envelope-detector.o
/linux/drivers/hid/usbhid/
H A Dhid-pidff.c298 * Send envelope report to the device
301 struct ff_envelope *envelope) in pidff_set_envelope_report() argument
307 pidff_rescale(envelope->attack_level > in pidff_set_envelope_report()
308 S16_MAX ? S16_MAX : envelope->attack_level, S16_MAX, in pidff_set_envelope_report()
311 pidff_rescale(envelope->fade_level > in pidff_set_envelope_report()
312 S16_MAX ? S16_MAX : envelope->fade_level, S16_MAX, in pidff_set_envelope_report()
316 envelope->attack_length); in pidff_set_envelope_report()
318 envelope->fade_length); in pidff_set_envelope_report()
321 envelope->attack_level, in pidff_set_envelope_report()
329 * Test if the new envelope differ
331 pidff_needs_set_envelope(struct ff_envelope * envelope,struct ff_envelope * old) pidff_needs_set_envelope() argument
[all...]
/linux/include/uapi/linux/
H A Dinput.h327 * struct ff_envelope - generic force-feedback effect envelope
334 * envelope force-feedback core will convert to positive/negative
348 * @envelope: envelope data
352 struct ff_envelope envelope; member
359 * @envelope: envelope data
364 struct ff_envelope envelope; member
395 * @envelope: envelope dat
413 struct ff_envelope envelope; global() member
[all...]
/linux/drivers/hid/
H A Dhid-logitech-hidpp.c2565 params[8] = effect->u.constant.envelope.attack_level >> 7; in hidpp_ff_upload_effect()
2566 params[9] = effect->u.constant.envelope.attack_length >> 8; in hidpp_ff_upload_effect()
2567 params[10] = effect->u.constant.envelope.attack_length & 255; in hidpp_ff_upload_effect()
2568 params[11] = effect->u.constant.envelope.fade_level >> 7; in hidpp_ff_upload_effect()
2569 params[12] = effect->u.constant.envelope.fade_length >> 8; in hidpp_ff_upload_effect()
2570 params[13] = effect->u.constant.envelope.fade_length & 255; in hidpp_ff_upload_effect()
2575 dbg_hid(" envelope attack=(%d, %d ms) fade=(%d, %d ms)\n", in hidpp_ff_upload_effect()
2576 effect->u.constant.envelope.attack_level, in hidpp_ff_upload_effect()
2577 effect->u.constant.envelope.attack_length, in hidpp_ff_upload_effect()
2578 effect->u.constant.envelope in hidpp_ff_upload_effect()
[all...]
/linux/arch/arm/boot/dts/microchip/
H A Dat91-tse850-3.dts69 env_det: envelope-detector {
70 compatible = "axentia,tse850-envelope-detector";
90 envelope-detector-mux {
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-adc-envelope-detector26 dac instead of zero. The envelope detector will search
/linux/Documentation/admin-guide/pm/
H A Dintel_pstate.rst245 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/Documentation/admin-guide/media/
H A Dipu3.rst320 and image filtering. It needs some extra filter and envelope padding pixels to
/linux/Documentation/bpf/
H A Dbpf_iterators.rst104 "breaking out" out of established "state envelope" (i.e., subsequent
/linux/Documentation/process/
H A Dmaintainer-pgp-guide.rst233 Put the resulting printout and the hand-written passphrase into an envelope
/linux/
H A DMAINTAINERS11868 F: Documentation/ABI/testing/sysfs-bus-iio-adc-envelope-detector
11869 F: Documentation/devicetree/bindings/iio/adc/envelope-detector.yaml
11870 F: drivers/iio/adc/envelope-detector.c