Home
last modified time | relevance | path

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

/drivers/md/bcache/
Dutil.h439 #define ewma_add(ewma, val, weight, factor) \ argument
441 (ewma) *= (weight) - 1; \
442 (ewma) += (val) << factor; \
443 (ewma) /= (weight); \
444 (ewma) >> factor; \
/drivers/net/wireless/ralink/rt2x00/
Drt2x00link.c36 static inline int rt2x00link_get_avg_rssi(struct ewma_rssi *ewma) in rt2x00link_get_avg_rssi() argument
40 avg = ewma_rssi_read(ewma); in rt2x00link_get_avg_rssi()