Searched refs:TFRC_CALC_X_ARRSIZE (Results 1 – 1 of 1) sorted by relevance
13 #define TFRC_CALC_X_ARRSIZE 500 macro15 #define TFRC_SMALLEST_P (TFRC_CALC_X_SPLIT/TFRC_CALC_X_ARRSIZE)87 static const u32 tfrc_calc_x_lookup[TFRC_CALC_X_ARRSIZE][2] = {593 u32 try, low = 0, high = TFRC_CALC_X_ARRSIZE - 1; in tfrc_binsearch()638 index = p/(1000000/TFRC_CALC_X_ARRSIZE) - 1; in tfrc_calc_x()674 if (fvalue > tfrc_calc_x_lookup[TFRC_CALC_X_ARRSIZE - 1][0]) { in tfrc_calc_x_reverse_lookup()679 if (fvalue <= tfrc_calc_x_lookup[TFRC_CALC_X_ARRSIZE - 1][1]) { in tfrc_calc_x_reverse_lookup()681 return (index + 1) * TFRC_CALC_X_SPLIT / TFRC_CALC_X_ARRSIZE; in tfrc_calc_x_reverse_lookup()686 return (index + 1) * 1000000 / TFRC_CALC_X_ARRSIZE; in tfrc_calc_x_reverse_lookup()