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

/freebsd-11-stable/sys/dev/ath/ath_hal/ar9002/
H A Dar9287_olc.c108 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 Dar9280_olc.c66 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 Dar9285_reset.c647 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 Dar2316.c304 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 Dar2317.c281 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 Dar2413.c298 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 Dar2425.c300 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 Dar5413.c342 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 Dar5112.c610 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 Dah.c1323 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 Dar5416_reset.c2424 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]));

Completed in 81 milliseconds