Searched refs:rxstats (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | common-debug.c | 90 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 181 struct ath_rx_stats *rxstats) in ath9k_cmn_debug_recv() argument 183 debugfs_create_file("recv", 0400, debugfs_phy, rxstats, &fops_recv); in ath9k_cmn_debug_recv() 192 rxstats->phy_err_stats[p]) in read_file_phy_err() 194 struct ath_rx_stats *rxstats = file->private_data; in read_file_phy_err() local [all …]
|
H A D | common-debug.h | 72 void ath9k_cmn_debug_stat_rx(struct ath_rx_stats *rxstats, 75 struct ath_rx_stats *rxstats); 77 struct ath_rx_stats *rxstats); 89 static inline void ath9k_cmn_debug_stat_rx(struct ath_rx_stats *rxstats, in ath9k_cmn_debug_stat_rx() argument 95 struct ath_rx_stats *rxstats) in ath9k_cmn_debug_recv() argument 100 struct ath_rx_stats *rxstats) in ath9k_cmn_debug_phy_err() argument
|
/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_stats.c | 192 struct ionic_rx_stats *rxstats = &lif->rxqstats[q_num]; in ionic_add_lif_rxq_stats() local 194 stats->rx_packets += rxstats->pkts; in ionic_add_lif_rxq_stats() 195 stats->rx_bytes += rxstats->bytes; in ionic_add_lif_rxq_stats() 196 stats->rx_csum_none += rxstats->csum_none; in ionic_add_lif_rxq_stats() 197 stats->rx_csum_complete += rxstats->csum_complete; in ionic_add_lif_rxq_stats() 198 stats->rx_csum_error += rxstats->csum_error; in ionic_add_lif_rxq_stats() 199 stats->rx_hwstamp_valid += rxstats->hwstamp_valid; in ionic_add_lif_rxq_stats() 200 stats->rx_hwstamp_invalid += rxstats->hwstamp_invalid; in ionic_add_lif_rxq_stats() 201 stats->xdp_drop += rxstats->xdp_drop; in ionic_add_lif_rxq_stats() 202 stats->xdp_aborted += rxstats->xdp_aborted; in ionic_add_lif_rxq_stats() [all …]
|
/linux/net/mac80211/ |
H A D | sta_info.c | 2519 static inline u64 sta_get_tidstats_msdu(struct ieee80211_sta_rx_stats *rxstats, in sta_get_tidstats_msdu() argument 2526 start = u64_stats_fetch_begin(&rxstats->syncp); in sta_get_tidstats_msdu() 2527 value = rxstats->msdu[tid]; in sta_get_tidstats_msdu() 2528 } while (u64_stats_fetch_retry(&rxstats->syncp, start)); in sta_get_tidstats_msdu() 2588 static inline u64 sta_get_stats_bytes(struct ieee80211_sta_rx_stats *rxstats) in sta_get_stats_bytes() argument 2594 start = u64_stats_fetch_begin(&rxstats->syncp); in sta_get_stats_bytes() 2595 value = rxstats->bytes; in sta_get_stats_bytes() 2596 } while (u64_stats_fetch_retry(&rxstats->syncp, start)); in sta_get_stats_bytes()
|