Lines Matching refs:Wlog
140 u8 Wlog; /* log(W) */ member
171 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()
175 if (fls(qth_max) + Wlog > 32) in red_check_params()
221 u32 qth_min, u32 qth_max, u8 Wlog, u8 Plog, in red_set_parms() argument
227 p->qth_min = qth_min << Wlog; in red_set_parms()
228 p->qth_max = qth_max << Wlog; in red_set_parms()
229 p->Wlog = Wlog; in red_set_parms()
341 return v->qavg + (backlog - (v->qavg >> p->Wlog)); in red_calc_qavg_no_idle_time()
380 return !(((qavg - p->qth_min) >> p->Wlog) * v->qcount < v->qR); in red_mark_probability()
445 qavg >>= p->Wlog; in red_adaptative_algo()