| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| A D | trx.c | 57 pstats->is_cck = is_cck_rate; in _rtl92de_query_rxphystatus() 137 pstats->signalquality = sq; in _rtl92de_query_rxphystatus() 170 pstats->signalquality = in _rtl92de_query_rxphystatus() 224 if (pstats->packet_toself || pstats->packet_beacon) { in _rtl92de_process_ui_rssi() 237 pstats->signalstrength; in _rtl92de_process_ui_rssi() 246 if (!pstats->is_cck && pstats->packet_toself) in _rtl92de_process_ui_rssi() 279 if (pstats->packet_toself || pstats->packet_beacon) { in _rtl92de_process_pwdb() 326 if (pstats->packet_toself || pstats->packet_beacon) { in _rtl92de_process_ui_link_quality() 336 pstats->signalquality; in _rtl92de_process_ui_link_quality() 380 tmp_buf = skb->data + pstats->rx_drvinfo_size + pstats->rx_bufshift; in _rtl92de_translate_rx_signal_stuff() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
| A D | trx.c | 49 bool is_cck = pstats->is_cck; in _rtl92se_query_rxphystatus() 54 pstats->rx_mimo_sig_qual[0] = -1; in _rtl92se_query_rxphystatus() 55 pstats->rx_mimo_sig_qual[1] = -1; in _rtl92se_query_rxphystatus() 123 pstats->rx_pwdb_all = pwdb_all; in _rtl92se_query_rxphystatus() 128 if (pstats->rx_pwdb_all > 40) { in _rtl92se_query_rxphystatus() 140 pstats->signalquality = sq; in _rtl92se_query_rxphystatus() 164 pstats->rx_pwdb_all = pwdb_all; in _rtl92se_query_rxphystatus() 165 pstats->rxpower = rx_pwr_all; in _rtl92se_query_rxphystatus() 168 if (pstats->is_ht && pstats->rate >= DESC_RATEMCS8 && in _rtl92se_query_rxphystatus() 207 tmp_buf = skb->data + pstats->rx_drvinfo_size + pstats->rx_bufshift; in _rtl92se_translate_rx_signal_stuff() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
| A D | trx.c | 27 struct rtl_stats *pstats, in _rtl92ce_query_rxphystatus() argument 46 pstats->is_cck = is_cck_rate; in _rtl92ce_query_rxphystatus() 48 pstats->rx_mimo_sig_qual[0] = -1; in _rtl92ce_query_rxphystatus() 142 pstats->signalquality = sq; in _rtl92ce_query_rxphystatus() 175 pstats->rxpower = rx_pwr_all; in _rtl92ce_query_rxphystatus() 179 if (pstats->is_ht && pstats->rate >= DESC_RATEMCS8 && in _rtl92ce_query_rxphystatus() 193 pstats->signalquality = in _rtl92ce_query_rxphystatus() 204 pstats->signalstrength = in _rtl92ce_query_rxphystatus() 207 pstats->signalstrength = in _rtl92ce_query_rxphystatus() 227 tmp_buf = skb->data + pstats->rx_drvinfo_size + pstats->rx_bufshift; in _rtl92ce_translate_rx_signal_stuff() [all …]
|
| /linux/drivers/net/ethernet/amd/ |
| A D | nmclan_cs.c | 1168 pstats->xmtsv, pstats->uflo); in pr_mace_stats() 1170 pstats->lcol, pstats->more); in pr_mace_stats() 1172 pstats->one, pstats->defer); in pr_mace_stats() 1174 pstats->lcar, pstats->rtry); in pr_mace_stats() 1178 pstats->exdef, pstats->xmtrc); in pr_mace_stats() 1182 pstats->oflo, pstats->clsn); in pr_mace_stats() 1184 pstats->fram, pstats->fcs); in pr_mace_stats() 1189 pstats->rfs_rntpc, pstats->rfs_rcvcc); in pr_mace_stats() 1193 pstats->jab, pstats->babl); in pr_mace_stats() 1195 pstats->cerr, pstats->rcvcco); in pr_mace_stats() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
| A D | mac.c | 592 pstats->is_cck = is_cck_rate; in _rtl92c_query_rxphystatus() 593 pstats->RX_SIGQ[0] = -1; in _rtl92c_query_rxphystatus() 594 pstats->RX_SIGQ[1] = -1; in _rtl92c_query_rxphystatus() 660 pstats->RX_SIGQ[0] = sq; in _rtl92c_query_rxphystatus() 661 pstats->RX_SIGQ[1] = -1; in _rtl92c_query_rxphystatus() 694 pstats->signalquality = in _rtl92c_query_rxphystatus() 696 pstats->RX_SIGQ[i] = in _rtl92c_query_rxphystatus() 702 pstats->signalstrength = in _rtl92c_query_rxphystatus() 705 pstats->signalstrength = in _rtl92c_query_rxphystatus() 724 tmp_buf = skb->data + pstats->rx_drvinfo_size + pstats->rx_bufshift; in rtl92c_translate_rx_signal_stuff() [all …]
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| A D | bnx2x_stats.c | 638 pstats->mac_stx[1].rx_stat_mac_xpf_hi; in bnx2x_bmac_stats_update() 648 pstats->pfc_frames_rx_hi; in bnx2x_bmac_stats_update() 650 pstats->pfc_frames_rx_lo; in bnx2x_bmac_stats_update() 652 pstats->pfc_frames_tx_hi; in bnx2x_bmac_stats_update() 654 pstats->pfc_frames_tx_lo; in bnx2x_bmac_stats_update() 738 pstats->pfc_frames_rx_hi; in bnx2x_mstat_stats_update() 740 pstats->pfc_frames_rx_lo; in bnx2x_mstat_stats_update() 742 pstats->pfc_frames_tx_hi; in bnx2x_mstat_stats_update() 744 pstats->pfc_frames_tx_lo; in bnx2x_mstat_stats_update() 838 ADD_EXTEND_64(pstats->brb_drop_hi, pstats->brb_drop_lo, in bnx2x_hw_stats_update() [all …]
|
| A D | bnx2x_stats.h | 390 DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \ 391 diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \ 392 pstats->mac_stx[0].t##_hi = new->s##_hi; \ 393 pstats->mac_stx[0].t##_lo = new->s##_lo; \ 394 ADD_64(pstats->mac_stx[1].t##_hi, diff.hi, \ 395 pstats->mac_stx[1].t##_lo, diff.lo); \ 415 ADD_64(pstats->mac_stx[1].t##_hi, new->diff##_hi, \ 416 pstats->mac_stx[1].t##_lo, new->diff##_lo); \ 421 ADD_EXTEND_64(pstats->mac_stx[1].s##_hi, \ 422 pstats->mac_stx[1].s##_lo, \
|
| /linux/drivers/net/ethernet/chelsio/cxgb/ |
| A D | cxgb2.c | 304 pstats->TxMulticastFramesOK + pstats->TxBroadcastFramesOK; in t1_get_stats() 307 pstats->RxMulticastFramesOK + pstats->RxBroadcastFramesOK; in t1_get_stats() 309 ns->tx_bytes = pstats->TxOctetsOK; in t1_get_stats() 310 ns->rx_bytes = pstats->RxOctetsOK; in t1_get_stats() 312 ns->tx_errors = pstats->TxLateCollisions + pstats->TxLengthErrors + in t1_get_stats() 313 pstats->TxUnderrun + pstats->TxFramesAbortedDueToXSCollisions; in t1_get_stats() 314 ns->rx_errors = pstats->RxDataErrors + pstats->RxJabberErrors + in t1_get_stats() 315 pstats->RxFCSErrors + pstats->RxAlignErrors + in t1_get_stats() 316 pstats->RxSequenceErrors + pstats->RxFrameTooLongErrors + in t1_get_stats() 317 pstats->RxSymbolErrors + pstats->RxRuntErrors; in t1_get_stats() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | en_stats.h | 275 #define PPORT_802_3_GET(pstats, c) \ argument 276 MLX5_GET64(ppcnt_reg, pstats->IEEE_802_3_counters, \ 278 #define PPORT_2863_GET(pstats, c) \ argument 279 MLX5_GET64(ppcnt_reg, pstats->RFC_2863_counters, \ 281 #define PPORT_2819_GET(pstats, c) \ argument 282 MLX5_GET64(ppcnt_reg, pstats->RFC_2819_counters, \ 284 #define PPORT_PHY_STATISTICAL_GET(pstats, c) \ argument 287 #define PPORT_PER_PRIO_GET(pstats, prio, c) \ argument 288 MLX5_GET64(ppcnt_reg, pstats->per_prio_counters[prio], \ 291 #define PPORT_ETH_EXT_GET(pstats, c) \ argument [all …]
|
| A D | en_stats.c | 769 struct mlx5e_pport_stats *pstats = &priv->stats.pport; variable 779 out = pstats->IEEE_802_3_counters; 927 struct mlx5e_pport_stats *pstats = &priv->stats.pport; variable 934 out = pstats->RFC_2863_counters; 996 out = pstats->RFC_2819_counters; 1149 out = pstats->phy_counters; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 1156 out = pstats->phy_statistical_counters; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 1236 out = pstats->eth_ext_counters; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 1432 out = pstats->per_tc_prio_counters[prio]; in mlx5e_grp_per_tc_prio_update_stats() 1463 out = pstats->per_tc_congest_prio_counters[prio]; in mlx5e_grp_per_tc_congest_prio_update_stats() [all …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| A D | htt_rx.c | 3590 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats() 3592 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats() 3597 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats() 3600 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats() 3602 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats() 3604 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats() 3606 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats() 3608 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats() 3610 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats() 3612 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats() [all …]
|
| /linux/drivers/staging/rtl8192e/rtl8192e/ |
| A D | r8192E_dev.c | 1466 struct rtllib_rx_stats *pstats, in _rtl92e_query_rxphystatus() argument 1515 pstats->RxMIMOSignalQuality[0] = -1; in _rtl92e_query_rxphystatus() 1516 pstats->RxMIMOSignalQuality[1] = -1; in _rtl92e_query_rxphystatus() 1578 if (pstats->RxPWDBAll > 40) { in _rtl92e_query_rxphystatus() 1590 pstats->SignalQuality = sq; in _rtl92e_query_rxphystatus() 1862 tmp_buf = skb->data + pstats->RxDrvInfoSize + pstats->RxBufShift; in _rtl92e_translate_rx_signal_stats() 1875 (!pstats->bHwError) && (!pstats->bCRC) && (!pstats->bICV)); in _rtl92e_translate_rx_signal_stats() 1900 if (pstats->bCRC) in _rtl92e_update_received_rate_histogram_stats() 1902 else if (pstats->bICV) in _rtl92e_update_received_rate_histogram_stats() 1905 if (pstats->bShortPreamble) in _rtl92e_update_received_rate_histogram_stats() [all …]
|
| /linux/drivers/infiniband/hw/ocrdma/ |
| A D | ocrdma_stats.c | 468 char *pstats = dev->stats_mem.debugfs_mem; in ocrdma_tx_dbg_stats() local 474 memset(pstats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_tx_dbg_stats() 477 pstats += snprintf(pstats, 80, "DW[%d] = 0x%x\n", i, in ocrdma_tx_dbg_stats() 486 char *pstats = dev->stats_mem.debugfs_mem; in ocrdma_rx_dbg_stats() local 492 memset(pstats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_rx_dbg_stats() 495 pstats += snprintf(pstats, 80, "DW[%d] = 0x%x\n", i, in ocrdma_rx_dbg_stats() 641 struct ocrdma_stats *pstats = filp->private_data; in ocrdma_dbgfs_ops_write() local 642 struct ocrdma_dev *dev = pstats->dev; in ocrdma_dbgfs_ops_write() 654 switch (pstats->type) { in ocrdma_dbgfs_ops_write() 690 struct ocrdma_dev *dev = pstats->dev; in ocrdma_dbgfs_ops_read() [all …]
|
| /linux/drivers/net/ethernet/synopsys/ |
| A D | dwc-xlgmac-net.c | 775 s->rx_packets = pstats->rxframecount_gb; in xlgmac_get_stats64() 776 s->rx_bytes = pstats->rxoctetcount_gb; in xlgmac_get_stats64() 777 s->rx_errors = pstats->rxframecount_gb - in xlgmac_get_stats64() 778 pstats->rxbroadcastframes_g - in xlgmac_get_stats64() 779 pstats->rxmulticastframes_g - in xlgmac_get_stats64() 780 pstats->rxunicastframes_g; in xlgmac_get_stats64() 781 s->multicast = pstats->rxmulticastframes_g; in xlgmac_get_stats64() 783 s->rx_crc_errors = pstats->rxcrcerror; in xlgmac_get_stats64() 786 s->tx_packets = pstats->txframecount_gb; in xlgmac_get_stats64() 787 s->tx_bytes = pstats->txoctetcount_gb; in xlgmac_get_stats64() [all …]
|
| /linux/net/netfilter/ |
| A D | nf_tables_core.c | 108 struct nft_stats __percpu *pstats; in nft_update_chain_stats() local 114 pstats = READ_ONCE(base_chain->stats); in nft_update_chain_stats() 115 if (pstats) { in nft_update_chain_stats() 117 stats = this_cpu_ptr(pstats); in nft_update_chain_stats()
|
| /linux/drivers/staging/rtl8192u/ |
| A D | r819xU_cmdpkt.c | 432 struct ieee80211_rx_stats *pstats) in cmpk_message_handle_rx() argument 442 if (!pstats) in cmpk_message_handle_rx() 446 total_length = pstats->Length; in cmpk_message_handle_rx() 449 pcmd_buff = pstats->virtual_address; in cmpk_message_handle_rx()
|
| A D | r8192U_core.c | 696 + pstats->RxBufShift); in get_rxpacket_shiftbytes_819xusb() 4032 pstats->bPacketMatchBSSID = in rtl8192_query_rxphystatus() 4105 if (pstats->RxPWDBAll > 40) { in rtl8192_query_rxphystatus() 4118 pstats->RxMIMOSignalQuality[0] = in rtl8192_query_rxphystatus() 4120 pstats->RxMIMOSignalQuality[1] = in rtl8192_query_rxphystatus() 4191 pstats->SignalQuality = in rtl8192_query_rxphystatus() 4194 pstats->RxMIMOSignalQuality[i] = in rtl8192_query_rxphystatus() 4214 pstats->SignalStrength = in rtl8192_query_rxphystatus() 4220 pstats->SignalStrength = in rtl8192_query_rxphystatus() 4267 && (!pstats->bHwError) && (!pstats->bCRC) && (!pstats->bICV); in TranslateRxSignalStuff819xUsb() [all …]
|
| A D | r819xU_cmdpkt.h | 186 struct ieee80211_rx_stats *pstats);
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| A D | qed_fcoe.c | 678 struct fcoe_tx_stat pstats; in _qed_fcoe_get_pstats() local 681 memset(&pstats, 0, sizeof(pstats)); in _qed_fcoe_get_pstats() 684 qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, sizeof(pstats)); in _qed_fcoe_get_pstats() 686 p_stats->fcoe_tx_byte_cnt = HILO_64_REGPAIR(pstats.fcoe_tx_byte_cnt); in _qed_fcoe_get_pstats() 688 HILO_64_REGPAIR(pstats.fcoe_tx_data_pkt_cnt); in _qed_fcoe_get_pstats() 690 HILO_64_REGPAIR(pstats.fcoe_tx_xfer_pkt_cnt); in _qed_fcoe_get_pstats() 692 HILO_64_REGPAIR(pstats.fcoe_tx_other_pkt_cnt); in _qed_fcoe_get_pstats()
|
| A D | qed_l2.c | 1618 struct eth_pstorm_per_queue_stat pstats; in __qed_get_vport_pstats() local 1624 memset(&pstats, 0, sizeof(pstats)); in __qed_get_vport_pstats() 1628 HILO_64_REGPAIR(pstats.sent_ucast_bytes); in __qed_get_vport_pstats() 1630 HILO_64_REGPAIR(pstats.sent_mcast_bytes); in __qed_get_vport_pstats() 1632 HILO_64_REGPAIR(pstats.sent_bcast_bytes); in __qed_get_vport_pstats() 1634 HILO_64_REGPAIR(pstats.sent_ucast_pkts); in __qed_get_vport_pstats() 1636 HILO_64_REGPAIR(pstats.sent_mcast_pkts); in __qed_get_vport_pstats() 1638 HILO_64_REGPAIR(pstats.sent_bcast_pkts); in __qed_get_vport_pstats() 1640 HILO_64_REGPAIR(pstats.error_drop_pkts); in __qed_get_vport_pstats() 1930 struct eth_pstorm_per_queue_stat pstats; in qed_reset_vport_stats() local [all …]
|
| A D | qed_iscsi.c | 987 struct pstorm_iscsi_stats_drv pstats; in _qed_iscsi_get_pstats() local 990 memset(&pstats, 0, sizeof(pstats)); in _qed_iscsi_get_pstats() 993 qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, sizeof(pstats)); in _qed_iscsi_get_pstats() 996 HILO_64_REGPAIR(pstats.iscsi_tx_bytes_cnt); in _qed_iscsi_get_pstats() 998 HILO_64_REGPAIR(pstats.iscsi_tx_packet_cnt); in _qed_iscsi_get_pstats()
|
| A D | qed_ll2.c | 2299 struct core_ll2_pstorm_per_queue_stat pstats; in _qed_ll2_get_pstats() local 2303 memset(&pstats, 0, sizeof(pstats)); in _qed_ll2_get_pstats() 2306 qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, sizeof(pstats)); in _qed_ll2_get_pstats() 2308 p_stats->sent_ucast_bytes += HILO_64_REGPAIR(pstats.sent_ucast_bytes); in _qed_ll2_get_pstats() 2309 p_stats->sent_mcast_bytes += HILO_64_REGPAIR(pstats.sent_mcast_bytes); in _qed_ll2_get_pstats() 2310 p_stats->sent_bcast_bytes += HILO_64_REGPAIR(pstats.sent_bcast_bytes); in _qed_ll2_get_pstats() 2311 p_stats->sent_ucast_pkts += HILO_64_REGPAIR(pstats.sent_ucast_pkts); in _qed_ll2_get_pstats() 2312 p_stats->sent_mcast_pkts += HILO_64_REGPAIR(pstats.sent_mcast_pkts); in _qed_ll2_get_pstats() 2313 p_stats->sent_bcast_pkts += HILO_64_REGPAIR(pstats.sent_bcast_pkts); in _qed_ll2_get_pstats()
|
| /linux/drivers/net/ethernet/chelsio/cxgb3/ |
| A D | cxgb3_main.c | 1492 const struct mac_stats *pstats; in cxgb_get_stats() local 1495 pstats = t3_mac_update_stats(&pi->mac); in cxgb_get_stats() 1498 ns->tx_bytes = pstats->tx_octets; in cxgb_get_stats() 1499 ns->tx_packets = pstats->tx_frames; in cxgb_get_stats() 1500 ns->rx_bytes = pstats->rx_octets; in cxgb_get_stats() 1501 ns->rx_packets = pstats->rx_frames; in cxgb_get_stats() 1504 ns->tx_errors = pstats->tx_underrun; in cxgb_get_stats() 1505 ns->rx_errors = pstats->rx_symbol_errs + pstats->rx_fcs_errs + in cxgb_get_stats() 1506 pstats->rx_too_long + pstats->rx_jabber + pstats->rx_short + in cxgb_get_stats() 1507 pstats->rx_fifo_ovfl; in cxgb_get_stats() [all …]
|
| /linux/drivers/net/ethernet/amd/xgbe/ |
| A D | xgbe-drv.c | 2086 s->rx_packets = pstats->rxframecount_gb; in xgbe_get_stats64() 2087 s->rx_bytes = pstats->rxoctetcount_gb; in xgbe_get_stats64() 2088 s->rx_errors = pstats->rxframecount_gb - in xgbe_get_stats64() 2089 pstats->rxbroadcastframes_g - in xgbe_get_stats64() 2090 pstats->rxmulticastframes_g - in xgbe_get_stats64() 2091 pstats->rxunicastframes_g; in xgbe_get_stats64() 2092 s->multicast = pstats->rxmulticastframes_g; in xgbe_get_stats64() 2094 s->rx_crc_errors = pstats->rxcrcerror; in xgbe_get_stats64() 2097 s->tx_packets = pstats->txframecount_gb; in xgbe_get_stats64() 2098 s->tx_bytes = pstats->txoctetcount_gb; in xgbe_get_stats64() [all …]
|
| /linux/net/bridge/ |
| A D | br_multicast.c | 3569 struct bridge_mcast_stats *pstats; in br_multicast_err_count() local 3581 pstats = this_cpu_ptr(stats); in br_multicast_err_count() 3583 u64_stats_update_begin(&pstats->syncp); in br_multicast_err_count() 3586 pstats->mstats.igmp_parse_errors++; in br_multicast_err_count() 3590 pstats->mstats.mld_parse_errors++; in br_multicast_err_count() 3594 u64_stats_update_end(&pstats->syncp); in br_multicast_err_count() 4802 pstats->mstats.igmp_leaves[dir]++; in br_mcast_stats_add() 4813 pstats->mstats.mld_v1reports[dir]++; in br_mcast_stats_add() 4816 pstats->mstats.mld_v2reports[dir]++; in br_mcast_stats_add() 4825 pstats->mstats.mld_leaves[dir]++; in br_mcast_stats_add() [all …]
|