Lines Matching defs:index
590 /* return largest index i such that fval <= lookup[i][small] */
615 u16 index;
631 index = 0;
633 index = p/TFRC_SMALLEST_P - 1;
635 f = tfrc_calc_x_lookup[index][1];
638 index = p/(1000000/TFRC_CALC_X_ARRSIZE) - 1;
640 f = tfrc_calc_x_lookup[index][0];
664 int index;
680 index = tfrc_binsearch(fvalue, 1);
681 return (index + 1) * TFRC_CALC_X_SPLIT / TFRC_CALC_X_ARRSIZE;
685 index = tfrc_binsearch(fvalue, 0);
686 return (index + 1) * 1000000 / TFRC_CALC_X_ARRSIZE;