Home
last modified time | relevance | path

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

/dragonfly/sys/dev/netif/ath/ath_hal/ar5212/
HDar2317.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 …]
HDar2413.c301 uint32_t idxL, idxR; in ar2413FillVpdTable() local
311 numIntercepts, &(idxL), &(idxR)); in ar2413FillVpdTable()
312 if (idxR < 1) in ar2413FillVpdTable()
313 idxR = 1; /* extrapolate below */ in ar2413FillVpdTable()
316 if (pwrList[idxL] == pwrList[idxR]) in ar2413FillVpdTable()
320 (((currPwr - pwrList[idxL])*VpdList[idxR]+ in ar2413FillVpdTable()
321 (pwrList[idxR] - currPwr)*VpdList[idxL])/ in ar2413FillVpdTable()
322 (pwrList[idxR] - pwrList[idxL])); in ar2413FillVpdTable()
366 uint32_t idxL, idxR; in ar2413getGainBoundariesAndPdadcsForPowers() local
383 pRawDataset->numChannels, &(idxL), &(idxR)); in ar2413getGainBoundariesAndPdadcsForPowers()
[all …]
HDar2316.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 …]
HDar2425.c303 uint32_t idxL, idxR; in ar2425FillVpdTable() local
313 numIntercepts, &(idxL), &(idxR)); in ar2425FillVpdTable()
314 if (idxR < 1) in ar2425FillVpdTable()
315 idxR = 1; /* extrapolate below */ in ar2425FillVpdTable()
318 if (pwrList[idxL] == pwrList[idxR]) in ar2425FillVpdTable()
322 (((currPwr - pwrList[idxL])*VpdList[idxR]+ in ar2425FillVpdTable()
323 (pwrList[idxR] - currPwr)*VpdList[idxL])/ in ar2425FillVpdTable()
324 (pwrList[idxR] - pwrList[idxL])); in ar2425FillVpdTable()
365 uint32_t idxL, idxR; in ar2425getGainBoundariesAndPdadcsForPowers() local
390 pRawDataset->numChannels, &(idxL), &(idxR)); in ar2425getGainBoundariesAndPdadcsForPowers()
[all …]
HDar5413.c345 uint32_t idxL, idxR; in ar5413FillVpdTable() local
355 numIntercepts, &(idxL), &(idxR)); in ar5413FillVpdTable()
356 if (idxR < 1) in ar5413FillVpdTable()
357 idxR = 1; /* extrapolate below */ in ar5413FillVpdTable()
360 if (pwrList[idxL] == pwrList[idxR]) in ar5413FillVpdTable()
364 (((currPwr - pwrList[idxL])*VpdList[idxR]+ in ar5413FillVpdTable()
365 (pwrList[idxR] - currPwr)*VpdList[idxL])/ in ar5413FillVpdTable()
366 (pwrList[idxR] - pwrList[idxL])); in ar5413FillVpdTable()
410 uint32_t idxL, idxR; in ar5413getGainBoundariesAndPdadcsForPowers() local
427 pRawDataset->numChannels, &(idxL), &(idxR)); in ar5413getGainBoundariesAndPdadcsForPowers()
[all …]
HDar5112.c611 uint16_t idxR = 1; in getFullPwrTable() local
620 if (idxR < numPcdacs-1 && ii>pcdacs[idxR]) { in getFullPwrTable()
622 idxR++; in getFullPwrTable()
625 pcdacs[idxL], pcdacs[idxR], power[idxL], power[idxR]); in getFullPwrTable()
/dragonfly/sys/dev/netif/ath/ath_hal/ar9002/
HDar9287_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()
HDar9280_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()
HDar9285_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()
/dragonfly/sys/dev/netif/ath/ath_hal/
HDah.c1319 uint16_t idxL, idxR; in ath_ee_FillVpdTable() local
1324 &(idxL), &(idxR)); in ath_ee_FillVpdTable()
1325 if (idxR < 1) in ath_ee_FillVpdTable()
1326 idxR = 1; /* extrapolate below */ in ath_ee_FillVpdTable()
1329 if (pPwrList[idxL] == pPwrList[idxR]) in ath_ee_FillVpdTable()
1332 …k = (uint16_t)( ((currPwr - pPwrList[idxL]) * pVpdList[idxR] + (pPwrList[idxR] - currPwr) * pVpdLi… in ath_ee_FillVpdTable()
1333 (pPwrList[idxR] - pPwrList[idxL]) ); in ath_ee_FillVpdTable()
/dragonfly/sys/dev/netif/ath/ath_hal/ar5416/
HDar5416_reset.c2424 uint16_t idxL, idxR, numPiers; /* Pier indexes */ in ar5416GetGainBoundariesAndPdadcs() local
2458 IEEE80211_IS_CHAN_2GHZ(chan)), bChans, numPiers, &idxL, &idxR); in ar5416GetGainBoundariesAndPdadcs()
2472 pVpdR = pRawDataSet[idxR].vpdPdg[i]; in ar5416GetGainBoundariesAndPdadcs()
2473 pPwrR = pRawDataSet[idxR].pwrPdg[i]; in ar5416GetGainBoundariesAndPdadcs()
2490 bChans[idxL], bChans[idxR], vpdTableL[i][j], vpdTableR[i][j])); in ar5416GetGainBoundariesAndPdadcs()