/freebsd-11-stable/sys/dev/ath/ath_hal/ar9002/ |
H A D | ar9287_olc.c | 108 uint16_t idxL = 0, idxR = 0, numPiers; local 121 pCalChans, numPiers, &idxL, &idxR); 124 *pPwr = (int8_t) pRawDatasetOpLoop[idxL].pwrPdg[0][0]; 126 *pPwr = ((int8_t) pRawDatasetOpLoop[idxL].pwrPdg[0][0] +
|
H A D | ar9280_olc.c | 66 uint16_t idxL = 0, idxR = 0, numPiers; local 78 &idxL, &idxR); 80 pcdac = rawDatasetOpLoop[idxL].pcdac[0][0]; 81 *pwr = rawDatasetOpLoop[idxL].pwrPdg[0][0]; 84 *pwr = (rawDatasetOpLoop[idxL].pwrPdg[0][0] +
|
H A D | ar9285_reset.c | 647 uint16_t idxL, idxR, numPiers; /* Pier indexes */ local 679 IEEE80211_IS_CHAN_2GHZ(chan)), bChans, numPiers, &idxL, &idxR); 684 minPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][0]; 685 maxPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][4]; 687 pRawDataSet[idxL].pwrPdg[i], 688 pRawDataSet[idxL].vpdPdg[i], 693 pVpdL = pRawDataSet[idxL].vpdPdg[i]; 694 pPwrL = pRawDataSet[idxL].pwrPdg[i]; 715 bChans[idxL], bChans[idxR], vpdTableL[i][j], vpdTableR[i][j]));
|
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar2316.c | 304 uint32_t idxL, idxR; local 314 &(idxL), &(idxR)); 317 if (idxL == (uint32_t)(numIntercepts - 1)) 318 idxL = numIntercepts - 2; /* extrapolate above */ 319 if (pwrList[idxL] == pwrList[idxR]) 320 kk = VpdList[idxL]; 323 (((currPwr - pwrList[idxL])*VpdList[idxR]+ 324 (pwrList[idxR] - currPwr)*VpdList[idxL])/ 325 (pwrList[idxR] - pwrList[idxL])); 369 uint32_t idxL, idx local [all...] |
H A D | ar2317.c | 281 uint32_t idxL, idxR; local 291 &(idxL), &(idxR)); 294 if (idxL == (uint32_t)(numIntercepts - 1)) 295 idxL = numIntercepts - 2; /* extrapolate above */ 296 if (pwrList[idxL] == pwrList[idxR]) 297 kk = VpdList[idxL]; 300 (((currPwr - pwrList[idxL])*VpdList[idxR]+ 301 (pwrList[idxR] - currPwr)*VpdList[idxL])/ 302 (pwrList[idxR] - pwrList[idxL])); 347 uint32_t idxL, idx local [all...] |
H A D | ar2413.c | 298 uint32_t idxL, idxR; local 308 numIntercepts, &(idxL), &(idxR)); 311 if (idxL == (uint32_t)(numIntercepts - 1)) 312 idxL = numIntercepts - 2; /* extrapolate above */ 313 if (pwrList[idxL] == pwrList[idxR]) 314 kk = VpdList[idxL]; 317 (((currPwr - pwrList[idxL])*VpdList[idxR]+ 318 (pwrList[idxR] - currPwr)*VpdList[idxL])/ 319 (pwrList[idxR] - pwrList[idxL])); 363 uint32_t idxL, idx local [all...] |
H A D | ar2425.c | 300 uint32_t idxL, idxR; local 310 numIntercepts, &(idxL), &(idxR)); 313 if (idxL == (uint32_t)(numIntercepts - 1)) 314 idxL = numIntercepts - 2; /* extrapolate above */ 315 if (pwrList[idxL] == pwrList[idxR]) 316 kk = VpdList[idxL]; 319 (((currPwr - pwrList[idxL])*VpdList[idxR]+ 320 (pwrList[idxR] - currPwr)*VpdList[idxL])/ 321 (pwrList[idxR] - pwrList[idxL])); 362 uint32_t idxL, idx local [all...] |
H A D | ar5413.c | 342 uint32_t idxL, idxR; local 352 numIntercepts, &(idxL), &(idxR)); 355 if (idxL == (uint32_t)(numIntercepts - 1)) 356 idxL = numIntercepts - 2; /* extrapolate above */ 357 if (pwrList[idxL] == pwrList[idxR]) 358 kk = VpdList[idxL]; 361 (((currPwr - pwrList[idxL])*VpdList[idxR]+ 362 (pwrList[idxR] - currPwr)*VpdList[idxL])/ 363 (pwrList[idxR] - pwrList[idxL])); 407 uint32_t idxL, idx local [all...] |
H A D | ar5112.c | 610 uint16_t idxL = 0; local 621 idxL++; 625 pcdacs[idxL], pcdacs[idxR], power[idxL], power[idxR]);
|
/freebsd-11-stable/sys/dev/ath/ath_hal/ |
H A D | ah.c | 1323 uint16_t idxL, idxR; local 1328 &(idxL), &(idxR)); 1331 if (idxL == numIntercepts - 1) 1332 idxL = (uint16_t)(numIntercepts - 2); /* extrapolate above */ 1333 if (pPwrList[idxL] == pPwrList[idxR]) 1334 k = pVpdList[idxL]; 1336 k = (uint16_t)( ((currPwr - pPwrList[idxL]) * pVpdList[idxR] + (pPwrList[idxR] - currPwr) * pVpdList[idxL]) / 1337 (pPwrList[idxR] - pPwrList[idxL]) );
|
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_reset.c | 2424 uint16_t idxL, idxR, numPiers; /* Pier indexes */ local 2456 IEEE80211_IS_CHAN_2GHZ(chan)), bChans, numPiers, &idxL, &idxR); 2461 minPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][0]; 2462 maxPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][4]; 2463 ath_ee_FillVpdTable(minPwrT4[i], maxPwrT4[i], pRawDataSet[idxL].pwrPdg[i], 2464 pRawDataSet[idxL].vpdPdg[i], AR5416_PD_GAIN_ICEPTS, vpdTableI[i]); 2468 pVpdL = pRawDataSet[idxL].vpdPdg[i]; 2469 pPwrL = pRawDataSet[idxL].pwrPdg[i]; 2488 bChans[idxL], bChans[idxR], vpdTableL[i][j], vpdTableR[i][j]));
|