Lines Matching refs:ii

338 	uint16_t ii, jj, kk;  in ar5413FillVpdTable()  local
343 ii = 0; in ar5413FillVpdTable()
349 while (ii <= (uint16_t)(Pmax - Pmin)) { in ar5413FillVpdTable()
363 retVpdList[pdGainIdx][ii] = kk; in ar5413FillVpdTable()
364 ii++; in ar5413FillVpdTable()
404 uint32_t ii, jj, kk; in ar5413getGainBoundariesAndPdadcsForPowers() local
425 for (ii = 0; ii < MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar5413getGainBoundariesAndPdadcsForPowers()
426 jj = MAX_NUM_PDGAINS_PER_CHANNEL - ii - 1; in ar5413getGainBoundariesAndPdadcsForPowers()
466 for (ii = 0; ii < numPdGainsUsed; ii++) { in ar5413getGainBoundariesAndPdadcsForPowers()
467 if (ii == (numPdGainsUsed - 1)) in ar5413getGainBoundariesAndPdadcsForPowers()
468 pPdGainBoundaries[ii] = Pmax_t2[ii] + in ar5413getGainBoundariesAndPdadcsForPowers()
471 pPdGainBoundaries[ii] = (uint16_t) in ar5413getGainBoundariesAndPdadcsForPowers()
472 ((Pmax_t2[ii] + Pmin_t2[ii+1]) / 2 ); in ar5413getGainBoundariesAndPdadcsForPowers()
473 if (pPdGainBoundaries[ii] > 63) { in ar5413getGainBoundariesAndPdadcsForPowers()
476 __func__, ii, pPdGainBoundaries[ii]);/*XXX*/ in ar5413getGainBoundariesAndPdadcsForPowers()
477 pPdGainBoundaries[ii] = 63; in ar5413getGainBoundariesAndPdadcsForPowers()
481 if (ii == 0) in ar5413getGainBoundariesAndPdadcsForPowers()
484 ss = (pPdGainBoundaries[ii-1] - Pmin_t2[ii]) - in ar5413getGainBoundariesAndPdadcsForPowers()
486 Vpd_step = (uint16_t)(VpdTable_I[ii][1] - VpdTable_I[ii][0]); in ar5413getGainBoundariesAndPdadcsForPowers()
492 tmpVal = (int16_t)(VpdTable_I[ii][0] + ss*Vpd_step); in ar5413getGainBoundariesAndPdadcsForPowers()
497 sizeCurrVpdTable = Pmax_t2[ii] - Pmin_t2[ii]; in ar5413getGainBoundariesAndPdadcsForPowers()
498 tgtIndex = pPdGainBoundaries[ii] + pdGainOverlap_t2 - Pmin_t2[ii]; in ar5413getGainBoundariesAndPdadcsForPowers()
502 pPDADCValues[kk++] = VpdTable_I[ii][ss++]; in ar5413getGainBoundariesAndPdadcsForPowers()
504 Vpd_step = (uint16_t)(VpdTable_I[ii][sizeCurrVpdTable-1] - in ar5413getGainBoundariesAndPdadcsForPowers()
505 VpdTable_I[ii][sizeCurrVpdTable-2]); in ar5413getGainBoundariesAndPdadcsForPowers()
514 (VpdTable_I[ii][sizeCurrVpdTable-1] + in ar5413getGainBoundariesAndPdadcsForPowers()
523 while (ii < MAX_NUM_PDGAINS_PER_CHANNEL) { in ar5413getGainBoundariesAndPdadcsForPowers()
524 pPdGainBoundaries[ii] = pPdGainBoundaries[ii-1]; in ar5413getGainBoundariesAndPdadcsForPowers()
525 ii++; in ar5413getGainBoundariesAndPdadcsForPowers()
648 uint32_t ii,jj; in ar5413GetMinPower() local
651 for (ii = 0; ii < MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar5413GetMinPower()
652 jj = MAX_NUM_PDGAINS_PER_CHANNEL - ii - 1; in ar5413GetMinPower()
666 uint32_t ii; in ar5413GetMaxPower() local
669 for (ii=0; ii< MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar5413GetMaxPower()
671 numVpd = data->pDataPerPDGain[ii].numVpd; in ar5413GetMaxPower()
673 Pmax = data->pDataPerPDGain[ii].pwr_t4[numVpd-1]; in ar5413GetMaxPower()