Lines Matching defs:target
1366 * or a the target is before or after the range of the array.
1369 ath_ee_getLowerUpperIndex(uint8_t target, uint8_t *pList, uint16_t listSize,
1377 if (target <= pList[0]) {
1381 if (target >= pList[listSize-1]) {
1390 * then target is not between values, it is one of the values
1392 if (pList[i] == target) {
1400 if (target < pList[i + 1]) {
1452 ath_ee_interpolate(uint16_t target, uint16_t srcLeft, uint16_t srcRight,
1460 rv = (int16_t)( ((target - srcLeft) * targetRight +
1461 (srcRight - target) * targetLeft) / (srcRight - srcLeft) );