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

/freebsd-10-stable/sys/dev/ath/ath_hal/
H A Dah_eeprom_v1.c206 chan->gainF[0] = (athvals[loc] >> 4) & 0x3F;
209 chan->gainF[1] = (athvals[loc+1] >> 8) & 0x3F;
211 chan->gainF[2] = ((athvals[loc+1] << 4) & 0x30)
214 chan->gainF[3] = athvals[loc+2] & 0x3F;
216 chan->gainF[4] = (athvals[loc+3] >> 4) & 0x3F;
219 chan->gainF[5] = (athvals[loc+4] >> 8) & 0x3F;
221 chan->gainF[6] = ((athvals[loc+4] << 4) & 0x30)
224 chan->gainF[7] = athvals[loc+5] & 0x3F;
226 chan->gainF[8] = (athvals[loc+6] >> 4) & 0x3F;
229 chan->gainF[
[all...]
H A Dah_eeprom_v1.h74 uint8_t gainF[AR_TP_SCALING_ENTRIES]; member in struct:tpcMap
/freebsd-10-stable/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_reset.c652 * Find or interpolates the gainF value from the table ptr.
668 return pRD->gainF[i]; /* Exact Match */
677 return pRD->gainF[i];
694 return pRD->gainF[low];
700 * Perform interpolation between low and high values to find gainF
706 * Multiply the scale ratio by the gainF difference
709 interp = ((interp * (pRD->gainF[high] - pRD->gainF[low])) + 999) / 1000;
712 return interp + pRD->gainF[low];
780 /* Find Corresponding gainF value
[all...]

Completed in 102 milliseconds