Home
last modified time | relevance | path

Searched refs:magnitude (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/hid/
H A Dhid-lgff.c99 static void hid_lgff_set_autocenter(struct input_dev *dev, u16 magnitude) in hid_lgff_set_autocenter() argument
105 magnitude = (magnitude >> 12) & 0xf; in hid_lgff_set_autocenter()
108 *value++ = magnitude; /* clockwise strength */ in hid_lgff_set_autocenter()
109 *value++ = magnitude; /* counter-clockwise strength */ in hid_lgff_set_autocenter()
H A Dhid-lg3ff.c83 static void hid_lg3ff_set_autocenter(struct input_dev *dev, u16 magnitude) in hid_lg3ff_set_autocenter() argument
/linux/drivers/input/misc/
H A Dmax77693-haptic.c61 unsigned int magnitude; member
234 if (!haptic->magnitude) in max77693_haptic_play_work()
249 haptic->magnitude = effect->u.rumble.strong_magnitude; in max77693_haptic_play_effect()
250 if (!haptic->magnitude) in max77693_haptic_play_effect()
251 haptic->magnitude = effect->u.rumble.weak_magnitude; in max77693_haptic_play_effect()
259 period_mag_multi = (u64)pargs.period * haptic->magnitude; in max77693_haptic_play_effect()
H A Ddrv2667.c109 u32 magnitude; member
187 if (haptics->magnitude) { in drv2667_worker()
197 haptics->magnitude); in drv2667_worker()
234 haptics->magnitude = effect->u.rumble.strong_magnitude; in drv2667_haptics_play()
236 haptics->magnitude = effect->u.rumble.weak_magnitude; in drv2667_haptics_play()
238 haptics->magnitude = 0; in drv2667_haptics_play()
H A Ddrv260x.c197 u8 magnitude; member
234 DRV260X_RT_PB_IN, haptics->magnitude); in drv260x_worker()
250 haptics->magnitude = effect->u.rumble.strong_magnitude >> 8; in drv260x_haptics_play()
252 haptics->magnitude = effect->u.rumble.weak_magnitude >> 8; in drv260x_haptics_play()
254 haptics->magnitude = 0; in drv260x_haptics_play()
H A Duinput.c236 static void uinput_dev_set_autocenter(struct input_dev *dev, u16 magnitude) in uinput_dev_set_autocenter() argument
238 uinput_dev_event(dev, EV_FF, FF_AUTOCENTER, magnitude); in uinput_dev_set_autocenter()
/linux/drivers/input/
H A Dff-core.c52 int magnitude; in compat_effect() local
63 magnitude = effect->u.rumble.strong_magnitude / 3 + in compat_effect()
69 effect->u.periodic.magnitude = magnitude; in compat_effect()
H A Dff-memless.c293 i = apply_envelope(state, abs(new->u.periodic.magnitude), in ml_combine_effects()
/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon-spectral.c145 u16 magnitude, tmp_mag, length; in ath_cmn_process_ht20_fft() local
158 magnitude = spectral_max_magnitude(mag_info->all_bins); in ath_cmn_process_ht20_fft()
159 fft_sample_20.max_magnitude = __cpu_to_be16(magnitude); in ath_cmn_process_ht20_fft()
176 magnitude >> max_exp, in ath_cmn_process_ht20_fft()
180 ((magnitude >> max_exp) & 0xf8)) { in ath_cmn_process_ht20_fft()
204 magnitude = tmp_mag << max_exp; in ath_cmn_process_ht20_fft()
205 fft_sample_20.max_magnitude = __cpu_to_be16(magnitude); in ath_cmn_process_ht20_fft()
212 if (fft_sample_20.data[i] == (magnitude >> max_exp)) in ath_cmn_process_ht20_fft()
217 if (fft_sample_20.data[i] > (magnitude >> max_exp)) { in ath_cmn_process_ht20_fft()
H A Dar9003_calib.c893 int magnitude, phase; in ar9003_hw_tx_iq_cal_outlier_detection() local
942 magnitude = coeff->mag_coeff[i][im][0]; in ar9003_hw_tx_iq_cal_outlier_detection()
946 (phase & 0x7f) | ((magnitude & 0x7f) << 7); in ar9003_hw_tx_iq_cal_outlier_detection()
/linux/drivers/input/joystick/iforce/
H A Diforce-ff.c49 __s16 magnitude, __s16 offset, u16 period, u16 phase) in make_period_modifier() argument
68 data[2] = HIFIX80(magnitude); in make_period_modifier()
263 || old->u.periodic.magnitude != new->u.periodic.magnitude in need_period_modifier()
348 effect->u.periodic.magnitude, effect->u.periodic.offset, in iforce_upload_periodic()
/linux/drivers/comedi/drivers/
H A Ddas08.c230 unsigned int magnitude = lsb | ((msb & 0x7f) << 8); in das08_ai_insn_read() local
237 data[n] = BIT(15) + magnitude; in das08_ai_insn_read()
239 data[n] = BIT(15) - magnitude; in das08_ai_insn_read()
/linux/tools/testing/selftests/bpf/progs/
H A Dbtf_dump_test_case_padding.c166 short magnitude; member
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-health-afe440x30 stages. The values are expressed in 5-bit sign-magnitude.
H A Dsysfs-bus-iio-adc-mcp356432 conversions, which is on the order of magnitude of the noise
/linux/arch/m68k/fpsp040/
H A Dx_ovfl.S21 | RZ Largest magnitude number, with the sign of the
H A Dsetox.S34 | argument X whose magnitude is less than 16380 log2, which
/linux/Documentation/input/devices/
H A Diforce-protocol.rst125 08-09 Address of periodicity or magnitude parameters
355 - magnitude : 02
/linux/Documentation/input/
H A Dshape.svg34 …y="sans-serif" font-size="144px" stroke-width=".025in" xml:space="preserve">Effect magnitude</text>
/linux/include/linux/
H A Dinput.h579 void (*set_autocenter)(struct input_dev *dev, u16 magnitude);
/linux/Documentation/sound/codecs/
H A Dtas675x.rst506 :Description: Enables tweeter detection using the AC impedance magnitude comparator.
787 Fires when the audio signal magnitude exceeds the clip detection
/linux/Documentation/process/
H A Dthreat-model.rst182 magnitude higher than the expected benefits (e.g. fully functional keyboard
/linux/Documentation/driver-api/soundwire/
H A Dbra.rst24 Mbits/s and reduce transfer times by several orders of magnitude, but
/linux/tools/memory-model/Documentation/
H A Dlitmus-tests.txt902 litmus test in about 300 milliseconds, for more than an order of magnitude
916 results represent roughly an order of magnitude slowdown compared to the
H A Dordering.txt116 of magnitude greater overhead than smp_mb(), atomic_xchg(), and so on.

12