Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/ncsw/Peripherals/QM/
H A Dqm_portal_fqr.c1412 uint32_t maxP, roundDown, roundUp, tmpA, tmpN; in CalcWredCurve() local
1448 if (maxP % 4*pres) in CalcWredCurve()
1450 roundDown = maxP + (maxP % (4*pres)); in CalcWredCurve()
1452 if((roundUp - maxP) > (maxP - roundDown)) in CalcWredCurve()
1453 maxP = roundDown; in CalcWredCurve()
1455 maxP = roundUp; in CalcWredCurve()
1457 maxP = maxP/pres; in CalcWredCurve()
1458 ASSERT_COND(maxP <= 256); in CalcWredCurve()
1459 pn = (uint8_t)(maxP/4 - 1); in CalcWredCurve()
1461 if(maxP >= (p_WredCurve->maxTh - p_WredCurve->minTh)) in CalcWredCurve()
[all …]