Lines Matching defs:last
237 * Check first and last elements for out-of-bounds conditions.
449 * for last gain, pdGainBoundary == Pmax_t2, so will
632 int totalD,totalF, totalMin,last, i;
666 for (last=0,i=0; (i<numChannels) && (freq > data[i].channelValue);
667 last = i++);
668 totalD = data[i].channelValue - data[last].channelValue;
670 totalF = ar2317GetMaxPower(ah, &data[i]) - ar2317GetMaxPower(ah, &data[last]);
671 *maxPow = (int8_t) ((totalF*(freq-data[last].channelValue) +
672 ar2317GetMaxPower(ah, &data[last])*totalD)/totalD);
673 totalMin = ar2317GetMinPower(ah, &data[i]) - ar2317GetMinPower(ah, &data[last]);
674 *minPow = (int8_t) ((totalMin*(freq-data[last].channelValue) +
675 ar2317GetMinPower(ah, &data[last])*totalD)/totalD);