Home
last modified time | relevance | path

Searched refs:EEP_DELTA (Results 1 – 4 of 4) sorted by relevance

/freebsd-13-stable/tools/tools/ath/athrd/
HDathrd.c1289 if (target < (u_int32_t)(lp[0] * EEP_SCALE - EEP_DELTA)) { in ar5212GetLowerUpperValues()
1293 if (target > (u_int32_t)(ep[-1] * EEP_SCALE + EEP_DELTA)) { in ar5212GetLowerUpperValues()
1304 if (abs(lp[0] * EEP_SCALE - target) < EEP_DELTA) { in ar5212GetLowerUpperValues()
1312 if (target < (u_int32_t)(lp[1] * EEP_SCALE - EEP_DELTA)) { in ar5212GetLowerUpperValues()
/freebsd-13-stable/sys/dev/ath/ath_hal/
HDah_eeprom_v3.h130 #define EEP_DELTA 10 /* SCALE/10, to avoid arith divide */ macro
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5211/
HDar5211_reset.c1824 if (target < (uint32_t)(*pList * EEP_SCALE - EEP_DELTA)) { in ar5211GetLowerUpperValues()
1834 if (target > (uint32_t)(listEndValue * EEP_SCALE + EEP_DELTA)) { in ar5211GetLowerUpperValues()
1846 if (abs(pList[i] * EEP_SCALE - (int32_t) target) < EEP_DELTA) { in ar5211GetLowerUpperValues()
1856 if (target < (uint32_t)(pList[i + 1] * EEP_SCALE - EEP_DELTA)) { in ar5211GetLowerUpperValues()
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5212/
HDar5212_reset.c2634 if (target < (uint32_t)(lp[0] * EEP_SCALE - EEP_DELTA)) { in ar5212GetLowerUpperValues()
2638 if (target > (uint32_t)(ep[-1] * EEP_SCALE + EEP_DELTA)) { in ar5212GetLowerUpperValues()
2649 if (udiff(lp[0] * EEP_SCALE, target) < EEP_DELTA) { in ar5212GetLowerUpperValues()
2657 if (target < (uint32_t)(lp[1] * EEP_SCALE - EEP_DELTA)) { in ar5212GetLowerUpperValues()