Lines Matching refs:Wlog
139 u8 Wlog; /* log(W) */ 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()
175 if (fls(qth_max) + Wlog >= 32) in red_check_params()
230 u32 qth_min, u32 qth_max, u8 Wlog, u8 Plog, in red_set_parms() argument
236 WRITE_ONCE(p->qth_min, qth_min << Wlog); in red_set_parms()
237 WRITE_ONCE(p->qth_max, qth_max << Wlog); in red_set_parms()
238 WRITE_ONCE(p->Wlog, Wlog); in red_set_parms()
350 return v->qavg + (backlog - (v->qavg >> p->Wlog)); in red_calc_qavg_no_idle_time()
389 return !(((qavg - p->qth_min) >> p->Wlog) * v->qcount < v->qR); in red_mark_probability()
454 qavg >>= p->Wlog; in red_adaptative_algo()