Searched refs:fvalue (Results 1 – 2 of 2) sorted by relevance
662 u32 tfrc_calc_x_reverse_lookup(u32 fvalue) in tfrc_calc_x_reverse_lookup() argument666 if (fvalue == 0) /* f(p) = 0 whenever p = 0 */ in tfrc_calc_x_reverse_lookup()670 if (fvalue < tfrc_calc_x_lookup[0][1]) { in tfrc_calc_x_reverse_lookup()671 DCCP_WARN("fvalue %u smaller than resolution\n", fvalue); in tfrc_calc_x_reverse_lookup()674 if (fvalue > tfrc_calc_x_lookup[TFRC_CALC_X_ARRSIZE - 1][0]) { in tfrc_calc_x_reverse_lookup()675 DCCP_WARN("fvalue %u exceeds bounds!\n", fvalue); 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()680 index = tfrc_binsearch(fvalue, 1); in tfrc_calc_x_reverse_lookup()685 index = tfrc_binsearch(fvalue, 0); in tfrc_calc_x_reverse_lookup()
55 u32 tfrc_calc_x_reverse_lookup(u32 fvalue);