/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
H A D | trx.c | 37 struct rtl_stats *pstats, 55 pstats->packet_matchbssid = packet_match_bssid; 56 pstats->packet_toself = packet_toself; 57 pstats->packet_beacon = packet_beacon; 58 pstats->is_cck = is_cck_rate; 59 pstats->rx_mimo_sig_qual[0] = -1; 60 pstats->rx_mimo_sig_qual[1] = -1; 121 pstats->rx_pwdb_all = pwdb_all; 122 pstats->recvsignalpower = rx_pwr_all; 125 if (pstats 36 _rtl92de_query_rxphystatus(struct ieee80211_hw *hw, struct rtl_stats *pstats, struct rx_desc_92d *pdesc, struct rx_fwinfo_92d *p_drvinfo, bool packet_match_bssid, bool packet_toself, bool packet_beacon) argument 184 rtl92d_loop_over_paths(struct ieee80211_hw *hw, struct rtl_stats *pstats) argument 217 _rtl92de_process_ui_rssi(struct ieee80211_hw *hw, struct rtl_stats *pstats) argument 249 _rtl92de_update_rxsignalstatistics(struct ieee80211_hw *hw, struct rtl_stats *pstats) argument 265 _rtl92de_process_pwdb(struct ieee80211_hw *hw, struct rtl_stats *pstats) argument 296 rtl92d_loop_over_streams(struct ieee80211_hw *hw, struct rtl_stats *pstats) argument 317 _rtl92de_process_ui_link_quality(struct ieee80211_hw *hw, struct rtl_stats *pstats) argument 364 _rtl92de_translate_rx_signal_stuff(struct ieee80211_hw *hw, struct sk_buff *skb, struct rtl_stats *pstats, struct rx_desc_92d *pdesc, struct rx_fwinfo_92d *p_drvinfo) argument [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | trx.c | 36 struct rtl_stats *pstats, __le32 *pdesc, 49 bool is_cck = pstats->is_cck; 51 pstats->packet_matchbssid = packet_match_bssid; 52 pstats->packet_toself = packet_toself; 53 pstats->packet_beacon = packet_beacon; 54 pstats->rx_mimo_sig_qual[0] = -1; 55 pstats->rx_mimo_sig_qual[1] = -1; 123 pstats->rx_pwdb_all = pwdb_all; 124 pstats->recvsignalpower = rx_pwr_all; 128 if (pstats 35 _rtl92se_query_rxphystatus(struct ieee80211_hw *hw, struct rtl_stats *pstats, __le32 *pdesc, struct rx_fwinfo *p_drvinfo, bool packet_match_bssid, bool packet_toself, bool packet_beacon) argument 194 _rtl92se_translate_rx_signal_stuff(struct ieee80211_hw *hw, struct sk_buff *skb, struct rtl_stats *pstats, __le32 *pdesc, struct rx_fwinfo *p_drvinfo) argument [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
H A D | trx.c | 27 struct rtl_stats *pstats, 44 pstats->packet_matchbssid = packet_match_bssid; 45 pstats->packet_toself = packet_toself; 46 pstats->is_cck = is_cck_rate; 47 pstats->packet_beacon = packet_beacon; 48 pstats->rx_mimo_sig_qual[0] = -1; 49 pstats->rx_mimo_sig_qual[1] = -1; 123 pstats->rx_pwdb_all = pwdb_all; 124 pstats->recvsignalpower = rx_pwr_all; 130 if (pstats 26 _rtl92ce_query_rxphystatus(struct ieee80211_hw *hw, struct rtl_stats *pstats, struct rx_desc_92c *pdesc, struct rx_fwinfo_92c *p_drvinfo, bool packet_match_bssid, bool packet_toself, bool packet_beacon) argument 211 _rtl92ce_translate_rx_signal_stuff(struct ieee80211_hw *hw, struct sk_buff *skb, struct rtl_stats *pstats, struct rx_desc_92c *pdesc, struct rx_fwinfo_92c *p_drvinfo) argument [all...] |
/linux-master/drivers/net/ethernet/amd/ |
H A D | nmclan_cs.c | 1133 static void pr_linux_stats(struct net_device_stats *pstats) argument 1137 (long)pstats->rx_packets, (long)pstats->tx_packets); 1139 (long)pstats->rx_errors, (long)pstats->tx_errors); 1141 (long)pstats->rx_dropped, (long)pstats->tx_dropped); 1143 (long)pstats->multicast, (long)pstats->collisions); 1146 (long)pstats 1163 pr_mace_stats(mace_statistics *pstats) argument [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A D | mac.c | 571 struct rtl_stats *pstats, 590 pstats->packet_matchbssid = packet_match_bssid; 591 pstats->packet_toself = packet_toself; 592 pstats->packet_beacon = packet_beacon; 593 pstats->is_cck = is_cck_rate; 594 pstats->RX_SIGQ[0] = -1; 595 pstats->RX_SIGQ[1] = -1; 644 pstats->rx_pwdb_all = pwdb_all; 645 pstats->recvsignalpower = rx_pwr_all; 649 if (pstats 570 _rtl92c_query_rxphystatus(struct ieee80211_hw *hw, struct rtl_stats *pstats, struct rx_desc_92c *p_desc, struct rx_fwinfo_92c *p_drvinfo, bool packet_match_bssid, bool packet_toself, bool packet_beacon) argument 710 rtl92c_translate_rx_signal_stuff(struct ieee80211_hw *hw, struct sk_buff *skb, struct rtl_stats *pstats, struct rx_desc_92c *pdesc, struct rx_fwinfo_92c *p_drvinfo) argument [all...] |
H A D | mac.h | 124 struct rtl_stats *pstats,
|
/linux-master/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cxgb2.c | 297 const struct cmac_statistics *pstats; local 300 pstats = p->mac->ops->statistics_update(p->mac, 303 ns->tx_packets = pstats->TxUnicastFramesOK + 304 pstats->TxMulticastFramesOK + pstats->TxBroadcastFramesOK; 306 ns->rx_packets = pstats->RxUnicastFramesOK + 307 pstats->RxMulticastFramesOK + pstats->RxBroadcastFramesOK; 309 ns->tx_bytes = pstats->TxOctetsOK; 310 ns->rx_bytes = pstats [all...] |
/linux-master/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_ethtool.c | 775 struct idpf_port_stats *pstats = &vport->port_stats; local 781 u64_stats_update_begin(&pstats->stats_sync); 782 u64_stats_set(&pstats->rx_hw_csum_err, 0); 783 u64_stats_set(&pstats->rx_hsplit, 0); 784 u64_stats_set(&pstats->rx_hsplit_hbo, 0); 785 u64_stats_set(&pstats->rx_bad_descs, 0); 786 u64_stats_set(&pstats->tx_linearize, 0); 787 u64_stats_set(&pstats->tx_busy, 0); 788 u64_stats_set(&pstats->tx_drops, 0); 789 u64_stats_set(&pstats [all...] |
/linux-master/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_stats.c | 553 struct host_port_stats *pstats = bnx2x_sp(bp, port_stats); local 630 pstats->pfc_frames_tx_hi = new->tx_stat_gtpp_hi; 631 pstats->pfc_frames_tx_lo = new->tx_stat_gtpp_lo; 633 pstats->pfc_frames_rx_hi = new->rx_stat_grpp_hi; 634 pstats->pfc_frames_rx_lo = new->rx_stat_grpp_lo; 638 pstats->mac_stx[1].rx_stat_mac_xpf_hi; 640 pstats->mac_stx[1].rx_stat_mac_xpf_lo; 643 pstats->mac_stx[1].tx_stat_outxoffsent_hi; 645 pstats->mac_stx[1].tx_stat_outxoffsent_lo; 648 pstats 659 struct host_port_stats *pstats = bnx2x_sp(bp, port_stats); local 750 struct host_port_stats *pstats = bnx2x_sp(bp, port_stats); local 808 struct host_port_stats *pstats = bnx2x_sp(bp, port_stats); local [all...] |
H A D | bnx2x_stats.h | 396 DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \ 397 diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \ 398 pstats->mac_stx[0].t##_hi = new->s##_hi; \ 399 pstats->mac_stx[0].t##_lo = new->s##_lo; \ 400 ADD_64(pstats->mac_stx[1].t##_hi, diff.hi, \ 401 pstats->mac_stx[1].t##_lo, diff.lo); \ 421 ADD_64(pstats->mac_stx[1].t##_hi, new->diff##_hi, \ 422 pstats->mac_stx[1].t##_lo, new->diff##_lo); \ 427 ADD_EXTEND_64(pstats->mac_stx[1].s##_hi, \ 428 pstats [all...] |
/linux-master/drivers/staging/rtl8192e/rtl8192e/ |
H A D | r8192E_dev.c | 1150 struct rtllib_rx_stats *pstats, 1175 pstats->bPacketMatchBSSID = precord_stats->bPacketMatchBSSID = 1177 pstats->bPacketToSelf = precord_stats->bPacketToSelf = bpacket_toself; 1178 pstats->bIsCCK = precord_stats->bIsCCK = is_cck_rate; 1179 pstats->bPacketBeacon = precord_stats->bPacketBeacon = bPacketBeacon; 1180 pstats->bToSelfBA = precord_stats->bToSelfBA = bToSelfBA; 1195 pstats->RxMIMOSignalQuality[0] = -1; 1196 pstats->RxMIMOSignalQuality[1] = -1; 1251 pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all; 1252 pstats 1148 _rtl92e_query_rxphystatus( struct r8192_priv *priv, struct rtllib_rx_stats *pstats, struct rx_desc *pdesc, struct rx_fwinfo *pdrvinfo, struct rtllib_rx_stats *precord_stats, bool bpacket_match_bssid, bool bpacket_toself, bool bPacketBeacon, bool bToSelfBA ) argument 1483 _rtl92e_translate_rx_signal_stats(struct net_device *dev, struct sk_buff *skb, struct rtllib_rx_stats *pstats, struct rx_desc *pdesc, struct rx_fwinfo *pdrvinfo) argument 1524 _rtl92e_update_received_rate_histogram_stats( struct net_device *dev, struct rtllib_rx_stats *pstats) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_stats.h | 293 #define PPORT_802_3_GET(pstats, c) \ 294 MLX5_GET64(ppcnt_reg, pstats->IEEE_802_3_counters, \ 296 #define PPORT_2863_GET(pstats, c) \ 297 MLX5_GET64(ppcnt_reg, pstats->RFC_2863_counters, \ 299 #define PPORT_2819_GET(pstats, c) \ 300 MLX5_GET64(ppcnt_reg, pstats->RFC_2819_counters, \ 302 #define PPORT_PHY_STATISTICAL_GET(pstats, c) \ 303 MLX5_GET64(ppcnt_reg, (pstats)->phy_statistical_counters, \ 305 #define PPORT_PER_PRIO_GET(pstats, prio, c) \ 306 MLX5_GET64(ppcnt_reg, pstats [all...] |
H A D | en_stats.c | 890 struct mlx5e_pport_stats *pstats = &priv->stats.pport; variable in typeref:struct:mlx5e_pport_stats 900 out = pstats->IEEE_802_3_counters; 1048 struct mlx5e_pport_stats *pstats = &priv->stats.pport; variable in typeref:struct:mlx5e_pport_stats 1055 out = pstats->RFC_2863_counters; 1107 struct mlx5e_pport_stats *pstats = &priv->stats.pport; variable in typeref:struct:mlx5e_pport_stats 1117 out = pstats->RFC_2819_counters; 1263 struct mlx5e_pport_stats *pstats = &priv->stats.pport; local 1270 out = pstats->phy_counters; 1277 out = pstats->phy_statistical_counters; 1458 struct mlx5e_pport_stats *pstats local 1651 struct mlx5e_pport_stats *pstats = &priv->stats.pport; local 1682 struct mlx5e_pport_stats *pstats = &priv->stats.pport; local 1904 struct mlx5e_pport_stats *pstats = &priv->stats.pport; local [all...] |
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | htt_rx.c | 3663 struct ath10k_per_peer_tx_stats *pstats, 3677 mcs = ATH10K_HW_MCS_RATE(pstats->ratecode); 3687 STATS_OP_FMT(SUCC).vht[0][mcs] += pstats->succ_bytes; 3688 STATS_OP_FMT(SUCC).vht[1][mcs] += pstats->succ_pkts; 3689 STATS_OP_FMT(FAIL).vht[0][mcs] += pstats->failed_bytes; 3690 STATS_OP_FMT(FAIL).vht[1][mcs] += pstats->failed_pkts; 3691 STATS_OP_FMT(RETRY).vht[0][mcs] += pstats->retry_bytes; 3692 STATS_OP_FMT(RETRY).vht[1][mcs] += pstats->retry_pkts; 3694 STATS_OP_FMT(SUCC).ht[0][ht_idx] += pstats->succ_bytes; 3695 STATS_OP_FMT(SUCC).ht[1][ht_idx] += pstats 3661 ath10k_accumulate_per_peer_tx_stats(struct ath10k *ar, struct ath10k_sta *arsta, struct ath10k_per_peer_tx_stats *pstats, s8 legacy_rate_idx) argument [all...] |
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_vnifilter.c | 126 struct vxlan_vni_stats_pcpu *pstats; local 130 pstats = per_cpu_ptr(vninode->stats, i); 132 start = u64_stats_fetch_begin(&pstats->syncp); 133 memcpy(&temp, &pstats->stats, sizeof(temp)); 134 } while (u64_stats_fetch_retry(&pstats->syncp, start)); 150 struct vxlan_vni_stats_pcpu *pstats = this_cpu_ptr(vninode->stats); local 152 u64_stats_update_begin(&pstats->syncp); 155 pstats->stats.rx_bytes += len; 156 pstats->stats.rx_packets++; 159 pstats [all...] |
/linux-master/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_stats.c | 468 char *pstats = dev->stats_mem.debugfs_mem; local 474 memset(pstats, 0, (OCRDMA_MAX_DBGFS_MEM)); 477 pstats += snprintf(pstats, 80, "DW[%d] = 0x%x\n", i, 486 char *pstats = dev->stats_mem.debugfs_mem; local 492 memset(pstats, 0, (OCRDMA_MAX_DBGFS_MEM)); 495 pstats += snprintf(pstats, 80, "DW[%d] = 0x%x\n", i, 641 struct ocrdma_stats *pstats = filp->private_data; local 642 struct ocrdma_dev *dev = pstats 689 struct ocrdma_stats *pstats = filp->private_data; local [all...] |
/linux-master/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-net.c | 770 struct xlgmac_stats *pstats = &pdata->stats; local 774 s->rx_packets = pstats->rxframecount_gb; 775 s->rx_bytes = pstats->rxoctetcount_gb; 776 s->rx_errors = pstats->rxframecount_gb - 777 pstats->rxbroadcastframes_g - 778 pstats->rxmulticastframes_g - 779 pstats->rxunicastframes_g; 780 s->multicast = pstats->rxmulticastframes_g; 781 s->rx_length_errors = pstats->rxlengtherror; 782 s->rx_crc_errors = pstats [all...] |
/linux-master/net/netfilter/ |
H A D | nf_tables_core.c | 185 struct nft_stats __percpu *pstats; local 190 pstats = READ_ONCE(base_chain->stats); 191 if (pstats) { 193 stats = this_cpu_ptr(pstats);
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_fcoe.c | 678 struct fcoe_tx_stat pstats; local 681 memset(&pstats, 0, sizeof(pstats)); 684 qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, sizeof(pstats)); 686 p_stats->fcoe_tx_byte_cnt = HILO_64_REGPAIR(pstats.fcoe_tx_byte_cnt); 688 HILO_64_REGPAIR(pstats.fcoe_tx_data_pkt_cnt); 690 HILO_64_REGPAIR(pstats.fcoe_tx_xfer_pkt_cnt); 692 HILO_64_REGPAIR(pstats.fcoe_tx_other_pkt_cnt);
|
H A D | qed_ll2.c | 2301 struct core_ll2_pstorm_per_queue_stat pstats; local 2305 memset(&pstats, 0, sizeof(pstats)); 2308 qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, sizeof(pstats)); 2310 p_stats->sent_ucast_bytes += HILO_64_REGPAIR(pstats.sent_ucast_bytes); 2311 p_stats->sent_mcast_bytes += HILO_64_REGPAIR(pstats.sent_mcast_bytes); 2312 p_stats->sent_bcast_bytes += HILO_64_REGPAIR(pstats.sent_bcast_bytes); 2313 p_stats->sent_ucast_pkts += HILO_64_REGPAIR(pstats.sent_ucast_pkts); 2314 p_stats->sent_mcast_pkts += HILO_64_REGPAIR(pstats [all...] |
H A D | qed_l2.c | 1609 *p_addr = p_resp->pfdev_info.stats_info.pstats.address; 1610 *p_len = p_resp->pfdev_info.stats_info.pstats.len; 1618 struct eth_pstorm_per_queue_stat pstats; local 1624 memset(&pstats, 0, sizeof(pstats)); 1625 qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, pstats_len); 1628 HILO_64_REGPAIR(pstats.sent_ucast_bytes); 1630 HILO_64_REGPAIR(pstats.sent_mcast_bytes); 1632 HILO_64_REGPAIR(pstats.sent_bcast_bytes); 1634 HILO_64_REGPAIR(pstats 1939 struct eth_pstorm_per_queue_stat pstats; local [all...] |
H A D | qed_iscsi.c | 987 struct pstorm_iscsi_stats_drv pstats; local 990 memset(&pstats, 0, sizeof(pstats)); 993 qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, sizeof(pstats)); 996 HILO_64_REGPAIR(pstats.iscsi_tx_bytes_cnt); 998 HILO_64_REGPAIR(pstats.iscsi_tx_packet_cnt);
|
/linux-master/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-drv.c | 2094 struct xgbe_mmc_stats *pstats = &pdata->mmc_stats; local 2100 s->rx_packets = pstats->rxframecount_gb; 2101 s->rx_bytes = pstats->rxoctetcount_gb; 2102 s->rx_errors = pstats->rxframecount_gb - 2103 pstats->rxbroadcastframes_g - 2104 pstats->rxmulticastframes_g - 2105 pstats->rxunicastframes_g; 2106 s->multicast = pstats->rxmulticastframes_g; 2107 s->rx_length_errors = pstats->rxlengtherror; 2108 s->rx_crc_errors = pstats [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_main.c | 1491 const struct mac_stats *pstats; local 1494 pstats = t3_mac_update_stats(&pi->mac); 1497 ns->tx_bytes = pstats->tx_octets; 1498 ns->tx_packets = pstats->tx_frames; 1499 ns->rx_bytes = pstats->rx_octets; 1500 ns->rx_packets = pstats->rx_frames; 1501 ns->multicast = pstats->rx_mcast_frames; 1503 ns->tx_errors = pstats->tx_underrun; 1504 ns->rx_errors = pstats->rx_symbol_errs + pstats [all...] |
/linux-master/net/bridge/ |
H A D | br_multicast.c | 3751 struct bridge_mcast_stats *pstats; local 3763 pstats = this_cpu_ptr(stats); 3765 u64_stats_update_begin(&pstats->syncp); 3768 pstats->mstats.igmp_parse_errors++; 3772 pstats->mstats.mld_parse_errors++; 3776 u64_stats_update_end(&pstats->syncp); 4954 struct bridge_mcast_stats *pstats = this_cpu_ptr(stats); local 4958 u64_stats_update_begin(&pstats->syncp); 4964 pstats->mstats.igmp_v1reports[dir]++; 4967 pstats [all...] |