Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Dcommon-debug.h68 void ath9k_cmn_debug_stat_rx(struct ath_rx_stats *rxstats,
71 struct ath_rx_stats *rxstats);
73 struct ath_rx_stats *rxstats);
85 static inline void ath9k_cmn_debug_stat_rx(struct ath_rx_stats *rxstats, in ath9k_cmn_debug_stat_rx() argument
91 struct ath_rx_stats *rxstats) in ath9k_cmn_debug_recv() argument
96 struct ath_rx_stats *rxstats) in ath9k_cmn_debug_phy_err() argument
Dcommon-debug.c90 void ath9k_cmn_debug_stat_rx(struct ath_rx_stats *rxstats, in ath9k_cmn_debug_stat_rx() argument
93 #define RX_PHY_ERR_INC(c) rxstats->phy_err_stats[c]++ in ath9k_cmn_debug_stat_rx()
94 #define RX_CMN_STAT_INC(c) (rxstats->c++) in ath9k_cmn_debug_stat_rx()
97 rxstats->rx_bytes_all += rs->rs_datalen; in ath9k_cmn_debug_stat_rx()
130 rxstats->e); \ in read_file_recv()
133 struct ath_rx_stats *rxstats = file->private_data; in read_file_recv() local
179 struct ath_rx_stats *rxstats) in ath9k_cmn_debug_recv() argument
181 debugfs_create_file("recv", 0400, debugfs_phy, rxstats, &fops_recv); in ath9k_cmn_debug_recv()
190 rxstats->phy_err_stats[p]); in read_file_phy_err()
192 struct ath_rx_stats *rxstats = file->private_data; in read_file_phy_err() local
[all …]
Ddebug.h29 #define RX_STAT_INC(c) (sc->debug.stats.rxstats.c++)
242 struct ath_rx_stats rxstats; member
Ddebug.c821 ath9k_cmn_debug_stat_rx(&sc->debug.stats.rxstats, rs); in ath_debug_stat_rx()
1319 data[i++] = sc->debug.stats.rxstats.elem; \
1409 ath9k_cmn_debug_recv(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug()
1410 ath9k_cmn_debug_phy_err(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug()
/Linux-v4.19/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c3114 struct vxge_ring_stats *rxstats = &vdev->vpaths[k].ring.stats; in vxge_get_stats64() local
3120 start = u64_stats_fetch_begin_irq(&rxstats->syncp); in vxge_get_stats64()
3122 packets = rxstats->rx_frms; in vxge_get_stats64()
3123 multicast = rxstats->rx_mcast; in vxge_get_stats64()
3124 bytes = rxstats->rx_bytes; in vxge_get_stats64()
3125 } while (u64_stats_fetch_retry_irq(&rxstats->syncp, start)); in vxge_get_stats64()
3131 net_stats->rx_errors += rxstats->rx_errors; in vxge_get_stats64()
3132 net_stats->rx_dropped += rxstats->rx_dropped; in vxge_get_stats64()
/Linux-v4.19/net/mac80211/
Dsta_info.c2082 static inline u64 sta_get_stats_bytes(struct ieee80211_sta_rx_stats *rxstats) in sta_get_stats_bytes() argument
2088 start = u64_stats_fetch_begin(&rxstats->syncp); in sta_get_stats_bytes()
2089 value = rxstats->bytes; in sta_get_stats_bytes()
2090 } while (u64_stats_fetch_retry(&rxstats->syncp, start)); in sta_get_stats_bytes()