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

/netbsd-6-1-5-RELEASE/sys/external/isc/atheros_hal/dist/
H A Dah_eeprom_v3.h130 #define EEP_DELTA 10 /* SCALE/10, to avoid arith divide */ macro
/netbsd-6-1-5-RELEASE/sys/external/isc/atheros_hal/dist/ar5211/
H A Dar5211_reset.c1844 if (target < (uint32_t)(*pList * EEP_SCALE - EEP_DELTA)) {
1854 if (target > (uint32_t)(listEndValue * EEP_SCALE + EEP_DELTA)) {
1866 if (abs(pList[i] * EEP_SCALE - (int32_t) target) < EEP_DELTA) {
1876 if (target < (uint32_t)(pList[i + 1] * EEP_SCALE - EEP_DELTA)) {
/netbsd-6-1-5-RELEASE/sys/external/isc/atheros_hal/dist/ar5212/
H A Dar5212_reset.c2481 * EEP_DELTA of the search values. Return the closest
2483 * EEP_DELTA is a factional value; everything is scaled
2498 if (target < (uint32_t)(lp[0] * EEP_SCALE - EEP_DELTA)) {
2502 if (target > (uint32_t)(ep[-1] * EEP_SCALE + EEP_DELTA)) {
2513 if (abs(lp[0] * EEP_SCALE - target) < EEP_DELTA) {
2521 if (target < (uint32_t)(lp[1] * EEP_SCALE - EEP_DELTA)) {

Completed in 139 milliseconds