Lines Matching refs:index
594 /* return largest index i such that fval <= lookup[i][small] */
618 u16 index;
634 index = 0;
636 index = p/TFRC_SMALLEST_P - 1;
638 f = tfrc_calc_x_lookup[index][1];
641 index = p/(1000000/TFRC_CALC_X_ARRSIZE) - 1;
643 f = tfrc_calc_x_lookup[index][0];
666 int index;
682 index = tfrc_binsearch(fvalue, 1);
683 return (index + 1) * TFRC_CALC_X_SPLIT / TFRC_CALC_X_ARRSIZE;
687 index = tfrc_binsearch(fvalue, 0);
688 return (index + 1) * 1000000 / TFRC_CALC_X_ARRSIZE;