Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Daverage.h8 struct ewma { struct
14 extern void ewma_init(struct ewma *avg, unsigned long factor, argument
17 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()
/linux-4.1.27/lib/
Daverage.c37 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()
/linux-4.1.27/drivers/md/bcache/
Dutil.h444 #define ewma_add(ewma, val, weight, factor) \ argument
446 (ewma) *= (weight) - 1; \
447 (ewma) += (val) << factor; \
448 (ewma) /= (weight); \
449 (ewma) >> factor; \
/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2x00link.c40 static inline int rt2x00link_get_avg_rssi(struct ewma *ewma) in rt2x00link_get_avg_rssi() argument
44 avg = ewma_read(ewma); in rt2x00link_get_avg_rssi()
Drt2x00.h288 struct ewma rssi_ant;
317 struct ewma avg_rssi;
/linux-4.1.27/net/mac80211/
Dsta_info.h386 struct ewma avg_signal;
391 struct ewma chain_signal_avg[IEEE80211_MAX_CHAINS];
/linux-4.1.27/Documentation/networking/
Dgen_stats.txt84 and ewma log need to be converted to the appropriate values.
/linux-4.1.27/drivers/net/
Dvirtio_net.c88 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()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
Dath5k.h1436 struct ewma ah_beacon_rssi_avg;