Lines Matching refs:last
573 * Check first and last elements for out-of-bounds conditions.
772 int numChannels=0,i,last;
814 for (last=0,i=0;
816 last=i++);
817 totalD = data[i].channelValue - data[last].channelValue;
819 totalF = data[i].maxPower_t4 - data[last].maxPower_t4;
820 *maxPow = (int8_t) ((totalF*(freq-data[last].channelValue) + data[last].maxPower_t4*totalD)/totalD);
822 totalMin = ar5112GetMinPower(ah,&data[i]) - ar5112GetMinPower(ah, &data[last]);
823 *minPow = (int8_t) ((totalMin*(freq-data[last].channelValue) + ar5112GetMinPower(ah, &data[last])*totalD)/totalD);