Searched refs:br_exp (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/atm/
H A Dhorizon.c595 // br_exp and br_man are used to avoid overflowing (c*maxp*2^d) in make_rate()
600 unsigned int br_exp = 0; make_rate() local
611 while (br_exp < CR_MAXPEXP + CR_MIND && (br_man % 2 == 0)) { make_rate()
613 ++br_exp; make_rate()
615 // (br >>br_exp) <<br_exp == br and make_rate()
616 // br_exp <= CR_MAXPEXP+CR_MIND make_rate()
618 if (br_man <= (c << (CR_MAXPEXP+CR_MIND-br_exp))) { make_rate()
648 if (br_man <= (c << (CR_MAXPEXP+div-br_exp))) { make_rate()

Completed in 70 milliseconds