Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dcommon-debug.h72 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
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
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 …]
Ddebug.h29 #define RX_STAT_INC(sc, c) do { (sc)->debug.stats.rxstats.c++; } while (0)
243 struct ath_rx_stats rxstats; member
Ddebug.c870 ath9k_cmn_debug_stat_rx(&sc->debug.stats.rxstats, rs); in ath_debug_stat_rx()
1358 data[i++] = sc->debug.stats.rxstats.elem; \
1448 ath9k_cmn_debug_recv(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug()
1449 ath9k_cmn_debug_phy_err(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug()
/linux-6.1.9/drivers/net/ethernet/pensando/ionic/
Dionic_stats.c179 struct ionic_rx_stats *rxstats = &lif->rxqstats[q_num]; in ionic_add_lif_rxq_stats() local
181 stats->rx_packets += rxstats->pkts; in ionic_add_lif_rxq_stats()
182 stats->rx_bytes += rxstats->bytes; in ionic_add_lif_rxq_stats()
183 stats->rx_csum_none += rxstats->csum_none; in ionic_add_lif_rxq_stats()
184 stats->rx_csum_complete += rxstats->csum_complete; in ionic_add_lif_rxq_stats()
185 stats->rx_csum_error += rxstats->csum_error; in ionic_add_lif_rxq_stats()
186 stats->rx_hwstamp_valid += rxstats->hwstamp_valid; in ionic_add_lif_rxq_stats()
187 stats->rx_hwstamp_invalid += rxstats->hwstamp_invalid; in ionic_add_lif_rxq_stats()
296 struct ionic_rx_stats *rxstats; in ionic_sw_stats_get_rxq_values() local
299 rxstats = &lif->rxqstats[q_num]; in ionic_sw_stats_get_rxq_values()
[all …]
/linux-6.1.9/net/mac80211/
Dsta_info.c2392 static inline u64 sta_get_tidstats_msdu(struct ieee80211_sta_rx_stats *rxstats, in sta_get_tidstats_msdu() argument
2399 start = u64_stats_fetch_begin_irq(&rxstats->syncp); in sta_get_tidstats_msdu()
2400 value = rxstats->msdu[tid]; in sta_get_tidstats_msdu()
2401 } while (u64_stats_fetch_retry_irq(&rxstats->syncp, start)); in sta_get_tidstats_msdu()
2461 static inline u64 sta_get_stats_bytes(struct ieee80211_sta_rx_stats *rxstats) in sta_get_stats_bytes() argument
2467 start = u64_stats_fetch_begin_irq(&rxstats->syncp); in sta_get_stats_bytes()
2468 value = rxstats->bytes; in sta_get_stats_bytes()
2469 } while (u64_stats_fetch_retry_irq(&rxstats->syncp, start)); in sta_get_stats_bytes()