Lines Matching refs:ii

295 	uint16_t ii, jj, kk;  in ar2413FillVpdTable()  local
300 ii = 0; in ar2413FillVpdTable()
306 while (ii <= (uint16_t)(Pmax - Pmin)) { in ar2413FillVpdTable()
320 retVpdList[pdGainIdx][ii] = kk; in ar2413FillVpdTable()
321 ii++; in ar2413FillVpdTable()
361 uint32_t ii, jj, kk; in ar2413getGainBoundariesAndPdadcsForPowers() local
382 for (ii = 0; ii < MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar2413getGainBoundariesAndPdadcsForPowers()
383 jj = MAX_NUM_PDGAINS_PER_CHANNEL - ii - 1; in ar2413getGainBoundariesAndPdadcsForPowers()
423 for (ii = 0; ii < numPdGainsUsed; ii++) { in ar2413getGainBoundariesAndPdadcsForPowers()
424 if (ii == (numPdGainsUsed - 1)) in ar2413getGainBoundariesAndPdadcsForPowers()
425 pPdGainBoundaries[ii] = Pmax_t2[ii] + in ar2413getGainBoundariesAndPdadcsForPowers()
428 pPdGainBoundaries[ii] = (uint16_t) in ar2413getGainBoundariesAndPdadcsForPowers()
429 ((Pmax_t2[ii] + Pmin_t2[ii+1]) / 2 ); in ar2413getGainBoundariesAndPdadcsForPowers()
430 if (pPdGainBoundaries[ii] > 63) { in ar2413getGainBoundariesAndPdadcsForPowers()
433 __func__, ii, pPdGainBoundaries[ii]);/*XXX*/ in ar2413getGainBoundariesAndPdadcsForPowers()
434 pPdGainBoundaries[ii] = 63; in ar2413getGainBoundariesAndPdadcsForPowers()
438 if (ii == 0) in ar2413getGainBoundariesAndPdadcsForPowers()
441 ss = (pPdGainBoundaries[ii-1] - Pmin_t2[ii]) - in ar2413getGainBoundariesAndPdadcsForPowers()
443 Vpd_step = (uint16_t)(VpdTable_I[ii][1] - VpdTable_I[ii][0]); in ar2413getGainBoundariesAndPdadcsForPowers()
449 tmpVal = (int16_t)(VpdTable_I[ii][0] + ss*Vpd_step); in ar2413getGainBoundariesAndPdadcsForPowers()
454 sizeCurrVpdTable = Pmax_t2[ii] - Pmin_t2[ii]; in ar2413getGainBoundariesAndPdadcsForPowers()
455 tgtIndex = pPdGainBoundaries[ii] + pdGainOverlap_t2 - Pmin_t2[ii]; in ar2413getGainBoundariesAndPdadcsForPowers()
459 pPDADCValues[kk++] = VpdTable_I[ii][ss++]; in ar2413getGainBoundariesAndPdadcsForPowers()
461 Vpd_step = (uint16_t)(VpdTable_I[ii][sizeCurrVpdTable-1] - in ar2413getGainBoundariesAndPdadcsForPowers()
462 VpdTable_I[ii][sizeCurrVpdTable-2]); in ar2413getGainBoundariesAndPdadcsForPowers()
471 (VpdTable_I[ii][sizeCurrVpdTable-1] + in ar2413getGainBoundariesAndPdadcsForPowers()
480 while (ii < MAX_NUM_PDGAINS_PER_CHANNEL) { in ar2413getGainBoundariesAndPdadcsForPowers()
481 pPdGainBoundaries[ii] = pPdGainBoundaries[ii-1]; in ar2413getGainBoundariesAndPdadcsForPowers()
482 ii++; in ar2413getGainBoundariesAndPdadcsForPowers()
605 uint32_t ii,jj; in ar2413GetMinPower() local
608 for (ii = 0; ii < MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar2413GetMinPower()
609 jj = MAX_NUM_PDGAINS_PER_CHANNEL - ii - 1; in ar2413GetMinPower()
623 uint32_t ii; in ar2413GetMaxPower() local
626 for (ii=0; ii< MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar2413GetMaxPower()
628 numVpd = data->pDataPerPDGain[ii].numVpd; in ar2413GetMaxPower()
630 Pmax = data->pDataPerPDGain[ii].pwr_t4[numVpd-1]; in ar2413GetMaxPower()