Home
last modified time | relevance | path

Searched refs:idxL (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar2316.c304 uint32_t idxL, idxR; in ar2316FillVpdTable() local
314 &(idxL), &(idxR)); in ar2316FillVpdTable()
317 if (idxL == (uint32_t)(numIntercepts - 1)) in ar2316FillVpdTable()
318 idxL = numIntercepts - 2; /* extrapolate above */ in ar2316FillVpdTable()
319 if (pwrList[idxL] == pwrList[idxR]) in ar2316FillVpdTable()
320 kk = VpdList[idxL]; in ar2316FillVpdTable()
323 (((currPwr - pwrList[idxL])*VpdList[idxR]+ in ar2316FillVpdTable()
324 (pwrList[idxR] - currPwr)*VpdList[idxL])/ in ar2316FillVpdTable()
325 (pwrList[idxR] - pwrList[idxL])); in ar2316FillVpdTable()
369 uint32_t idxL, idxR; in ar2316getGainBoundariesAndPdadcsForPowers() local
[all …]
H A Dar2317.c281 uint32_t idxL, idxR; in ar2317FillVpdTable() local
291 &(idxL), &(idxR)); in ar2317FillVpdTable()
294 if (idxL == (uint32_t)(numIntercepts - 1)) in ar2317FillVpdTable()
295 idxL = numIntercepts - 2; /* extrapolate above */ in ar2317FillVpdTable()
296 if (pwrList[idxL] == pwrList[idxR]) in ar2317FillVpdTable()
297 kk = VpdList[idxL]; in ar2317FillVpdTable()
300 (((currPwr - pwrList[idxL])*VpdList[idxR]+ in ar2317FillVpdTable()
301 (pwrList[idxR] - currPwr)*VpdList[idxL])/ in ar2317FillVpdTable()
302 (pwrList[idxR] - pwrList[idxL])); in ar2317FillVpdTable()
347 uint32_t idxL, idxR; in ar2317getGainBoundariesAndPdadcsForPowers() local
[all …]
H A Dar2413.c298 uint32_t idxL, idxR; in ar2413FillVpdTable() local
308 numIntercepts, &(idxL), &(idxR)); in ar2413FillVpdTable()
311 if (idxL == (uint32_t)(numIntercepts - 1)) in ar2413FillVpdTable()
312 idxL = numIntercepts - 2; /* extrapolate above */ in ar2413FillVpdTable()
313 if (pwrList[idxL] == pwrList[idxR]) in ar2413FillVpdTable()
314 kk = VpdList[idxL]; in ar2413FillVpdTable()
317 (((currPwr - pwrList[idxL])*VpdList[idxR]+ in ar2413FillVpdTable()
318 (pwrList[idxR] - currPwr)*VpdList[idxL])/ in ar2413FillVpdTable()
319 (pwrList[idxR] - pwrList[idxL])); in ar2413FillVpdTable()
363 uint32_t idxL, idxR; in ar2413getGainBoundariesAndPdadcsForPowers() local
[all …]
H A Dar2425.c300 uint32_t idxL, idxR; in ar2425FillVpdTable() local
310 numIntercepts, &(idxL), &(idxR)); in ar2425FillVpdTable()
313 if (idxL == (uint32_t)(numIntercepts - 1)) in ar2425FillVpdTable()
314 idxL = numIntercepts - 2; /* extrapolate above */ in ar2425FillVpdTable()
315 if (pwrList[idxL] == pwrList[idxR]) in ar2425FillVpdTable()
316 kk = VpdList[idxL]; in ar2425FillVpdTable()
319 (((currPwr - pwrList[idxL])*VpdList[idxR]+ in ar2425FillVpdTable()
320 (pwrList[idxR] - currPwr)*VpdList[idxL])/ in ar2425FillVpdTable()
321 (pwrList[idxR] - pwrList[idxL])); in ar2425FillVpdTable()
362 uint32_t idxL, idxR; in ar2425getGainBoundariesAndPdadcsForPowers() local
[all …]
H A Dar5413.c341 uint32_t idxL, idxR; in ar5413FillVpdTable() local
351 numIntercepts, &(idxL), &(idxR)); in ar5413FillVpdTable()
354 if (idxL == (uint32_t)(numIntercepts - 1)) in ar5413FillVpdTable()
355 idxL = numIntercepts - 2; /* extrapolate above */ in ar5413FillVpdTable()
356 if (pwrList[idxL] == pwrList[idxR]) in ar5413FillVpdTable()
357 kk = VpdList[idxL]; in ar5413FillVpdTable()
360 (((currPwr - pwrList[idxL])*VpdList[idxR]+ in ar5413FillVpdTable()
361 (pwrList[idxR] - currPwr)*VpdList[idxL])/ in ar5413FillVpdTable()
362 (pwrList[idxR] - pwrList[idxL])); in ar5413FillVpdTable()
406 uint32_t idxL, idxR; in ar5413getGainBoundariesAndPdadcsForPowers() local
[all …]
H A Dar5112.c610 uint16_t idxL = 0; in getFullPwrTable() local
621 idxL++; in getFullPwrTable()
625 pcdacs[idxL], pcdacs[idxR], power[idxL], power[idxR]); in getFullPwrTable()
/freebsd/sys/dev/ath/ath_hal/ar9002/
H A Dar9287_olc.c108 uint16_t idxL = 0, idxR = 0, numPiers; in ar9287olcGetTxGainIndex() local
121 pCalChans, numPiers, &idxL, &idxR); in ar9287olcGetTxGainIndex()
124 *pPwr = (int8_t) pRawDatasetOpLoop[idxL].pwrPdg[0][0]; in ar9287olcGetTxGainIndex()
126 *pPwr = ((int8_t) pRawDatasetOpLoop[idxL].pwrPdg[0][0] + in ar9287olcGetTxGainIndex()
H A Dar9280_olc.c66 uint16_t idxL = 0, idxR = 0, numPiers; in ar9280olcGetTxGainIndex() local
78 &idxL, &idxR); in ar9280olcGetTxGainIndex()
80 pcdac = rawDatasetOpLoop[idxL].pcdac[0][0]; in ar9280olcGetTxGainIndex()
81 *pwr = rawDatasetOpLoop[idxL].pwrPdg[0][0]; in ar9280olcGetTxGainIndex()
84 *pwr = (rawDatasetOpLoop[idxL].pwrPdg[0][0] + in ar9280olcGetTxGainIndex()
H A Dar9285_reset.c647 uint16_t idxL, idxR, numPiers; /* Pier indexes */ in ar9285GetGainBoundariesAndPdadcs() local
679 IEEE80211_IS_CHAN_2GHZ(chan)), bChans, numPiers, &idxL, &idxR); in ar9285GetGainBoundariesAndPdadcs()
684 minPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][0]; in ar9285GetGainBoundariesAndPdadcs()
685 maxPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][4]; in ar9285GetGainBoundariesAndPdadcs()
687 pRawDataSet[idxL].pwrPdg[i], in ar9285GetGainBoundariesAndPdadcs()
688 pRawDataSet[idxL].vpdPdg[i], in ar9285GetGainBoundariesAndPdadcs()
693 pVpdL = pRawDataSet[idxL].vpdPdg[i]; in ar9285GetGainBoundariesAndPdadcs()
694 pPwrL = pRawDataSet[idxL].pwrPdg[i]; in ar9285GetGainBoundariesAndPdadcs()
715 bChans[idxL], bChans[idxR], vpdTableL[i][j], vpdTableR[i][j])); in ar9285GetGainBoundariesAndPdadcs()
/freebsd/sys/dev/ath/ath_hal/
H A Dah.c1421 uint16_t idxL, idxR; in ath_ee_FillVpdTable() local
1426 &(idxL), &(idxR)); in ath_ee_FillVpdTable()
1429 if (idxL == numIntercepts - 1) in ath_ee_FillVpdTable()
1430 idxL = (uint16_t)(numIntercepts - 2); /* extrapolate above */ in ath_ee_FillVpdTable()
1431 if (pPwrList[idxL] == pPwrList[idxR]) in ath_ee_FillVpdTable()
1432 k = pVpdList[idxL]; in ath_ee_FillVpdTable()
1434 …k = (uint16_t)( ((currPwr - pPwrList[idxL]) * pVpdList[idxR] + (pPwrList[idxR] - currPwr) * pVpdLi… in ath_ee_FillVpdTable()
1435 (pPwrList[idxR] - pPwrList[idxL]) ); in ath_ee_FillVpdTable()
/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_reset.c2431 uint16_t idxL, idxR, numPiers; /* Pier indexes */ in ar5416GetGainBoundariesAndPdadcs() local
2463 IEEE80211_IS_CHAN_2GHZ(chan)), bChans, numPiers, &idxL, &idxR); in ar5416GetGainBoundariesAndPdadcs()
2468 minPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][0]; in ar5416GetGainBoundariesAndPdadcs()
2469 maxPwrT4[i] = pRawDataSet[idxL].pwrPdg[i][4]; in ar5416GetGainBoundariesAndPdadcs()
2470 ath_ee_FillVpdTable(minPwrT4[i], maxPwrT4[i], pRawDataSet[idxL].pwrPdg[i], in ar5416GetGainBoundariesAndPdadcs()
2471 pRawDataSet[idxL].vpdPdg[i], AR5416_PD_GAIN_ICEPTS, vpdTableI[i]); in ar5416GetGainBoundariesAndPdadcs()
2475 pVpdL = pRawDataSet[idxL].vpdPdg[i]; in ar5416GetGainBoundariesAndPdadcs()
2476 pPwrL = pRawDataSet[idxL].pwrPdg[i]; in ar5416GetGainBoundariesAndPdadcs()
2495 bChans[idxL], bChans[idxR], vpdTableL[i][j], vpdTableR[i][j])); in ar5416GetGainBoundariesAndPdadcs()