Lines Matching defs:last
260 * Check first and last elements for out-of-bounds conditions.
471 * for last gain, pdGainBoundary == Pmax_t2, so will
652 int totalD,totalF, totalMin,last, i;
686 for (last=0,i=0; (i<numChannels) && (freq > data[i].channelValue);
687 last = i++);
688 totalD = data[i].channelValue - data[last].channelValue;
690 totalF = ar2316GetMaxPower(ah, &data[i]) - ar2316GetMaxPower(ah, &data[last]);
691 *maxPow = (int8_t) ((totalF*(freq-data[last].channelValue) +
692 ar2316GetMaxPower(ah, &data[last])*totalD)/totalD);
693 totalMin = ar2316GetMinPower(ah, &data[i]) - ar2316GetMinPower(ah, &data[last]);
694 *minPow = (int8_t) ((totalMin*(freq-data[last].channelValue) +
695 ar2316GetMinPower(ah, &data[last])*totalD)/totalD);