Searched refs:icg (Results 1 – 1 of 1) sorted by relevance
2276 int x, icg, pcr = atm_pcr_goal(&qos->txtp); in pcr_to_cbricg() local2284 icg = (3125 << (9 + CBRICG_FRAC_BITS)) - (x << CBRICG_FRAC_BITS); in pcr_to_cbricg()2286 icg += x - 1; in pcr_to_cbricg()2287 icg /= x; in pcr_to_cbricg()2288 if (icg > CBRICG_MAX) in pcr_to_cbricg()2289 icg = CBRICG_MAX; in pcr_to_cbricg()2291 pcr, rounddown ? 'Y' : 'N', icg); in pcr_to_cbricg()2292 return icg; in pcr_to_cbricg()