| /src/sys/external/isc/atheros_hal/dist/ |
| ah_eeprom_v1.c | 204 /* Copy pcdac and gain_f values from EEPROM */ 205 chan->pcdac[0] = (athvals[loc] >> 10) & 0x3F; 207 chan->pcdac[1] = ((athvals[loc] << 2) & 0x3C) 210 chan->pcdac[2] = (athvals[loc+1] >> 2) & 0x3F; 213 chan->pcdac[3] = (athvals[loc+2] >> 6) & 0x3F; 215 chan->pcdac[4] = (athvals[loc+3] >> 10) & 0x3F; 217 chan->pcdac[5] = ((athvals[loc+3] << 2) & 0x3C) 220 chan->pcdac[6] = (athvals[loc+4] >> 2) & 0x3F; 223 chan->pcdac[7] = (athvals[loc+5] >> 6) & 0x3F; 225 chan->pcdac[8] = (athvals[loc+6] >> 10) & 0x3F [all...] |
| ah_eeprom_v1.h | 55 #define AR_TP_SCALING_ENTRIES 11 /* # entries in transmit power dBm->pcdac */ 73 uint8_t pcdac[AR_TP_SCALING_ENTRIES]; member in struct:tpcMap
|
| ah_eeprom_v3.c | 227 pExpnXPD->pcdac[0] = pCalCh->pcd1_xg0; 228 pExpnXPD->pcdac[1] = (uint16_t) 229 (pExpnXPD->pcdac[0] + pCalCh->pcd2_delta_xg0); 230 pExpnXPD->pcdac[2] = (uint16_t) 231 (pExpnXPD->pcdac[1] + pCalCh->pcd3_delta_xg0); 232 pExpnXPD->pcdac[3] = (uint16_t) 233 (pExpnXPD->pcdac[2] + pCalCh->pcd4_delta_xg0); 241 pPowerExpn->pDataPerChannel[ii].pDataPerXPD[xgainList[0]].pcdac[0] = pCalCh->pcd1_xg0; 242 pPowerExpn->pDataPerChannel[ii].pDataPerXPD[xgainList[1]].pcdac[0] = 20; 243 pPowerExpn->pDataPerChannel[ii].pDataPerXPD[xgainList[1]].pcdac[1] = 35 [all...] |
| ah_eeprom_v14.h | 231 uint8_t pcdac[2][5]; /* pcdac used for power measurement */ member in struct:calDataPerFreqOpLoop
|
| ah_eeprom_v3.h | 153 /* Used during pcdac table construction */ 185 /* points to the appropriate pcdac structs in the above struct based on mode */ 236 uint16_t pcdac[NUM_POINTS_XPD0]; member in struct:__anonb7562fc50208 264 int16_t pwr1_xg3; /* pcdac = 20 */ 265 int16_t pwr2_xg3; /* pcdac = 35 */ 266 int16_t pwr3_xg3; /* pcdac = 63 */
|
| /src/sys/external/isc/atheros_hal/dist/ar5210/ |
| ar5210_reset.c | 615 * Returns: the pcdac value 627 if (pRD->pcdac[i] != 63) 628 return pRD->pcdac[i]; 632 if (pRD->pcdac[i] != 63 && pRD->pcdac[i-1] != 63) { 633 interp = (350 * (pRD->pcdac[i] - pRD->pcdac[i-1])) + 999; 634 interp = (interp / 1000) + pRD->pcdac[i-1]; 640 if (pRD->pcdac[i] != 63) 641 return pRD->pcdac[i] [all...] |
| /src/sys/external/isc/atheros_hal/dist/ar5416/ |
| ar9280.c | 193 minPcdac = data->pDataPerXPD[minIndex].pcdac[0]; 197 minPcdac = data->pDataPerXPD[minIndex].pcdac[i];
|
| ar2133.c | 257 minPcdac = data->pDataPerXPD[minIndex].pcdac[0]; 261 minPcdac = data->pDataPerXPD[minIndex].pcdac[i];
|
| /src/sys/external/isc/atheros_hal/dist/ar5212/ |
| ar5112.c | 428 OS_MEMCPY(&pcdacs[0], &pRawCh->pDataPerXPD[jj].pcdac[0], 441 OS_MEMCPY(&pcdacs[0], &pRawCh->pDataPerXPD[jj].pcdac[0], 455 OS_MEMCPY(&pcdacs[0], &pRawCh->pDataPerXPD[jj].pcdac[0], 609 "%s: at least 2 pcdac values needed [%d]\n", 651 /* Search for highest pcdac 0.25dB below maxPower */ 689 uint16_t msbFlag = 0x40; // turns on the 7th bit of the pcdac 700 /* Search for highest pcdac 0.25dB below maxPower */ 748 minPcdac = data->pDataPerXPD[minIndex].pcdac[0]; 752 minPcdac = data->pDataPerXPD[minIndex].pcdac[i];
|
| ar5111.c | 52 static void ar5212GetLowerUpperPcdacs(uint16_t pcdac, uint16_t channel, 406 /* setup the pcdac struct to point to the correct info, based on mode */ 450 /* Now scale the pcdac values to fit in the 64 entry power table */ 471 * this pcdac the same as the power from the 472 * next highest pcdac. 484 /* Find the first power level with a pcdac */ 488 /* Write all the first pcdac entries based off the pcdacMin */ 516 /* Write all the last pcdac entries based off the last valid pcdac */ 530 * Get or interpolate the pcdac value from the calibrated data [all...] |
| /src/sys/dev/ic/ |
| arn9280.c | 422 uint8_t fbin, pcdac, pwr, idx; local in function:ar9280_olpc_get_pdadcs 445 /* Find power control digital-to-analog converter (PCDAC) value. */ 446 pcdac = pierdata[hi].pcdac[0][0]; 448 if (pcdac <= sc->sc_tx_gain_tbl[idx]) 453 "fbin=%d lo=%d hi=%d pwr=%d pcdac=%d txgain=%d\n", 454 fbin, lo, hi, pwr, pcdac, idx);
|
| arn5008reg.h | 1005 uint8_t pcdac[2][5]; member in struct:ar_cal_data_per_freq_olpc
|
| /src/sys/external/isc/atheros_hal/dist/ar5211/ |
| ar5211_reset.c | 129 static void ar5211GetLowerUpperPcdacs(uint16_t pcdac, 1346 /* setup the pcdac struct to point to the correct info, based on mode */ 1432 /* Now scale the pcdac values to fit in the 64 entry power table */ 1453 * this pcdac the same as the power from the 1454 * next highest pcdac. 1466 /* Find the first power level with a pcdac */ 1469 /* Write all the first pcdac entries based off the pcdacMin */ 1493 /* Write all the last pcdac entries based off the last valid pcdac */ 1711 * Get or interpolate the pcdac value from the calibrated dat [all...] |