Home
last modified time | relevance | path

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

/linux/drivers/input/joystick/iforce/
H A Diforce-ff.c227 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 Dff-memless.c62 return &effect->u.periodic.envelope; in get_envelope()
65 return &effect->u.constant.envelope; in get_envelope()
73 * Check for the next time envelope requires an update on memoryless devices
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()
148 * Apply an envelope to a value
151 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()
/linux/drivers/iio/adc/
H A Denvelope-detector.c45 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 DMakefile66 obj-$(CONFIG_ENVELOPE_DETECTOR) += envelope-detector.o
H A DKconfig740 Say yes here to build support for an envelope detector using a DAC
744 called envelope-detector.
/linux/drivers/hid/usbhid/
H A Dhid-pidff.c442 * Send envelope report to the device
445 struct ff_envelope *envelope) in pidff_set_envelope_report() argument
451 pidff_rescale(envelope->attack_level > in pidff_set_envelope_report()
452 S16_MAX ? S16_MAX : envelope->attack_level, S16_MAX, in pidff_set_envelope_report()
455 pidff_rescale(envelope->fade_level > in pidff_set_envelope_report()
456 S16_MAX ? S16_MAX : envelope->fade_level, S16_MAX, in pidff_set_envelope_report()
460 envelope->attack_length); in pidff_set_envelope_report()
462 envelope->fade_length); in pidff_set_envelope_report()
469 * Test if the new envelope differs from old one
471 static int pidff_needs_set_envelope(struct ff_envelope *envelope, in pidff_needs_set_envelope() argument
[all...]
/linux/drivers/hid/
H A Dhid-logitech-hidpp.c2583 params[8] = effect->u.constant.envelope.attack_level >> 7; in hidpp_ff_upload_effect()
2584 params[9] = effect->u.constant.envelope.attack_length >> 8; in hidpp_ff_upload_effect()
2585 params[10] = effect->u.constant.envelope.attack_length & 255; in hidpp_ff_upload_effect()
2586 params[11] = effect->u.constant.envelope.fade_level >> 7; in hidpp_ff_upload_effect()
2587 params[12] = effect->u.constant.envelope.fade_length >> 8; in hidpp_ff_upload_effect()
2588 params[13] = effect->u.constant.envelope.fade_length & 255; in hidpp_ff_upload_effect()
2593 dbg_hid(" envelope attack=(%d, %d ms) fade=(%d, %d ms)\n", in hidpp_ff_upload_effect()
2594 effect->u.constant.envelope.attack_level, in hidpp_ff_upload_effect()
2595 effect->u.constant.envelope.attack_length, in hidpp_ff_upload_effect()
2596 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.rst252 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/
H A DMAINTAINERS12584 F: Documentation/ABI/testing/sysfs-bus-iio-adc-envelope-detector
12585 F: Documentation/devicetree/bindings/iio/adc/envelope-detector.yaml
12586 F: drivers/iio/adc/envelope-detector.c