Home
last modified time | relevance | path

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

/openbmc/linux/kernel/irq/
H A Dtimings.c300 static u64 irq_timings_ema_new(u64 value, u64 ema_old) in irq_timings_ema_new() argument
304 if (unlikely(!ema_old)) in irq_timings_ema_new()
307 diff = (value - ema_old) * EMA_ALPHA_VAL; in irq_timings_ema_new()
314 return ema_old + (diff >> EMA_ALPHA_SHIFT); in irq_timings_ema_new()