envelope         1864 drivers/hid/hid-logitech-hidpp.c 		params[8] = effect->u.constant.envelope.attack_level >> 7;
envelope         1865 drivers/hid/hid-logitech-hidpp.c 		params[9] = effect->u.constant.envelope.attack_length >> 8;
envelope         1866 drivers/hid/hid-logitech-hidpp.c 		params[10] = effect->u.constant.envelope.attack_length & 255;
envelope         1867 drivers/hid/hid-logitech-hidpp.c 		params[11] = effect->u.constant.envelope.fade_level >> 7;
envelope         1868 drivers/hid/hid-logitech-hidpp.c 		params[12] = effect->u.constant.envelope.fade_length >> 8;
envelope         1869 drivers/hid/hid-logitech-hidpp.c 		params[13] = effect->u.constant.envelope.fade_length & 255;
envelope         1875 drivers/hid/hid-logitech-hidpp.c 				effect->u.constant.envelope.attack_level,
envelope         1876 drivers/hid/hid-logitech-hidpp.c 				effect->u.constant.envelope.attack_length,
envelope         1877 drivers/hid/hid-logitech-hidpp.c 				effect->u.constant.envelope.fade_level,
envelope         1878 drivers/hid/hid-logitech-hidpp.c 				effect->u.constant.envelope.fade_length);
envelope         1911 drivers/hid/hid-logitech-hidpp.c 		params[14] = effect->u.periodic.envelope.attack_level >> 7;
envelope         1912 drivers/hid/hid-logitech-hidpp.c 		params[15] = effect->u.periodic.envelope.attack_length >> 8;
envelope         1913 drivers/hid/hid-logitech-hidpp.c 		params[16] = effect->u.periodic.envelope.attack_length & 255;
envelope         1914 drivers/hid/hid-logitech-hidpp.c 		params[17] = effect->u.periodic.envelope.fade_level >> 7;
envelope         1915 drivers/hid/hid-logitech-hidpp.c 		params[18] = effect->u.periodic.envelope.fade_length >> 8;
envelope         1916 drivers/hid/hid-logitech-hidpp.c 		params[19] = effect->u.periodic.envelope.fade_length & 255;
envelope         1924 drivers/hid/hid-logitech-hidpp.c 				effect->u.periodic.envelope.attack_level,
envelope         1925 drivers/hid/hid-logitech-hidpp.c 				effect->u.periodic.envelope.attack_length,
envelope         1926 drivers/hid/hid-logitech-hidpp.c 				effect->u.periodic.envelope.fade_level,
envelope         1927 drivers/hid/hid-logitech-hidpp.c 				effect->u.periodic.envelope.fade_length);
envelope         1938 drivers/hid/hid-logitech-hidpp.c 		params[10] = effect->u.ramp.envelope.attack_level >> 7;
envelope         1939 drivers/hid/hid-logitech-hidpp.c 		params[11] = effect->u.ramp.envelope.attack_length >> 8;
envelope         1940 drivers/hid/hid-logitech-hidpp.c 		params[12] = effect->u.ramp.envelope.attack_length & 255;
envelope         1941 drivers/hid/hid-logitech-hidpp.c 		params[13] = effect->u.ramp.envelope.fade_level >> 7;
envelope         1942 drivers/hid/hid-logitech-hidpp.c 		params[14] = effect->u.ramp.envelope.fade_length >> 8;
envelope         1943 drivers/hid/hid-logitech-hidpp.c 		params[15] = effect->u.ramp.envelope.fade_length & 255;
envelope         1950 drivers/hid/hid-logitech-hidpp.c 				effect->u.ramp.envelope.attack_level,
envelope         1951 drivers/hid/hid-logitech-hidpp.c 				effect->u.ramp.envelope.attack_length,
envelope         1952 drivers/hid/hid-logitech-hidpp.c 				effect->u.ramp.envelope.fade_level,
envelope         1953 drivers/hid/hid-logitech-hidpp.c 				effect->u.ramp.envelope.fade_length);
envelope          233 drivers/hid/usbhid/hid-pidff.c 				      struct ff_envelope *envelope)
envelope          239 drivers/hid/usbhid/hid-pidff.c 	    pidff_rescale(envelope->attack_level >
envelope          240 drivers/hid/usbhid/hid-pidff.c 			  0x7fff ? 0x7fff : envelope->attack_level, 0x7fff,
envelope          243 drivers/hid/usbhid/hid-pidff.c 	    pidff_rescale(envelope->fade_level >
envelope          244 drivers/hid/usbhid/hid-pidff.c 			  0x7fff ? 0x7fff : envelope->fade_level, 0x7fff,
envelope          247 drivers/hid/usbhid/hid-pidff.c 	pidff->set_envelope[PID_ATTACK_TIME].value[0] = envelope->attack_length;
envelope          248 drivers/hid/usbhid/hid-pidff.c 	pidff->set_envelope[PID_FADE_TIME].value[0] = envelope->fade_length;
envelope          251 drivers/hid/usbhid/hid-pidff.c 		envelope->attack_level,
envelope          261 drivers/hid/usbhid/hid-pidff.c static int pidff_needs_set_envelope(struct ff_envelope *envelope,
envelope          264 drivers/hid/usbhid/hid-pidff.c 	return envelope->attack_level != old->attack_level ||
envelope          265 drivers/hid/usbhid/hid-pidff.c 	       envelope->fade_level != old->fade_level ||
envelope          266 drivers/hid/usbhid/hid-pidff.c 	       envelope->attack_length != old->attack_length ||
envelope          267 drivers/hid/usbhid/hid-pidff.c 	       envelope->fade_length != old->fade_length;
envelope          578 drivers/hid/usbhid/hid-pidff.c 		    pidff_needs_set_envelope(&effect->u.constant.envelope,
envelope          579 drivers/hid/usbhid/hid-pidff.c 					&old->u.constant.envelope))
envelope          581 drivers/hid/usbhid/hid-pidff.c 					&effect->u.constant.envelope);
envelope          617 drivers/hid/usbhid/hid-pidff.c 		    pidff_needs_set_envelope(&effect->u.periodic.envelope,
envelope          618 drivers/hid/usbhid/hid-pidff.c 					&old->u.periodic.envelope))
envelope          620 drivers/hid/usbhid/hid-pidff.c 					&effect->u.periodic.envelope);
envelope          635 drivers/hid/usbhid/hid-pidff.c 		    pidff_needs_set_envelope(&effect->u.ramp.envelope,
envelope          636 drivers/hid/usbhid/hid-pidff.c 					&old->u.ramp.envelope))
envelope          638 drivers/hid/usbhid/hid-pidff.c 					&effect->u.ramp.envelope);
envelope           80 drivers/iio/adc/envelope-detector.c static int envelope_detector_comp_latch(struct envelope *env)
envelope          118 drivers/iio/adc/envelope-detector.c 	struct envelope *env = ctx;
envelope          128 drivers/iio/adc/envelope-detector.c static void envelope_detector_setup_compare(struct envelope *env)
envelope          174 drivers/iio/adc/envelope-detector.c 	struct envelope *env = container_of(work, struct envelope,
envelope          191 drivers/iio/adc/envelope-detector.c 	struct envelope *env = iio_priv(indio_dev);
envelope          235 drivers/iio/adc/envelope-detector.c 	struct envelope *env = iio_priv(indio_dev);
envelope          245 drivers/iio/adc/envelope-detector.c 	struct envelope *env = iio_priv(indio_dev);
envelope          275 drivers/iio/adc/envelope-detector.c 	struct envelope *env = iio_priv(indio_dev);
envelope          285 drivers/iio/adc/envelope-detector.c 	struct envelope *env = iio_priv(indio_dev);
envelope          328 drivers/iio/adc/envelope-detector.c 	struct envelope *env;
envelope           73 drivers/input/ff-core.c 		effect->u.periodic.envelope.attack_length = 0;
envelope           74 drivers/input/ff-core.c 		effect->u.periodic.envelope.attack_level = 0;
envelope           75 drivers/input/ff-core.c 		effect->u.periodic.envelope.fade_length = 0;
envelope           76 drivers/input/ff-core.c 		effect->u.periodic.envelope.fade_level = 0;
envelope           64 drivers/input/ff-memless.c 		return &effect->u.periodic.envelope;
envelope           67 drivers/input/ff-memless.c 		return &effect->u.constant.envelope;
envelope           79 drivers/input/ff-memless.c 	const struct ff_envelope *envelope = get_envelope(state->effect);
envelope           82 drivers/input/ff-memless.c 	if (envelope->attack_length) {
envelope           84 drivers/input/ff-memless.c 			msecs_to_jiffies(envelope->attack_length);
envelope           91 drivers/input/ff-memless.c 		if (envelope->fade_length) {
envelope           94 drivers/input/ff-memless.c 					msecs_to_jiffies(envelope->fade_length);
envelope          153 drivers/input/ff-memless.c 			  struct ff_envelope *envelope)
envelope          162 drivers/input/ff-memless.c 	if (envelope->attack_length &&
envelope          164 drivers/input/ff-memless.c 			state->play_at + msecs_to_jiffies(envelope->attack_length))) {
envelope          166 drivers/input/ff-memless.c 			 value, envelope->attack_level);
envelope          168 drivers/input/ff-memless.c 		time_of_envelope = envelope->attack_length;
envelope          169 drivers/input/ff-memless.c 		envelope_level = min_t(u16, envelope->attack_level, 0x7fff);
envelope          171 drivers/input/ff-memless.c 	} else if (envelope->fade_length && effect->replay.length &&
envelope          173 drivers/input/ff-memless.c 			      state->stop_at - msecs_to_jiffies(envelope->fade_length)) &&
envelope          176 drivers/input/ff-memless.c 		time_of_envelope = envelope->fade_length;
envelope          177 drivers/input/ff-memless.c 		envelope_level = min_t(u16, envelope->fade_level, 0x7fff);
envelope          257 drivers/input/ff-memless.c 					&new->u.constant.envelope));
envelope          296 drivers/input/ff-memless.c 				   &new->u.periodic.envelope);
envelope           32 drivers/input/input-compat.h 	struct ff_envelope envelope;
envelope          231 drivers/input/joystick/iforce/iforce-ff.c 		if (old->u.constant.envelope.attack_length != effect->u.constant.envelope.attack_length
envelope          232 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.constant.envelope.attack_level != effect->u.constant.envelope.attack_level
envelope          233 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.constant.envelope.fade_length != effect->u.constant.envelope.fade_length
envelope          234 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.constant.envelope.fade_level != effect->u.constant.envelope.fade_level)
envelope          239 drivers/input/joystick/iforce/iforce-ff.c 		if (old->u.periodic.envelope.attack_length != effect->u.periodic.envelope.attack_length
envelope          240 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.periodic.envelope.attack_level != effect->u.periodic.envelope.attack_level
envelope          241 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.periodic.envelope.fade_length != effect->u.periodic.envelope.fade_length
envelope          242 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.periodic.envelope.fade_level != effect->u.periodic.envelope.fade_level)
envelope          362 drivers/input/joystick/iforce/iforce-ff.c 			effect->u.periodic.envelope.attack_length,
envelope          363 drivers/input/joystick/iforce/iforce-ff.c 			effect->u.periodic.envelope.attack_level,
envelope          364 drivers/input/joystick/iforce/iforce-ff.c 			effect->u.periodic.envelope.fade_length,
envelope          365 drivers/input/joystick/iforce/iforce-ff.c 			effect->u.periodic.envelope.fade_level);
envelope          431 drivers/input/joystick/iforce/iforce-ff.c 			effect->u.constant.envelope.attack_length,
envelope          432 drivers/input/joystick/iforce/iforce-ff.c 			effect->u.constant.envelope.attack_level,
envelope          433 drivers/input/joystick/iforce/iforce-ff.c 			effect->u.constant.envelope.fade_length,
envelope          434 drivers/input/joystick/iforce/iforce-ff.c 			effect->u.constant.envelope.fade_level);
envelope          347 include/uapi/linux/input.h 	struct ff_envelope envelope;
envelope          359 include/uapi/linux/input.h 	struct ff_envelope envelope;
envelope          408 include/uapi/linux/input.h 	struct ff_envelope envelope;