Searched refs:TFRC_CALC_X_ARRSIZE (Results 1 – 1 of 1) sorted by relevance
17 #define TFRC_CALC_X_ARRSIZE 500 macro19 #define TFRC_SMALLEST_P (TFRC_CALC_X_SPLIT/TFRC_CALC_X_ARRSIZE)91 static const u32 tfrc_calc_x_lookup[TFRC_CALC_X_ARRSIZE][2] = {597 u32 try, low = 0, high = TFRC_CALC_X_ARRSIZE - 1; in tfrc_binsearch()642 index = p/(1000000/TFRC_CALC_X_ARRSIZE) - 1; in tfrc_calc_x()678 if (fvalue > tfrc_calc_x_lookup[TFRC_CALC_X_ARRSIZE - 1][0]) { in tfrc_calc_x_reverse_lookup()683 if (fvalue <= tfrc_calc_x_lookup[TFRC_CALC_X_ARRSIZE - 1][1]) { in tfrc_calc_x_reverse_lookup()685 return (index + 1) * TFRC_CALC_X_SPLIT / TFRC_CALC_X_ARRSIZE; in tfrc_calc_x_reverse_lookup()690 return (index + 1) * 1000000 / TFRC_CALC_X_ARRSIZE; in tfrc_calc_x_reverse_lookup()