Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/input/joystick/iforce/
Diforce-ff.c246 if (old->u.constant.envelope.attack_length != effect->u.constant.envelope.attack_length in need_envelope_modifier()
247 || old->u.constant.envelope.attack_level != effect->u.constant.envelope.attack_level in need_envelope_modifier()
248 || old->u.constant.envelope.fade_length != effect->u.constant.envelope.fade_length in need_envelope_modifier()
249 || old->u.constant.envelope.fade_level != effect->u.constant.envelope.fade_level) in need_envelope_modifier()
254 if (old->u.periodic.envelope.attack_length != effect->u.periodic.envelope.attack_length in need_envelope_modifier()
255 || old->u.periodic.envelope.attack_level != effect->u.periodic.envelope.attack_level in need_envelope_modifier()
256 || old->u.periodic.envelope.fade_length != effect->u.periodic.envelope.fade_length in need_envelope_modifier()
257 || old->u.periodic.envelope.fade_level != effect->u.periodic.envelope.fade_level) in need_envelope_modifier()
377 effect->u.periodic.envelope.attack_length, in iforce_upload_periodic()
378 effect->u.periodic.envelope.attack_level, in iforce_upload_periodic()
[all …]
/Linux-v4.19/drivers/input/
Dff-memless.c76 return &effect->u.periodic.envelope; in get_envelope()
79 return &effect->u.constant.envelope; in get_envelope()
91 const struct ff_envelope *envelope = get_envelope(state->effect); in calculate_next_time() local
94 if (envelope->attack_length) { in calculate_next_time()
96 msecs_to_jiffies(envelope->attack_length); in calculate_next_time()
103 if (envelope->fade_length) { in calculate_next_time()
106 msecs_to_jiffies(envelope->fade_length); in calculate_next_time()
165 struct ff_envelope *envelope) in apply_envelope() argument
174 if (envelope->attack_length && in apply_envelope()
176 state->play_at + msecs_to_jiffies(envelope->attack_length))) { in apply_envelope()
[all …]
Dff-core.c85 effect->u.periodic.envelope.attack_length = 0; in compat_effect()
86 effect->u.periodic.envelope.attack_level = 0; in compat_effect()
87 effect->u.periodic.envelope.fade_length = 0; in compat_effect()
88 effect->u.periodic.envelope.fade_level = 0; in compat_effect()
Dinput-compat.h35 struct ff_envelope envelope; member
/Linux-v4.19/drivers/iio/adc/
Denvelope-detector.c49 struct envelope { struct
83 static int envelope_detector_comp_latch(struct envelope *env) in envelope_detector_comp_latch() argument
121 struct envelope *env = ctx; in envelope_detector_comp_isr()
131 static void envelope_detector_setup_compare(struct envelope *env) in envelope_detector_setup_compare()
177 struct envelope *env = container_of(work, struct envelope, in envelope_detector_timeout()
194 struct envelope *env = iio_priv(indio_dev); in envelope_detector_read_raw()
238 struct envelope *env = iio_priv(indio_dev); in envelope_show_invert()
248 struct envelope *env = iio_priv(indio_dev); in envelope_store_invert()
278 struct envelope *env = iio_priv(indio_dev); in envelope_show_comp_interval()
288 struct envelope *env = iio_priv(indio_dev); in envelope_store_comp_interval()
[all …]
DMakefile29 obj-$(CONFIG_ENVELOPE_DETECTOR) += envelope-detector.o
DKconfig258 Say yes here to build support for an envelope detector using a DAC
262 called envelope-detector.
/Linux-v4.19/Documentation/devicetree/bindings/iio/adc/
Denvelope-detector.txt1 Bindings for ADC envelope detector using a DAC and a comparator
21 - compatible: Should be "axentia,tse850-envelope-detector"
46 envelope-detector {
47 compatible = "axentia,tse850-envelope-detector";
/Linux-v4.19/drivers/hid/usbhid/
Dhid-pidff.c245 struct ff_envelope *envelope) in pidff_set_envelope_report() argument
251 pidff_rescale(envelope->attack_level > in pidff_set_envelope_report()
252 0x7fff ? 0x7fff : envelope->attack_level, 0x7fff, in pidff_set_envelope_report()
255 pidff_rescale(envelope->fade_level > in pidff_set_envelope_report()
256 0x7fff ? 0x7fff : envelope->fade_level, 0x7fff, in pidff_set_envelope_report()
259 pidff->set_envelope[PID_ATTACK_TIME].value[0] = envelope->attack_length; in pidff_set_envelope_report()
260 pidff->set_envelope[PID_FADE_TIME].value[0] = envelope->fade_length; in pidff_set_envelope_report()
263 envelope->attack_level, in pidff_set_envelope_report()
273 static int pidff_needs_set_envelope(struct ff_envelope *envelope, in pidff_needs_set_envelope() argument
276 return envelope->attack_level != old->attack_level || in pidff_needs_set_envelope()
[all …]
/Linux-v4.19/drivers/hid/
Dhid-logitech-hidpp.c1630 params[8] = effect->u.constant.envelope.attack_level >> 7; in hidpp_ff_upload_effect()
1631 params[9] = effect->u.constant.envelope.attack_length >> 8; in hidpp_ff_upload_effect()
1632 params[10] = effect->u.constant.envelope.attack_length & 255; in hidpp_ff_upload_effect()
1633 params[11] = effect->u.constant.envelope.fade_level >> 7; in hidpp_ff_upload_effect()
1634 params[12] = effect->u.constant.envelope.fade_length >> 8; in hidpp_ff_upload_effect()
1635 params[13] = effect->u.constant.envelope.fade_length & 255; in hidpp_ff_upload_effect()
1641 effect->u.constant.envelope.attack_level, in hidpp_ff_upload_effect()
1642 effect->u.constant.envelope.attack_length, in hidpp_ff_upload_effect()
1643 effect->u.constant.envelope.fade_level, in hidpp_ff_upload_effect()
1644 effect->u.constant.envelope.fade_length); in hidpp_ff_upload_effect()
[all …]
/Linux-v4.19/include/uapi/linux/
Dinput.h342 struct ff_envelope envelope; member
354 struct ff_envelope envelope; member
403 struct ff_envelope envelope; member
/Linux-v4.19/arch/arm/boot/dts/
Dat91-tse850-3.dts89 env_det: envelope-detector {
90 compatible = "axentia,tse850-envelope-detector";
110 envelope-detector-mux {
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-bus-iio-adc-envelope-detector24 dac instead of zero. The envelope detector will search
/Linux-v4.19/Documentation/admin-guide/pm/
Dintel_pstate.rst231 thermal envelope of the processor package to be exceeded.
249 package may change over time or the thermal envelope it was designed for might
/Linux-v4.19/Documentation/process/
Dmaintainer-pgp-guide.rst268 Put the resulting printout and the hand-written passphrase into an envelope
/Linux-v4.19/
DMAINTAINERS7146 F: Documentation/ABI/testing/sysfs-bus-iio-adc-envelope-detector
7147 F: Documentation/devicetree/bindings/iio/adc/envelope-detector.txt
7148 F: drivers/iio/adc/envelope-detector.c