Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/wireless/ath/ath9k/
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", S_IRUSR, debugfs_phy, rxstats, in ath9k_cmn_debug_recv()
191 rxstats->phy_err_stats[p]); in read_file_phy_err()
193 struct ath_rx_stats *rxstats = file->private_data; in read_file_phy_err() local
[all …]
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);
Ddebug.h29 #define RX_STAT_INC(c) (sc->debug.stats.rxstats.c++)
239 struct ath_rx_stats rxstats; member
Ddebug.c823 ath9k_cmn_debug_stat_rx(&sc->debug.stats.rxstats, rs); in 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); in ath9k_init_debug()
1345 ath9k_cmn_debug_phy_err(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug()
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c3134 struct vxge_ring_stats *rxstats = &vdev->vpaths[k].ring.stats; in vxge_get_stats64() local
3140 start = u64_stats_fetch_begin_irq(&rxstats->syncp); in vxge_get_stats64()
3142 packets = rxstats->rx_frms; in vxge_get_stats64()
3143 multicast = rxstats->rx_mcast; in vxge_get_stats64()
3144 bytes = rxstats->rx_bytes; in vxge_get_stats64()
3145 } while (u64_stats_fetch_retry_irq(&rxstats->syncp, start)); in vxge_get_stats64()
3151 net_stats->rx_errors += rxstats->rx_errors; in vxge_get_stats64()
3152 net_stats->rx_dropped += rxstats->rx_dropped; in vxge_get_stats64()