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

/freebsd-13-stable/sys/dev/ath/ath_hal/
H A Dah_eeprom_v3.h132 #define EEP_DELTA 10 /* SCALE/10, to avoid arith divide */ macro
/freebsd-13-stable/tools/tools/ath/athrd/
H A Dathrd.c1274 * EEP_DELTA of the search values. Return the closest
1276 * EEP_DELTA is a factional value; everything is scaled
1291 if (target < (u_int32_t)(lp[0] * EEP_SCALE - EEP_DELTA)) {
1295 if (target > (u_int32_t)(ep[-1] * EEP_SCALE + EEP_DELTA)) {
1306 if (abs(lp[0] * EEP_SCALE - target) < EEP_DELTA) {
1314 if (target < (u_int32_t)(lp[1] * EEP_SCALE - EEP_DELTA)) {
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_reset.c1826 if (target < (uint32_t)(*pList * EEP_SCALE - EEP_DELTA)) {
1836 if (target > (uint32_t)(listEndValue * EEP_SCALE + EEP_DELTA)) {
1848 if (abs(pList[i] * EEP_SCALE - (int32_t) target) < EEP_DELTA) {
1858 if (target < (uint32_t)(pList[i + 1] * EEP_SCALE - EEP_DELTA)) {
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_reset.c2619 * EEP_DELTA of the search values. Return the closest
2621 * EEP_DELTA is a factional value; everything is scaled
2636 if (target < (uint32_t)(lp[0] * EEP_SCALE - EEP_DELTA)) {
2640 if (target > (uint32_t)(ep[-1] * EEP_SCALE + EEP_DELTA)) {
2651 if (udiff(lp[0] * EEP_SCALE, target) < EEP_DELTA) {
2659 if (target < (uint32_t)(lp[1] * EEP_SCALE - EEP_DELTA)) {

Completed in 72 milliseconds