Lines Matching refs:ii

301 	uint16_t ii, jj, kk;  in ar2316FillVpdTable()  local
306 ii = 0; in ar2316FillVpdTable()
312 while (ii <= (uint16_t)(Pmax - Pmin)) { in ar2316FillVpdTable()
326 retVpdList[pdGainIdx][ii] = kk; in ar2316FillVpdTable()
327 ii++; in ar2316FillVpdTable()
367 uint32_t ii, jj, kk; in ar2316getGainBoundariesAndPdadcsForPowers() local
388 for (ii = 0; ii < MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar2316getGainBoundariesAndPdadcsForPowers()
389 jj = MAX_NUM_PDGAINS_PER_CHANNEL - ii - 1; in ar2316getGainBoundariesAndPdadcsForPowers()
429 for (ii = 0; ii < numPdGainsUsed; ii++) { in ar2316getGainBoundariesAndPdadcsForPowers()
430 if (ii == (numPdGainsUsed - 1)) in ar2316getGainBoundariesAndPdadcsForPowers()
431 pPdGainBoundaries[ii] = Pmax_t2[ii] + in ar2316getGainBoundariesAndPdadcsForPowers()
434 pPdGainBoundaries[ii] = (uint16_t) in ar2316getGainBoundariesAndPdadcsForPowers()
435 ((Pmax_t2[ii] + Pmin_t2[ii+1]) / 2 ); in ar2316getGainBoundariesAndPdadcsForPowers()
436 if (pPdGainBoundaries[ii] > 63) { in ar2316getGainBoundariesAndPdadcsForPowers()
439 __func__, ii, pPdGainBoundaries[ii]);/*XXX*/ in ar2316getGainBoundariesAndPdadcsForPowers()
440 pPdGainBoundaries[ii] = 63; in ar2316getGainBoundariesAndPdadcsForPowers()
444 if (ii == 0) in ar2316getGainBoundariesAndPdadcsForPowers()
447 ss = (pPdGainBoundaries[ii-1] - Pmin_t2[ii]) - in ar2316getGainBoundariesAndPdadcsForPowers()
449 Vpd_step = (uint16_t)(VpdTable_I[ii][1] - VpdTable_I[ii][0]); in ar2316getGainBoundariesAndPdadcsForPowers()
455 tmpVal = (int16_t)(VpdTable_I[ii][0] + ss*Vpd_step); in ar2316getGainBoundariesAndPdadcsForPowers()
460 sizeCurrVpdTable = Pmax_t2[ii] - Pmin_t2[ii]; in ar2316getGainBoundariesAndPdadcsForPowers()
461 tgtIndex = pPdGainBoundaries[ii] + pdGainOverlap_t2 - Pmin_t2[ii]; in ar2316getGainBoundariesAndPdadcsForPowers()
465 pPDADCValues[kk++] = VpdTable_I[ii][ss++]; in ar2316getGainBoundariesAndPdadcsForPowers()
467 Vpd_step = (uint16_t)(VpdTable_I[ii][sizeCurrVpdTable-1] - in ar2316getGainBoundariesAndPdadcsForPowers()
468 VpdTable_I[ii][sizeCurrVpdTable-2]); in ar2316getGainBoundariesAndPdadcsForPowers()
477 (VpdTable_I[ii][sizeCurrVpdTable-1] + in ar2316getGainBoundariesAndPdadcsForPowers()
486 while (ii < MAX_NUM_PDGAINS_PER_CHANNEL) { in ar2316getGainBoundariesAndPdadcsForPowers()
487 pPdGainBoundaries[ii] = pPdGainBoundaries[ii-1]; in ar2316getGainBoundariesAndPdadcsForPowers()
488 ii++; in ar2316getGainBoundariesAndPdadcsForPowers()
610 uint32_t ii,jj; in ar2316GetMinPower() local
613 for (ii = 0; ii < MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar2316GetMinPower()
614 jj = MAX_NUM_PDGAINS_PER_CHANNEL - ii - 1; in ar2316GetMinPower()
628 uint32_t ii; in ar2316GetMaxPower() local
631 for (ii=0; ii< MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar2316GetMaxPower()
633 numVpd = data->pDataPerPDGain[ii].numVpd; in ar2316GetMaxPower()
635 Pmax = data->pDataPerPDGain[ii].pwr_t4[numVpd-1]; in ar2316GetMaxPower()