Searched refs:rxstats (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/net/wireless/ath/ath9k/
H A Dcommon-debug.c90 void ath9k_cmn_debug_stat_rx(struct ath_rx_stats *rxstats, ath9k_cmn_debug_stat_rx() argument
93 #define RX_PHY_ERR_INC(c) rxstats->phy_err_stats[c]++ ath9k_cmn_debug_stat_rx()
94 #define RX_CMN_STAT_INC(c) (rxstats->c++) ath9k_cmn_debug_stat_rx()
97 rxstats->rx_bytes_all += rs->rs_datalen; ath9k_cmn_debug_stat_rx()
130 rxstats->e); \ read_file_recv()
133 struct ath_rx_stats *rxstats = file->private_data; read_file_recv() local
179 struct ath_rx_stats *rxstats) ath9k_cmn_debug_recv()
181 debugfs_create_file("recv", S_IRUSR, debugfs_phy, rxstats, ath9k_cmn_debug_recv()
191 rxstats->phy_err_stats[p]); read_file_phy_err()
193 struct ath_rx_stats *rxstats = file->private_data; read_file_phy_err() local
256 struct ath_rx_stats *rxstats) ath9k_cmn_debug_phy_err()
258 debugfs_create_file("phy_err", S_IRUSR, debugfs_phy, rxstats, ath9k_cmn_debug_phy_err()
178 ath9k_cmn_debug_recv(struct dentry *debugfs_phy, struct ath_rx_stats *rxstats) ath9k_cmn_debug_recv() argument
255 ath9k_cmn_debug_phy_err(struct dentry *debugfs_phy, struct ath_rx_stats *rxstats) ath9k_cmn_debug_phy_err() argument
H A Dcommon-debug.h67 void ath9k_cmn_debug_stat_rx(struct ath_rx_stats *rxstats,
70 struct ath_rx_stats *rxstats);
72 struct ath_rx_stats *rxstats);
H A Ddebug.h29 #define RX_STAT_INC(c) (sc->debug.stats.rxstats.c++)
239 struct ath_rx_stats rxstats; member in struct:ath_stats
H A Ddebug.c823 ath9k_cmn_debug_stat_rx(&sc->debug.stats.rxstats, rs); ath_debug_stat_rx()
1245 data[i++] = sc->debug.stats.rxstats.elem; \
1344 ath9k_cmn_debug_recv(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); ath9k_init_debug()
1345 ath9k_cmn_debug_phy_err(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); ath9k_init_debug()
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/
H A Dvxge-main.c3134 struct vxge_ring_stats *rxstats = &vdev->vpaths[k].ring.stats; vxge_get_stats64() local
3140 start = u64_stats_fetch_begin_irq(&rxstats->syncp); vxge_get_stats64()
3142 packets = rxstats->rx_frms; vxge_get_stats64()
3143 multicast = rxstats->rx_mcast; vxge_get_stats64()
3144 bytes = rxstats->rx_bytes; vxge_get_stats64()
3145 } while (u64_stats_fetch_retry_irq(&rxstats->syncp, start)); vxge_get_stats64()
3151 net_stats->rx_errors += rxstats->rx_errors; vxge_get_stats64()
3152 net_stats->rx_dropped += rxstats->rx_dropped; vxge_get_stats64()

Completed in 139 milliseconds