Searched refs:ABS (Results 1 – 14 of 14) sorted by relevance
39 #ifndef ABS40 #define ABS(a) ((a) < 0 ? -(a) : (a)) macro
137 #ifndef ABS138 #define ABS(a) ((a) < 0 ? -(a) : (a)) macro
62 #ifndef ABS63 #define ABS(a) ((a) < 0 ? -(a) : (a)) macro
280 #define ABS(a) ((a) < 0 ? -(a) : (a)) macro
167 #define ABS(a) ((a<0)?(a*-1):a) macro
5746 #define ABS(x) ((x) >= 0 ? (x) : (-(x))) macro5861 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 …]
76 #define ABS(_x, _y) ((int)_x > (int)_y ? (int)_x - (int)_y : (int)_y - (int)_x) in ar9300_paprd_setup_single_table() macro119 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()
2900 #define ABS(_x, _y) ((int)_x > (int)_y ? (int)_x - (int)_y : (int)_y - (int)_x) in ar9300_eeprom_set_transmit_power() macro3092 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()
1045 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()
954 #define ABS(a) \ macro
234 if (ABS(offset_diff) < zfs_vdev_mirror_rotating_seek_offset) { in vdev_mirror_load()
1589 ASSERT(dsl_dir_phys(dd)->dd_used_bytes >= ABS(delta)); in dsl_dir_transfer_space()
124 ASSERT3U(ABS((int64_t)(new_bytes - old_bytes)), <=, ABS(delta)); in parent_delta()
5980 total_leaked += ABS(bytes_leaked); in zdb_check_for_obsolete_leaks()