Lines Matching refs:ii

278 	uint16_t ii, jj, kk;  in ar2317FillVpdTable()  local
283 ii = 0; in ar2317FillVpdTable()
289 while (ii <= (uint16_t)(Pmax - Pmin)) { in ar2317FillVpdTable()
303 retVpdList[pdGainIdx][ii] = kk; in ar2317FillVpdTable()
304 ii++; in ar2317FillVpdTable()
345 uint32_t ii, jj, kk; in ar2317getGainBoundariesAndPdadcsForPowers() local
366 for (ii = 0; ii < MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar2317getGainBoundariesAndPdadcsForPowers()
367 jj = MAX_NUM_PDGAINS_PER_CHANNEL - ii - 1; in ar2317getGainBoundariesAndPdadcsForPowers()
407 for (ii = 0; ii < numPdGainsUsed; ii++) { in ar2317getGainBoundariesAndPdadcsForPowers()
408 if (ii == (numPdGainsUsed - 1)) in ar2317getGainBoundariesAndPdadcsForPowers()
409 pPdGainBoundaries[ii] = Pmax_t2[ii] + in ar2317getGainBoundariesAndPdadcsForPowers()
412 pPdGainBoundaries[ii] = (uint16_t) in ar2317getGainBoundariesAndPdadcsForPowers()
413 ((Pmax_t2[ii] + Pmin_t2[ii+1]) / 2 ); in ar2317getGainBoundariesAndPdadcsForPowers()
414 if (pPdGainBoundaries[ii] > 63) { in ar2317getGainBoundariesAndPdadcsForPowers()
417 __func__, ii, pPdGainBoundaries[ii]);/*XXX*/ in ar2317getGainBoundariesAndPdadcsForPowers()
418 pPdGainBoundaries[ii] = 63; in ar2317getGainBoundariesAndPdadcsForPowers()
422 if (ii == 0) in ar2317getGainBoundariesAndPdadcsForPowers()
425 ss = (pPdGainBoundaries[ii-1] - Pmin_t2[ii]) - in ar2317getGainBoundariesAndPdadcsForPowers()
427 Vpd_step = (uint16_t)(VpdTable_I[ii][1] - VpdTable_I[ii][0]); in ar2317getGainBoundariesAndPdadcsForPowers()
433 tmpVal = (int16_t)(VpdTable_I[ii][0] + ss*Vpd_step); in ar2317getGainBoundariesAndPdadcsForPowers()
438 sizeCurrVpdTable = Pmax_t2[ii] - Pmin_t2[ii]; in ar2317getGainBoundariesAndPdadcsForPowers()
439 tgtIndex = pPdGainBoundaries[ii] + pdGainOverlap_t2 - Pmin_t2[ii]; in ar2317getGainBoundariesAndPdadcsForPowers()
443 pPDADCValues[kk++] = VpdTable_I[ii][ss++]; in ar2317getGainBoundariesAndPdadcsForPowers()
445 Vpd_step = (uint16_t)(VpdTable_I[ii][sizeCurrVpdTable-1] - in ar2317getGainBoundariesAndPdadcsForPowers()
446 VpdTable_I[ii][sizeCurrVpdTable-2]); in ar2317getGainBoundariesAndPdadcsForPowers()
455 (VpdTable_I[ii][sizeCurrVpdTable-1] + in ar2317getGainBoundariesAndPdadcsForPowers()
464 while (ii < MAX_NUM_PDGAINS_PER_CHANNEL) { in ar2317getGainBoundariesAndPdadcsForPowers()
465 pPdGainBoundaries[ii] = pPdGainBoundaries[ii-1]; in ar2317getGainBoundariesAndPdadcsForPowers()
466 ii++; in ar2317getGainBoundariesAndPdadcsForPowers()
588 uint32_t ii,jj; in ar2317GetMinPower() local
591 for (ii = 0; ii < MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar2317GetMinPower()
592 jj = MAX_NUM_PDGAINS_PER_CHANNEL - ii - 1; in ar2317GetMinPower()
606 uint32_t ii; in ar2317GetMaxPower() local
610 for (ii=0; ii< MAX_NUM_PDGAINS_PER_CHANNEL; ii++) { in ar2317GetMaxPower()
612 numVpd = data->pDataPerPDGain[ii].numVpd; in ar2317GetMaxPower()
614 Pmax = data->pDataPerPDGain[ii].pwr_t4[numVpd-1]; in ar2317GetMaxPower()
615 vpdmax = data->pDataPerPDGain[ii].Vpd[numVpd-1]; in ar2317GetMaxPower()