| /linux/drivers/input/misc/ |
| H A D | max77693-haptic.c | 61 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() 254 * The magnitude comes from force-feedback interface. in max77693_haptic_play_effect() 255 * The formula to convert magnitude to pwm_duty as follows: in max77693_haptic_play_effect() 256 * - pwm_duty = (magnitude * pwm_period) / MAX_MAGNITUDE(0xFFFF) in max77693_haptic_play_effect() 259 period_mag_multi = (u64)pargs.period * haptic->magnitude; in max77693_haptic_play_effect()
|
| H A D | drv2667.c | 99 * @magnitude: Magnitude of the vibration event 109 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 D | drv260x.c | 184 * @magnitude: Magnitude of the vibration event 197 u8 magnitude; member 234 DRV260X_RT_PB_IN, haptics->magnitude); in drv260x_worker() 237 "Failed to set magnitude: %d\n", error); in drv260x_worker() 248 /* Scale u16 magnitude into u8 register value */ in drv260x_haptics_play() 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()
|
| /linux/drivers/hid/ |
| H A D | hid-lgff.c | 99 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()
|
| /linux/drivers/input/ |
| H A D | ff-core.c | 52 int magnitude; in compat_effect() local 60 * calculate magnitude of sine wave as average of rumble's in compat_effect() 61 * 2/3 of strong magnitude and 1/3 of weak magnitude in compat_effect() 63 magnitude = effect->u.rumble.strong_magnitude / 3 + in compat_effect() 69 effect->u.periodic.magnitude = magnitude; in compat_effect()
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | adi,max98396.yaml | 95 adi,dmon-magnitude-enable: 97 Enables the "data monitor magnitude" feature. Once the data monitor is 103 adi,dmon-magnitude-threshold-bits: 105 Sets the threshold for the "data monitor magnitude" feature, in bits.
|
| /linux/drivers/input/joystick/iforce/ |
| H A D | iforce-ff.c | 12 * Set the magnitude of a constant force effect 39 iforce_dump_packet(iforce, "magnitude", FF_CMD_MAGNITUDE, data); in make_magnitude_modifier() 44 * Upload the component of an effect dealing with the period, phase and magnitude 49 __s16 magnitude, __s16 offset, u16 period, u16 phase) in make_period_modifier() argument 68 data[2] = HIFIX80(magnitude); in make_period_modifier() 202 * Analyse the changes in an effect, and tell if we need to send a magnitude 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/net/wireless/ath/ath9k/ |
| H A D | common-spectral.c | 145 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() 181 ath_dbg(common, SPECTRAL_SCAN, "Magnitude mismatch !\n"); in ath_cmn_process_ht20_fft() 191 /* Check if the maximum magnitude is indeed maximum, 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() [all …]
|
| H A D | common-spectral.h | 111 /* grabs the max magnitude from the all/upper/lower bins */ 119 /* return the max magnitude from the all/upper/lower bins */
|
| H A D | ar9003_calib.c | 737 * find magnitude by approximation in ar9003_hw_calc_iq_corr() 869 * finding mean magnitude/phase if possible, otherwise in ar9003_hw_detect_outlier() 893 int magnitude, phase; in ar9003_hw_tx_iq_cal_outlier_detection() local 929 /* Detect magnitude outlier */ in ar9003_hw_tx_iq_cal_outlier_detection() 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/comedi/drivers/ |
| H A D | das08.c | 25 * das08_encode16 : SIGN = MSB[7], MAGNITUDE[14..8] = MSB[6..0], 26 * MAGNITUDE[7..0] = LSB[7..0]. 221 * "JR" 16-bit boards are sign-magnitude. in das08_ai_insn_read() 227 * encoded as sign-magnitude. Assume the original in das08_ai_insn_read() 230 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/Documentation/devicetree/bindings/phy/ |
| H A D | realtek,usb2phy.yaml | 104 Control the magnitude of High speed Dp/Dm output swing (mV). 105 For a different board or port, the original magnitude maybe not meet 117 If the magnitude of High speed Dp/Dm output swing still not meet the
|
| /linux/arch/parisc/math-emu/ |
| H A D | fcnvxf.c | 56 * set sign bit of result and get magnitude of source in sgl_to_sgl_fcnvxf() 127 * set sign bit of result and get magnitude of source in sgl_to_dbl_fcnvxf() 178 * set sign bit of result and get magnitude of source in dbl_to_sgl_fcnvxf() 283 * set sign bit of result and get magnitude of source in dbl_to_dbl_fcnvxf()
|
| H A D | fmpyfadd.c | 105 * invalid since attempting a magnitude in dbl_fmpyfadd() 196 * invalid since attempting a magnitude in dbl_fmpyfadd() 469 * Compare magnitude of operands. in dbl_fmpyfadd() 765 * invalid since attempting a magnitude 856 * invalid since attempting a magnitude 1129 * Compare magnitude of operands. 1421 * invalid since attempting a magnitude 1512 * invalid since attempting a magnitude 1782 * Compare magnitude of operands. 2063 * invalid since attempting a magnitude [all …]
|
| /linux/Documentation/input/devices/ |
| H A D | iforce-protocol.rst | 125 08-09 Address of periodicity or magnitude parameters 152 Magnitude subsection 170 02 Magnitude. Signed byte. 355 - magnitude : 02
|
| /linux/include/drm/ |
| H A D | drm_fixed.h | 82 * drm_sm2fixp() - convert signed-magnitude to fixed point 83 * @a: 1.31.32 signed-magnitude fixed point 85 * Convert a 1.31.32 signed-magnitude fixed point to 32.32
|
| /linux/include/linux/mfd/ |
| H A D | aat2870.h | 77 /* Backlight current magnitude (mA) */ 158 /* backlight current magnitude, default is AAT2870_CURRENT_27_9 */
|
| /linux/sound/core/oss/ |
| H A D | mulaw.c | 43 * In order to simplify the encoding process, the original linear magnitude 75 /* Get the sign and the magnitude of the value. */ in linear2ulaw() 86 /* Convert the scaled magnitude to segment number. */ in linear2ulaw()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-iio-health-afe440x | 30 stages. The values are expressed in 5-bit sign-magnitude.
|
| H A D | sysfs-bus-iio-adc-mcp3564 | 32 conversions, which is on the order of magnitude of the noise
|
| /linux/drivers/rtc/ |
| H A D | rtc-ab8500.c | 224 * The AB8500 uses sign (in bit7) and magnitude (in bits0-7) in ab8500_rtc_set_calibration() 248 * The AB8500 uses sign (in bit7) and magnitude (in bits0-7) in ab8500_rtc_get_calibration()
|
| /linux/arch/arm/vfp/ |
| H A D | vfp.h | 184 * Unpack a single-precision float. Note that this returns the magnitude 293 * Unpack a double-precision float. Note that this returns the magnitude
|
| /linux/include/linux/input/ |
| H A D | adxl34x.h | 100 * reference value and if the magnitude of the difference exceeds 105 * value is selected, the device compares the magnitude of the
|
| /linux/drivers/video/fbdev/ |
| H A D | q40fb.c | 59 * magnitude. in q40fb_setcolreg()
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A D | kvm-check-branches.sh | |