Home
last modified time | relevance | path

Searched refs:idxR (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()
315 if (idxR < 1) in ar2316FillVpdTable()
316 idxR = 1; /* extrapolate below */ in ar2316FillVpdTable()
319 if (pwrList[idxL] == pwrList[idxR]) 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
386 pRawDataset->numChannels, &(idxL), &(idxR)); in ar2316getGainBoundariesAndPdadcsForPowers()
[all …]
H A Dar2317.c281 uint32_t idxL, idxR; in ar2317FillVpdTable() local
291 &(idxL), &(idxR)); in ar2317FillVpdTable()
292 if (idxR < 1) in ar2317FillVpdTable()
293 idxR = 1; /* extrapolate below */ in ar2317FillVpdTable()
296 if (pwrList[idxL] == pwrList[idxR]) 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
364 pRawDataset->numChannels, &(idxL), &(idxR)); in ar2317getGainBoundariesAndPdadcsForPowers()
[all …]
H A Dar2413.c298 uint32_t idxL, idxR; in ar2413FillVpdTable() local
308 numIntercepts, &(idxL), &(idxR)); in ar2413FillVpdTable()
309 if (idxR < 1) in ar2413FillVpdTable()
310 idxR = 1; /* extrapolate below */ in ar2413FillVpdTable()
313 if (pwrList[idxL] == pwrList[idxR]) 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
380 pRawDataset->numChannels, &(idxL), &(idxR)); in ar2413getGainBoundariesAndPdadcsForPowers()
[all …]
H A Dar2425.c300 uint32_t idxL, idxR; in ar2425FillVpdTable() local
310 numIntercepts, &(idxL), &(idxR)); in ar2425FillVpdTable()
311 if (idxR < 1) in ar2425FillVpdTable()
312 idxR = 1; /* extrapolate below */ in ar2425FillVpdTable()
315 if (pwrList[idxL] == pwrList[idxR]) 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
387 pRawDataset->numChannels, &(idxL), &(idxR)); in ar2425getGainBoundariesAndPdadcsForPowers()
[all …]
H A Dar5413.c341 uint32_t idxL, idxR; in ar5413FillVpdTable() local
351 numIntercepts, &(idxL), &(idxR)); in ar5413FillVpdTable()
352 if (idxR < 1) in ar5413FillVpdTable()
353 idxR = 1; /* extrapolate below */ in ar5413FillVpdTable()
356 if (pwrList[idxL] == pwrList[idxR]) 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
423 pRawDataset->numChannels, &(idxL), &(idxR)); in ar5413getGainBoundariesAndPdadcsForPowers()
[all …]
H A Dar5112.c611 uint16_t idxR = 1; in getFullPwrTable() local
620 if (ii>pcdacs[idxR] && idxR < numPcdacs-1) { in getFullPwrTable()
622 idxR++; 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()
127 (int8_t) pRawDatasetOpLoop[idxR].pwrPdg[0][0])/2; in ar9287olcGetTxGainIndex()
H A Dar9280_olc.c66 uint16_t idxL = 0, idxR = 0, numPiers; in ar9280olcGetTxGainIndex() local
78 &idxL, &idxR); in ar9280olcGetTxGainIndex()
83 pcdac = rawDatasetOpLoop[idxR].pcdac[0][0]; in ar9280olcGetTxGainIndex()
85 rawDatasetOpLoop[idxR].pwrPdg[0][0])/2; 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()
695 pVpdR = pRawDataSet[idxR].vpdPdg[i]; in ar9285GetGainBoundariesAndPdadcs()
696 pPwrR = pRawDataSet[idxR].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()
1427 if (idxR < 1) in ath_ee_FillVpdTable()
1428 idxR = 1; /* extrapolate below */ in ath_ee_FillVpdTable()
1431 if (pPwrList[idxL] == pPwrList[idxR]) 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()
2477 pVpdR = pRawDataSet[idxR].vpdPdg[i]; in ar5416GetGainBoundariesAndPdadcs()
2478 pPwrR = pRawDataSet[idxR].pwrPdg[i]; in ar5416GetGainBoundariesAndPdadcs()
2495 bChans[idxL], bChans[idxR], vpdTableL[i][j], vpdTableR[i][j])); in ar5416GetGainBoundariesAndPdadcs()