Searched refs:tgtIndex (Results 1 - 7 of 7) sorted by relevance

/freebsd-11-stable/sys/dev/ath/ath_hal/ar5212/
H A Dar2316.c382 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; local
461 tgtIndex = pPdGainBoundaries[ii] + pdGainOverlap_t2 - Pmin_t2[ii];
462 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
474 if (tgtIndex > maxIndex) { /* need to extrapolate above */
475 while(ss < (int16_t)tgtIndex) {
H A Dar2317.c360 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; local
439 tgtIndex = pPdGainBoundaries[ii] + pdGainOverlap_t2 - Pmin_t2[ii];
440 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
452 if (tgtIndex > maxIndex) { /* need to extrapolate above */
453 while(ss < (int16_t)tgtIndex) {
H A Dar2413.c376 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; local
455 tgtIndex = pPdGainBoundaries[ii] + pdGainOverlap_t2 - Pmin_t2[ii];
456 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
468 if (tgtIndex > maxIndex) { /* need to extrapolate above */
469 while(ss < (int16_t)tgtIndex) {
H A Dar2425.c381 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; local
456 tgtIndex = pPdGainBoundaries[ii] + pdGainOverlap_t2 - Pmin_t2[ii];
457 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
469 if (tgtIndex > maxIndex) { /* need to extrapolate above */
470 while(ss < (int16_t)tgtIndex) {
H A Dar5413.c420 uint32_t sizeCurrVpdTable, maxIndex, tgtIndex; local
499 tgtIndex = pPdGainBoundaries[ii] + pdGainOverlap_t2 - Pmin_t2[ii];
500 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
512 if (tgtIndex > maxIndex) { /* need to extrapolate above */
513 while(ss < (int16_t)tgtIndex) {
/freebsd-11-stable/sys/dev/ath/ath_hal/ar9002/
H A Dar9285_reset.c663 uint16_t sizeCurrVpdTable, maxIndex, tgtIndex; local
767 tgtIndex = (uint8_t)(pPdGainBoundaries[i] + tPdGainOverlap - (minPwrT4[i] / 2));
768 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
780 if (tgtIndex >= maxIndex) { /* need to extrapolate above */
781 while ((ss <= tgtIndex) && (k < (AR5416_NUM_PDADC_VALUES - 1))) {
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_reset.c2440 uint16_t sizeCurrVpdTable, maxIndex, tgtIndex; local
2540 tgtIndex = (uint8_t)(pPdGainBoundaries[i] + tPdGainOverlap - (minPwrT4[i] / 2));
2541 maxIndex = (tgtIndex < sizeCurrVpdTable) ? tgtIndex : sizeCurrVpdTable;
2553 if (tgtIndex >= maxIndex) { /* need to extrapolate above */
2554 while ((ss <= tgtIndex) && (k < (AR5416_NUM_PDADC_VALUES - 1))) {

Completed in 172 milliseconds