Home
last modified time | relevance | path

Searched refs:new_ratio (Results 1 – 2 of 2) sorted by relevance

/drivers/isdn/i4l/
Disdn_bsdcomp.c202 unsigned int new_ratio; in bsd_check() local
225 new_ratio = db->in_count << RATIO_SCALE_LOG; in bsd_check()
228 new_ratio /= db->bytes_out; in bsd_check()
231 if (new_ratio < db->ratio || new_ratio < 1 * RATIO_SCALE) in bsd_check()
236 db->ratio = new_ratio; in bsd_check()
/drivers/net/
Dbsd_comp.c249 unsigned int new_ratio; in bsd_check() local
272 new_ratio = db->in_count << RATIO_SCALE_LOG; in bsd_check()
275 new_ratio /= db->bytes_out; in bsd_check()
278 if (new_ratio < db->ratio || new_ratio < 1 * RATIO_SCALE) in bsd_check()
283 db->ratio = new_ratio; in bsd_check()