Home
last modified time | relevance | path

Searched refs:ABS (Results 1 – 14 of 14) sorted by relevance

/f-stack/freebsd/contrib/openzfs/lib/libspl/include/os/linux/sys/
H A Dsysmacros.h39 #ifndef ABS
40 #define ABS(a) ((a) < 0 ? -(a) : (a)) macro
/f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/
H A Dsysmacros.h137 #ifndef ABS
138 #define ABS(a) ((a) < 0 ? -(a) : (a)) macro
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dsysmacros.h62 #ifndef ABS
63 #define ABS(a) ((a) < 0 ? -(a) : (a)) macro
H A Dccompile.h280 #define ABS(a) ((a) < 0 ? -(a) : (a)) macro
/f-stack/freebsd/contrib/ncsw/inc/
H A Dncsw_ext.h167 #define ABS(a) ((a<0)?(a*-1):a) macro
/f-stack/freebsd/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_reset.c5746 #define ABS(x) ((x) >= 0 ? (x) : (-(x))) macro
5861 if ((ABS(magnitude) < ABS(magnitude_max)) || in ar9300_tx_iq_cal_outlier_detection()
5862 (ABS(magnitude) < ABS(magnitude_min))) in ar9300_tx_iq_cal_outlier_detection()
5866 if ((ABS(phase) < ABS(phase_max)) || in ar9300_tx_iq_cal_outlier_detection()
5867 (ABS(phase) < ABS(phase_min))) in ar9300_tx_iq_cal_outlier_detection()
5876 if (ABS(magnitude_max - magnitude_min) > MAX_MAG_DELTA) { in ar9300_tx_iq_cal_outlier_detection()
5877 if (ABS(magnitude_max - magnitude_avg) > in ar9300_tx_iq_cal_outlier_detection()
5878 ABS(magnitude_min - magnitude_avg)) in ar9300_tx_iq_cal_outlier_detection()
5894 if (ABS(phase_max - phase_min) > MAX_PHS_DELTA) { in ar9300_tx_iq_cal_outlier_detection()
5895 if (ABS(phase_max-phase_avg) > ABS(phase_min - phase_avg)) { in ar9300_tx_iq_cal_outlier_detection()
[all …]
H A Dar9300_paprd.c76 #define ABS(_x, _y) ((int)_x > (int)_y ? (int)_x - (int)_y : (int)_y - (int)_x) in ar9300_paprd_setup_single_table() macro
119 if (ABS(target_power_val_t2[power_tblindex], in ar9300_paprd_setup_single_table()
131 ABS(ahp->paprd_training_power, in ar9300_paprd_setup_single_table()
190 if (ABS(target_power_val_t2[power_tblindex], ahp->paprd_training_power) in ar9300_paprd_setup_single_table()
404 #undef ABS in ar9300_paprd_setup_single_table()
H A Dar9300_eeprom.c2900 #define ABS(_x, _y) ((int)_x > (int)_y ? (int)_x - (int)_y : (int)_y - (int)_x) in ar9300_eeprom_set_transmit_power() macro
3092 if (ABS(target_power_val_t2_eep[i], target_power_val_t2[i]) > in ar9300_eeprom_set_transmit_power()
3187 #undef ABS in ar9300_eeprom_set_transmit_power()
/f-stack/freebsd/contrib/ncsw/Peripherals/QM/
H A Dqm_portal_fqr.c1045 tmp = ABS((int)(p_CgParams->fqTailDropThreshold - tmpA*(1<<tmpN))); in qm_new_fq()
1102 tmp = ABS((int)(p_CgParams->fqTailDropThreshold - tmpA*(1<<tmpN))); in qm_new_fq()
1426 tmp = ABS((int)(p_WredCurve->maxTh - tmpA*(1<<tmpN))); in CalcWredCurve()
1471 tmp = ABS((int)(slope - tmpA/(1UL<<(tmpN%32)))); in CalcWredCurve()
2451 tmp = ABS((int)(p_CgParams->threshold - tmpA*(1<<tmpN))); in QM_CG_Create()
2711 tmp = ABS((int)(threshold - tmpA*(1<<tmpN))); in QM_CG_ModifyTailDropThreshold()
/f-stack/freebsd/contrib/edk2/Include/
H A DBase.h954 #define ABS(a) \ macro
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dvdev_mirror.c234 if (ABS(offset_diff) < zfs_vdev_mirror_rotating_seek_offset) { in vdev_mirror_load()
H A Ddsl_dir.c1589 ASSERT(dsl_dir_phys(dd)->dd_used_bytes >= ABS(delta)); in dsl_dir_transfer_space()
H A Ddsl_dataset.c124 ASSERT3U(ABS((int64_t)(new_bytes - old_bytes)), <=, ABS(delta)); in parent_delta()
/f-stack/freebsd/contrib/openzfs/cmd/zdb/
H A Dzdb.c5980 total_leaked += ABS(bytes_leaked); in zdb_check_for_obsolete_leaks()