Lines Matching refs:qth_min
129 u32 qth_min; /* Min avg length threshold: Wlog scaled */ member
170 static inline bool red_check_params(u32 qth_min, u32 qth_max, u8 Wlog, in red_check_params() argument
173 if (fls(qth_min) + Wlog >= 32) in red_check_params()
179 if (qth_max < qth_min) in red_check_params()
230 u32 qth_min, u32 qth_max, u8 Wlog, u8 Plog, in red_set_parms() argument
233 int delta = qth_max - qth_min; in red_set_parms()
236 p->qth_min = qth_min << Wlog; in red_set_parms()
257 p->target_min = qth_min + 2*delta; in red_set_parms()
258 p->target_max = qth_min + 3*delta; in red_set_parms()
389 return !(((qavg - p->qth_min) >> p->Wlog) * v->qcount < v->qR); in red_mark_probability()
400 if (qavg < p->qth_min) in red_cmp_thresh()