Searched defs:envelope (Results 1 - 3 of 3) sorted by relevance

/drivers/input/
H A Dinput-compat.h46 struct ff_envelope envelope; member in struct:ff_periodic_effect_compat
H A Dff-memless.c76 return &effect->u.periodic.envelope;
79 return &effect->u.constant.envelope;
87 * Check for the next time envelope requires an update on memoryless devices
91 const struct ff_envelope *envelope = get_envelope(state->effect); local
94 if (envelope->attack_length) {
96 msecs_to_jiffies(envelope->attack_length);
103 if (envelope->fade_length) {
106 msecs_to_jiffies(envelope->fade_length);
162 * Apply an envelope to a value
165 struct ff_envelope *envelope)
164 apply_envelope(struct ml_effect_state *state, int value, struct ff_envelope *envelope) argument
[all...]
/drivers/hid/usbhid/
H A Dhid-pidff.c242 * Send envelope report to the device
245 struct ff_envelope *envelope)
251 pidff_rescale(envelope->attack_level >
252 0x7fff ? 0x7fff : envelope->attack_level, 0x7fff,
255 pidff_rescale(envelope->fade_level >
256 0x7fff ? 0x7fff : envelope->fade_level, 0x7fff,
259 pidff->set_envelope[PID_ATTACK_TIME].value[0] = envelope->attack_length;
260 pidff->set_envelope[PID_FADE_TIME].value[0] = envelope->fade_length;
263 envelope->attack_level,
271 * Test if the new envelope differ
244 pidff_set_envelope_report(struct pidff_device *pidff, struct ff_envelope *envelope) argument
273 pidff_needs_set_envelope(struct ff_envelope *envelope, struct ff_envelope *old) argument
[all...]

Completed in 1155 milliseconds