Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/
H A Dah_eeprom_v3.h130 #define EEP_DELTA 10 /* SCALE/10, to avoid arith divide */ macro
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/
H A Dar5211_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()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5212_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()