/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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 | 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->mac_stx[1].s##_lo, \
|
/linux-6.3-rc2/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-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_stats.h | 293 #define PPORT_802_3_GET(pstats, c) \ argument 294 MLX5_GET64(ppcnt_reg, pstats->IEEE_802_3_counters, \ 296 #define PPORT_2863_GET(pstats, c) \ argument 297 MLX5_GET64(ppcnt_reg, pstats->RFC_2863_counters, \ 299 #define PPORT_2819_GET(pstats, c) \ argument 300 MLX5_GET64(ppcnt_reg, pstats->RFC_2819_counters, \ 302 #define PPORT_PHY_STATISTICAL_GET(pstats, c) \ argument 305 #define PPORT_PER_PRIO_GET(pstats, prio, c) \ argument 306 MLX5_GET64(ppcnt_reg, pstats->per_prio_counters[prio], \ 309 #define PPORT_ETH_EXT_GET(pstats, c) \ argument [all …]
|
A D | en_stats.c | 852 struct mlx5e_pport_stats *pstats = &priv->stats.pport; variable 862 out = pstats->IEEE_802_3_counters; 1010 struct mlx5e_pport_stats *pstats = &priv->stats.pport; variable 1017 out = pstats->RFC_2863_counters; 1079 out = pstats->RFC_2819_counters; 1232 out = pstats->phy_counters; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 1239 out = pstats->phy_statistical_counters; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 1430 out = pstats->eth_ext_counters; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 1626 out = pstats->per_tc_prio_counters[prio]; in mlx5e_grp_per_tc_prio_update_stats() 1657 out = pstats->per_tc_congest_prio_counters[prio]; in mlx5e_grp_per_tc_congest_prio_update_stats() [all …]
|
/linux-6.3-rc2/drivers/staging/rtl8192e/rtl8192e/ |
A D | r8192E_dev.c | 1281 struct rtllib_rx_stats *pstats, in _rtl92e_query_rxphystatus() argument 1327 pstats->RxMIMOSignalQuality[0] = -1; in _rtl92e_query_rxphystatus() 1328 pstats->RxMIMOSignalQuality[1] = -1; in _rtl92e_query_rxphystatus() 1384 pstats->RecvSignalPower = rx_pwr_all; in _rtl92e_query_rxphystatus() 1389 if (pstats->RxPWDBAll > 40) { in _rtl92e_query_rxphystatus() 1401 pstats->SignalQuality = sq; in _rtl92e_query_rxphystatus() 1643 tmp_buf = skb->data + pstats->RxDrvInfoSize + pstats->RxBufShift; in _rtl92e_translate_rx_signal_stats() 1656 (!pstats->bHwError) && (!pstats->bCRC) && (!pstats->bICV)); in _rtl92e_translate_rx_signal_stats() 1676 if (pstats->bCRC) in _rtl92e_update_received_rate_histogram_stats() 1678 else if (pstats->bICV) in _rtl92e_update_received_rate_histogram_stats() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath10k/ |
A D | htt_rx.c | 3716 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats() 3718 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats() 3723 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats() 3726 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats() 3728 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats() 3730 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats() 3732 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats() 3734 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats() 3736 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats() 3738 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats() [all …]
|
/linux-6.3-rc2/drivers/net/vxlan/ |
A D | vxlan_vnifilter.c | 126 struct vxlan_vni_stats_pcpu *pstats; in vxlan_vnifilter_stats_get() local 152 u64_stats_update_begin(&pstats->syncp); in vxlan_vnifilter_stats_add() 155 pstats->stats.rx_bytes += len; in vxlan_vnifilter_stats_add() 156 pstats->stats.rx_packets++; in vxlan_vnifilter_stats_add() 159 pstats->stats.rx_drops++; in vxlan_vnifilter_stats_add() 162 pstats->stats.rx_errors++; in vxlan_vnifilter_stats_add() 165 pstats->stats.tx_bytes += len; in vxlan_vnifilter_stats_add() 166 pstats->stats.tx_packets++; in vxlan_vnifilter_stats_add() 169 pstats->stats.tx_drops++; in vxlan_vnifilter_stats_add() 172 pstats->stats.tx_errors++; in vxlan_vnifilter_stats_add() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/drivers/net/ethernet/synopsys/ |
A D | dwc-xlgmac-net.c | 774 s->rx_packets = pstats->rxframecount_gb; in xlgmac_get_stats64() 775 s->rx_bytes = pstats->rxoctetcount_gb; in xlgmac_get_stats64() 776 s->rx_errors = pstats->rxframecount_gb - in xlgmac_get_stats64() 777 pstats->rxbroadcastframes_g - in xlgmac_get_stats64() 778 pstats->rxmulticastframes_g - in xlgmac_get_stats64() 779 pstats->rxunicastframes_g; in xlgmac_get_stats64() 780 s->multicast = pstats->rxmulticastframes_g; in xlgmac_get_stats64() 782 s->rx_crc_errors = pstats->rxcrcerror; in xlgmac_get_stats64() 785 s->tx_packets = pstats->txframecount_gb; in xlgmac_get_stats64() 786 s->tx_bytes = pstats->txoctetcount_gb; in xlgmac_get_stats64() [all …]
|
/linux-6.3-rc2/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 | 522 + pstats->RxBufShift); in get_rxpacket_shiftbytes_819xusb() 3851 pstats->bPacketMatchBSSID = in rtl8192_query_rxphystatus() 3924 if (pstats->RxPWDBAll > 40) { in rtl8192_query_rxphystatus() 3937 pstats->RxMIMOSignalQuality[0] = in rtl8192_query_rxphystatus() 3939 pstats->RxMIMOSignalQuality[1] = in rtl8192_query_rxphystatus() 4010 pstats->SignalQuality = in rtl8192_query_rxphystatus() 4013 pstats->RxMIMOSignalQuality[i] = in rtl8192_query_rxphystatus() 4033 pstats->SignalStrength = in rtl8192_query_rxphystatus() 4039 pstats->SignalStrength = in rtl8192_query_rxphystatus() 4086 && (!pstats->bHwError) && (!pstats->bCRC) && (!pstats->bICV); in TranslateRxSignalStuff819xUsb() [all …]
|
A D | r819xU_cmdpkt.h | 186 struct ieee80211_rx_stats *pstats);
|
/linux-6.3-rc2/net/netfilter/ |
A D | nf_tables_core.c | 188 struct nft_stats __percpu *pstats; in nft_update_chain_stats() local 193 pstats = READ_ONCE(base_chain->stats); in nft_update_chain_stats() 194 if (pstats) { in nft_update_chain_stats() 196 stats = this_cpu_ptr(pstats); in nft_update_chain_stats()
|
/linux-6.3-rc2/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()
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/net/bridge/ |
A D | br_multicast.c | 3746 struct bridge_mcast_stats *pstats; in br_multicast_err_count() local 3758 pstats = this_cpu_ptr(stats); in br_multicast_err_count() 3760 u64_stats_update_begin(&pstats->syncp); in br_multicast_err_count() 3763 pstats->mstats.igmp_parse_errors++; in br_multicast_err_count() 3767 pstats->mstats.mld_parse_errors++; in br_multicast_err_count() 3771 u64_stats_update_end(&pstats->syncp); in br_multicast_err_count() 4979 pstats->mstats.igmp_leaves[dir]++; in br_mcast_stats_add() 4990 pstats->mstats.mld_v1reports[dir]++; in br_mcast_stats_add() 4993 pstats->mstats.mld_v2reports[dir]++; in br_mcast_stats_add() 5002 pstats->mstats.mld_leaves[dir]++; in br_mcast_stats_add() [all …]
|