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

/freebsd-13-stable/sys/dev/ath/ath_hal/
H A Dah_eeprom_v1.c208 chan->gainF[0] = (athvals[loc] >> 4) & 0x3F;
211 chan->gainF[1] = (athvals[loc+1] >> 8) & 0x3F;
213 chan->gainF[2] = ((athvals[loc+1] << 4) & 0x30)
216 chan->gainF[3] = athvals[loc+2] & 0x3F;
218 chan->gainF[4] = (athvals[loc+3] >> 4) & 0x3F;
221 chan->gainF[5] = (athvals[loc+4] >> 8) & 0x3F;
223 chan->gainF[6] = ((athvals[loc+4] << 4) & 0x30)
226 chan->gainF[7] = athvals[loc+5] & 0x3F;
228 chan->gainF[8] = (athvals[loc+6] >> 4) & 0x3F;
231 chan->gainF[
[all...]
H A Dah_eeprom_v1.h76 uint8_t gainF[AR_TP_SCALING_ENTRIES]; member in struct:tpcMap
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_reset.c658 * Find or interpolates the gainF value from the table ptr.
674 return pRD->gainF[i]; /* Exact Match */
683 return pRD->gainF[i];
700 return pRD->gainF[low];
706 * Perform interpolation between low and high values to find gainF
712 * Multiply the scale ratio by the gainF difference
715 interp = ((interp * (pRD->gainF[high] - pRD->gainF[low])) + 999) / 1000;
718 return interp + pRD->gainF[low];
786 /* Find Corresponding gainF value
[all...]

Completed in 134 milliseconds