Lines Matching refs:win
29 static u32 minmax_subwin_update(struct minmax *m, u32 win, in minmax_subwin_update() argument
34 if (unlikely(dt > win)) { in minmax_subwin_update()
45 if (unlikely(val->t - m->s[0].t > win)) { in minmax_subwin_update()
50 } else if (unlikely(m->s[1].t == m->s[0].t) && dt > win/4) { in minmax_subwin_update()
56 } else if (unlikely(m->s[2].t == m->s[1].t) && dt > win/2) { in minmax_subwin_update()
67 u32 minmax_running_max(struct minmax *m, u32 win, u32 t, u32 meas) in minmax_running_max() argument
72 unlikely(val.t - m->s[2].t > win)) /* nothing left in window? */ in minmax_running_max()
80 return minmax_subwin_update(m, win, &val); in minmax_running_max()
85 u32 minmax_running_min(struct minmax *m, u32 win, u32 t, u32 meas) in minmax_running_min() argument
90 unlikely(val.t - m->s[2].t > win)) /* nothing left in window? */ in minmax_running_min()
98 return minmax_subwin_update(m, win, &val); in minmax_running_min()