Searched refs:roundDown (Results 1 – 1 of 1) sorted by relevance
1412 uint32_t maxP, roundDown, roundUp, tmpA, tmpN; in CalcWredCurve() local1450 roundDown = maxP + (maxP % (4*pres)); in CalcWredCurve()1451 roundUp = roundDown + 4*pres; in CalcWredCurve()1452 if((roundUp - maxP) > (maxP - roundDown)) in CalcWredCurve()1453 maxP = roundDown; in CalcWredCurve()