magnitude          87 drivers/hid/hid-lg3ff.c static void hid_lg3ff_set_autocenter(struct input_dev *dev, u16 magnitude)
magnitude         468 drivers/hid/hid-lg4ff.c static void lg4ff_set_autocenter_default(struct input_dev *dev, u16 magnitude)
magnitude         492 drivers/hid/hid-lg4ff.c 	if (magnitude == 0) {
magnitude         506 drivers/hid/hid-lg4ff.c 	if (magnitude <= 0xaaaa) {
magnitude         507 drivers/hid/hid-lg4ff.c 		expand_a = 0x0c * magnitude;
magnitude         508 drivers/hid/hid-lg4ff.c 		expand_b = 0x80 * magnitude;
magnitude         510 drivers/hid/hid-lg4ff.c 		expand_a = (0x0c * 0xaaaa) + 0x06 * (magnitude - 0xaaaa);
magnitude         511 drivers/hid/hid-lg4ff.c 		expand_b = (0x80 * 0xaaaa) + 0xff * (magnitude - 0xaaaa);
magnitude         548 drivers/hid/hid-lg4ff.c static void lg4ff_set_autocenter_ffex(struct input_dev *dev, u16 magnitude)
magnitude         555 drivers/hid/hid-lg4ff.c 	magnitude = magnitude * 90 / 65535;
magnitude         573 drivers/hid/hid-lg4ff.c 	value[2] = magnitude >> 14;
magnitude         574 drivers/hid/hid-lg4ff.c 	value[3] = magnitude >> 14;
magnitude         575 drivers/hid/hid-lg4ff.c 	value[4] = magnitude;
magnitude          99 drivers/hid/hid-lgff.c static void hid_lgff_set_autocenter(struct input_dev *dev, u16 magnitude)
magnitude         105 drivers/hid/hid-lgff.c 	magnitude = (magnitude >> 12) & 0xf;
magnitude         108 drivers/hid/hid-lgff.c 	*value++ = magnitude;   /* clockwise strength */
magnitude         109 drivers/hid/hid-lgff.c 	*value++ = magnitude;   /* counter-clockwise strength */
magnitude        1902 drivers/hid/hid-logitech-hidpp.c 		force = (effect->u.periodic.magnitude * fixp_sin16((effect->direction * 360) >> 16)) >> 15;
magnitude        1903 drivers/hid/hid-logitech-hidpp.c 		params[6] = effect->u.periodic.magnitude >> 8;
magnitude        1904 drivers/hid/hid-logitech-hidpp.c 		params[7] = effect->u.periodic.magnitude & 255;
magnitude        1919 drivers/hid/hid-logitech-hidpp.c 				effect->u.periodic.magnitude, effect->direction,
magnitude        2013 drivers/hid/hid-logitech-hidpp.c static void hidpp_ff_set_autocenter(struct input_dev *dev, u16 magnitude)
magnitude        2018 drivers/hid/hid-logitech-hidpp.c 	dbg_hid("Setting autocenter to %d.\n", magnitude);
magnitude        2025 drivers/hid/hid-logitech-hidpp.c 	params[8] = params[14] = magnitude >> 11;
magnitude        2026 drivers/hid/hid-logitech-hidpp.c 	params[9] = params[15] = (magnitude >> 3) & 255;
magnitude        2027 drivers/hid/hid-logitech-hidpp.c 	params[6] = params[16] = magnitude >> 9;
magnitude        2028 drivers/hid/hid-logitech-hidpp.c 	params[7] = params[17] = (magnitude >> 1) & 255;
magnitude          53 drivers/hid/hid-microsoft.c 	__u8	magnitude[MAGNITUDE_NUM];
magnitude         302 drivers/hid/hid-microsoft.c 	r->magnitude[MAGNITUDE_STRONG] = ms->strong; /* left actuator */
magnitude         303 drivers/hid/hid-microsoft.c 	r->magnitude[MAGNITUDE_WEAK] = ms->weak;     /* right actuator */
magnitude         342 drivers/hid/usbhid/hid-pidff.c 			 effect->u.periodic.magnitude);
magnitude         359 drivers/hid/usbhid/hid-pidff.c 	return effect->u.periodic.magnitude != old->u.periodic.magnitude ||
magnitude         719 drivers/hid/usbhid/hid-pidff.c static void pidff_autocenter(struct pidff_device *pidff, u16 magnitude)
magnitude         724 drivers/hid/usbhid/hid-pidff.c 	if (!magnitude) {
magnitude         737 drivers/hid/usbhid/hid-pidff.c 	pidff_set(&pidff->set_effect[PID_GAIN], magnitude);
magnitude         748 drivers/hid/usbhid/hid-pidff.c static void pidff_set_autocenter(struct input_dev *dev, u16 magnitude)
magnitude         752 drivers/hid/usbhid/hid-pidff.c 	pidff_autocenter(pidff, magnitude);
magnitude          53 drivers/input/ff-core.c 	int magnitude;
magnitude          64 drivers/input/ff-core.c 		magnitude = effect->u.rumble.strong_magnitude / 3 +
magnitude          70 drivers/input/ff-core.c 		effect->u.periodic.magnitude = max(magnitude, 0x7fff);
magnitude         295 drivers/input/ff-memless.c 		i = apply_envelope(state, abs(new->u.periodic.magnitude),
magnitude          28 drivers/input/input-compat.h 	__s16 magnitude;
magnitude          50 drivers/input/joystick/iforce/iforce-ff.c 	__s16 magnitude, __s16 offset, u16 period, u16 phase)
magnitude          70 drivers/input/joystick/iforce/iforce-ff.c 	data[2] = HIFIX80(magnitude);
magnitude         267 drivers/input/joystick/iforce/iforce-ff.c 		|| old->u.periodic.magnitude != new->u.periodic.magnitude
magnitude         352 drivers/input/joystick/iforce/iforce-ff.c 			effect->u.periodic.magnitude, effect->u.periodic.offset,
magnitude          88 drivers/input/joystick/iforce/iforce-main.c static void iforce_set_autocenter(struct input_dev *dev, u16 magnitude)
magnitude          94 drivers/input/joystick/iforce/iforce-main.c 	data[1] = magnitude >> 9;
magnitude         189 drivers/input/misc/drv260x.c 	u32 magnitude;
magnitude         264 drivers/input/misc/drv260x.c 				     DRV260X_RT_PB_IN, haptics->magnitude);
magnitude         279 drivers/input/misc/drv260x.c 		haptics->magnitude = effect->u.rumble.strong_magnitude;
magnitude         281 drivers/input/misc/drv260x.c 		haptics->magnitude = effect->u.rumble.weak_magnitude;
magnitude         283 drivers/input/misc/drv260x.c 		haptics->magnitude = 0;
magnitude         107 drivers/input/misc/drv2667.c 	u32 magnitude;
magnitude         185 drivers/input/misc/drv2667.c 	if (haptics->magnitude) {
magnitude         195 drivers/input/misc/drv2667.c 				haptics->magnitude);
magnitude         232 drivers/input/misc/drv2667.c 		haptics->magnitude = effect->u.rumble.strong_magnitude;
magnitude         234 drivers/input/misc/drv2667.c 		haptics->magnitude = effect->u.rumble.weak_magnitude;
magnitude         236 drivers/input/misc/drv2667.c 		haptics->magnitude = 0;
magnitude          59 drivers/input/misc/max77693-haptic.c 	unsigned int magnitude;
magnitude         226 drivers/input/misc/max77693-haptic.c 	if (haptic->magnitude)
magnitude         239 drivers/input/misc/max77693-haptic.c 	haptic->magnitude = effect->u.rumble.strong_magnitude;
magnitude         240 drivers/input/misc/max77693-haptic.c 	if (!haptic->magnitude)
magnitude         241 drivers/input/misc/max77693-haptic.c 		haptic->magnitude = effect->u.rumble.weak_magnitude;
magnitude         249 drivers/input/misc/max77693-haptic.c 	period_mag_multi = (u64)pargs.period * haptic->magnitude;
magnitude          40 drivers/input/misc/msm-vibrator.c 	u16 magnitude;
magnitude          84 drivers/input/misc/msm-vibrator.c 	d_reg_val = 127 - ((126 * vibrator->magnitude) / 0xffff);
magnitude         121 drivers/input/misc/msm-vibrator.c 	if (vibrator->magnitude)
magnitude         135 drivers/input/misc/msm-vibrator.c 		vibrator->magnitude = effect->u.rumble.strong_magnitude;
magnitude         137 drivers/input/misc/msm-vibrator.c 		vibrator->magnitude = effect->u.rumble.weak_magnitude;
magnitude          33 drivers/input/misc/regulator-haptic.c 	unsigned int magnitude;
magnitude          58 drivers/input/misc/regulator-haptic.c 					 unsigned int magnitude)
magnitude          64 drivers/input/misc/regulator-haptic.c 	volt_mag_multi = (u64)(haptic->max_volt - haptic->min_volt) * magnitude;
magnitude          76 drivers/input/misc/regulator-haptic.c 	regulator_haptic_toggle(haptic, !!magnitude);
magnitude          89 drivers/input/misc/regulator-haptic.c 		regulator_haptic_set_voltage(haptic, haptic->magnitude);
magnitude          99 drivers/input/misc/regulator-haptic.c 	haptic->magnitude = effect->u.rumble.strong_magnitude;
magnitude         100 drivers/input/misc/regulator-haptic.c 	if (!haptic->magnitude)
magnitude         101 drivers/input/misc/regulator-haptic.c 		haptic->magnitude = effect->u.rumble.weak_magnitude;
magnitude         227 drivers/input/misc/regulator-haptic.c 	unsigned int magnitude;
magnitude         233 drivers/input/misc/regulator-haptic.c 	magnitude = READ_ONCE(haptic->magnitude);
magnitude         234 drivers/input/misc/regulator-haptic.c 	if (magnitude)
magnitude         235 drivers/input/misc/regulator-haptic.c 		regulator_haptic_set_voltage(haptic, magnitude);
magnitude         224 drivers/input/misc/uinput.c static void uinput_dev_set_autocenter(struct input_dev *dev, u16 magnitude)
magnitude         226 drivers/input/misc/uinput.c 	uinput_dev_event(dev, EV_FF, FF_AUTOCENTER, magnitude);
magnitude         893 drivers/net/wireless/ath/ath9k/ar9003_calib.c 	int magnitude, phase;
magnitude         942 drivers/net/wireless/ath/ath9k/ar9003_calib.c 			magnitude = coeff->mag_coeff[i][im][0];
magnitude         946 drivers/net/wireless/ath/ath9k/ar9003_calib.c 				(phase & 0x7f) | ((magnitude & 0x7f) << 7);
magnitude         144 drivers/net/wireless/ath/ath9k/common-spectral.c 	u16 magnitude, tmp_mag, length;
magnitude         157 drivers/net/wireless/ath/ath9k/common-spectral.c 	magnitude = spectral_max_magnitude(mag_info->all_bins);
magnitude         158 drivers/net/wireless/ath/ath9k/common-spectral.c 	fft_sample_20.max_magnitude = __cpu_to_be16(magnitude);
magnitude         175 drivers/net/wireless/ath/ath9k/common-spectral.c 					magnitude >> max_exp,
magnitude         179 drivers/net/wireless/ath/ath9k/common-spectral.c 	    ((magnitude >> max_exp) & 0xf8)) {
magnitude         203 drivers/net/wireless/ath/ath9k/common-spectral.c 		magnitude = tmp_mag << max_exp;
magnitude         204 drivers/net/wireless/ath/ath9k/common-spectral.c 		fft_sample_20.max_magnitude = __cpu_to_be16(magnitude);
magnitude         211 drivers/net/wireless/ath/ath9k/common-spectral.c 		if (fft_sample_20.data[i] == (magnitude >> max_exp))
magnitude         216 drivers/net/wireless/ath/ath9k/common-spectral.c 		if (fft_sample_20.data[i] > (magnitude >> max_exp)) {
magnitude         232 drivers/staging/comedi/drivers/das08.c 			unsigned int magnitude = lsb | ((msb & 0x7f) << 8);
magnitude         239 drivers/staging/comedi/drivers/das08.c 				data[n] = BIT(15) + magnitude;
magnitude         241 drivers/staging/comedi/drivers/das08.c 				data[n] = BIT(15) - magnitude;
magnitude         540 include/linux/input.h 	void (*set_autocenter)(struct input_dev *dev, u16 magnitude);
magnitude         404 include/uapi/linux/input.h 	__s16 magnitude;