Searched refs:ewma (Results 1 – 9 of 9) sorted by relevance
8 struct ewma { struct14 extern void ewma_init(struct ewma *avg, unsigned long factor, argument17 extern struct ewma *ewma_add(struct ewma *avg, unsigned long val);25 static inline unsigned long ewma_read(const struct ewma *avg) in ewma_read()
37 void ewma_init(struct ewma *avg, unsigned long factor, unsigned long weight) in ewma_init()54 struct ewma *ewma_add(struct ewma *avg, unsigned long val) in ewma_add()
444 #define ewma_add(ewma, val, weight, factor) \ argument446 (ewma) *= (weight) - 1; \447 (ewma) += (val) << factor; \448 (ewma) /= (weight); \449 (ewma) >> factor; \
40 static inline int rt2x00link_get_avg_rssi(struct ewma *ewma) in rt2x00link_get_avg_rssi() argument44 avg = ewma_read(ewma); in rt2x00link_get_avg_rssi()
288 struct ewma rssi_ant;317 struct ewma avg_rssi;
386 struct ewma avg_signal;391 struct ewma chain_signal_avg[IEEE80211_MAX_CHAINS];
84 and ewma log need to be converted to the appropriate values.
88 struct ewma mrg_avg_pkt_len;603 static unsigned int get_mergeable_buf_len(struct ewma *avg_pkt_len) in get_mergeable_buf_len()1661 struct ewma *avg; in mergeable_rx_buffer_size_show()
1436 struct ewma ah_beacon_rssi_avg;