/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/ |
D | trx.c | 114 struct rtl_stats *pstats, in _rtl92de_query_rxphystatus() argument 131 pstats->packet_matchbssid = packet_match_bssid; in _rtl92de_query_rxphystatus() 132 pstats->packet_toself = packet_toself; in _rtl92de_query_rxphystatus() 133 pstats->packet_beacon = packet_beacon; in _rtl92de_query_rxphystatus() 134 pstats->is_cck = is_cck_rate; in _rtl92de_query_rxphystatus() 135 pstats->rx_mimo_sig_qual[0] = -1; in _rtl92de_query_rxphystatus() 136 pstats->rx_mimo_sig_qual[1] = -1; in _rtl92de_query_rxphystatus() 199 pstats->rx_pwdb_all = pwdb_all; in _rtl92de_query_rxphystatus() 200 pstats->recvsignalpower = rx_pwr_all; in _rtl92de_query_rxphystatus() 203 if (pstats->rx_pwdb_all > 40) { in _rtl92de_query_rxphystatus() [all …]
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192se/ |
D | trx.c | 62 struct rtl_stats *pstats, u8 *pdesc, in _rtl92se_query_rxphystatus() argument 75 bool is_cck = pstats->is_cck; in _rtl92se_query_rxphystatus() 77 pstats->packet_matchbssid = packet_match_bssid; in _rtl92se_query_rxphystatus() 78 pstats->packet_toself = packet_toself; in _rtl92se_query_rxphystatus() 79 pstats->packet_beacon = packet_beacon; in _rtl92se_query_rxphystatus() 80 pstats->rx_mimo_sig_qual[0] = -1; in _rtl92se_query_rxphystatus() 81 pstats->rx_mimo_sig_qual[1] = -1; in _rtl92se_query_rxphystatus() 149 pstats->rx_pwdb_all = pwdb_all; in _rtl92se_query_rxphystatus() 150 pstats->recvsignalpower = rx_pwr_all; in _rtl92se_query_rxphystatus() 154 if (pstats->rx_pwdb_all > 40) { in _rtl92se_query_rxphystatus() [all …]
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
D | nmclan_cs.c | 1137 static void pr_linux_stats(struct net_device_stats *pstats) in pr_linux_stats() argument 1141 (long)pstats->rx_packets, (long)pstats->tx_packets); in pr_linux_stats() 1143 (long)pstats->rx_errors, (long)pstats->tx_errors); in pr_linux_stats() 1145 (long)pstats->rx_dropped, (long)pstats->tx_dropped); in pr_linux_stats() 1147 (long)pstats->multicast, (long)pstats->collisions); in pr_linux_stats() 1150 (long)pstats->rx_length_errors, (long)pstats->rx_over_errors); in pr_linux_stats() 1152 (long)pstats->rx_crc_errors, (long)pstats->rx_frame_errors); in pr_linux_stats() 1154 (long)pstats->rx_fifo_errors, (long)pstats->rx_missed_errors); in pr_linux_stats() 1157 (long)pstats->tx_aborted_errors, (long)pstats->tx_carrier_errors); in pr_linux_stats() 1159 (long)pstats->tx_fifo_errors, (long)pstats->tx_heartbeat_errors); in pr_linux_stats() [all …]
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ce/ |
D | trx.c | 112 struct rtl_stats *pstats, in _rtl92ce_query_rxphystatus() argument 129 pstats->packet_matchbssid = packet_match_bssid; in _rtl92ce_query_rxphystatus() 130 pstats->packet_toself = packet_toself; in _rtl92ce_query_rxphystatus() 131 pstats->is_cck = is_cck_rate; in _rtl92ce_query_rxphystatus() 132 pstats->packet_beacon = packet_beacon; in _rtl92ce_query_rxphystatus() 133 pstats->rx_mimo_sig_qual[0] = -1; in _rtl92ce_query_rxphystatus() 134 pstats->rx_mimo_sig_qual[1] = -1; in _rtl92ce_query_rxphystatus() 205 pstats->rx_pwdb_all = pwdb_all; in _rtl92ce_query_rxphystatus() 206 pstats->recvsignalpower = rx_pwr_all; in _rtl92ce_query_rxphystatus() 211 if (pstats->rx_pwdb_all > 40) in _rtl92ce_query_rxphystatus() [all …]
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | mac.c | 772 struct rtl_stats *pstats, in _rtl92c_query_rxphystatus() argument 791 pstats->packet_matchbssid = packet_match_bssid; in _rtl92c_query_rxphystatus() 792 pstats->packet_toself = packet_toself; in _rtl92c_query_rxphystatus() 793 pstats->packet_beacon = packet_beacon; in _rtl92c_query_rxphystatus() 794 pstats->is_cck = is_cck_rate; in _rtl92c_query_rxphystatus() 795 pstats->RX_SIGQ[0] = -1; in _rtl92c_query_rxphystatus() 796 pstats->RX_SIGQ[1] = -1; in _rtl92c_query_rxphystatus() 842 pstats->rx_pwdb_all = pwdb_all; in _rtl92c_query_rxphystatus() 843 pstats->recvsignalpower = rx_pwr_all; in _rtl92c_query_rxphystatus() 846 if (pstats->rx_pwdb_all > 40) in _rtl92c_query_rxphystatus() [all …]
|
D | mac.h | 164 struct rtl_stats *pstats,
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_stats.c | 549 struct host_port_stats *pstats = bnx2x_sp(bp, port_stats); in bnx2x_bmac_stats_update() local 626 pstats->pfc_frames_tx_hi = new->tx_stat_gtpp_hi; in bnx2x_bmac_stats_update() 627 pstats->pfc_frames_tx_lo = new->tx_stat_gtpp_lo; in bnx2x_bmac_stats_update() 629 pstats->pfc_frames_rx_hi = new->rx_stat_grpp_hi; in bnx2x_bmac_stats_update() 630 pstats->pfc_frames_rx_lo = new->rx_stat_grpp_lo; in bnx2x_bmac_stats_update() 634 pstats->mac_stx[1].rx_stat_mac_xpf_hi; in bnx2x_bmac_stats_update() 636 pstats->mac_stx[1].rx_stat_mac_xpf_lo; in bnx2x_bmac_stats_update() 639 pstats->mac_stx[1].tx_stat_outxoffsent_hi; in bnx2x_bmac_stats_update() 641 pstats->mac_stx[1].tx_stat_outxoffsent_lo; in bnx2x_bmac_stats_update() 644 pstats->pfc_frames_rx_hi; in bnx2x_bmac_stats_update() [all …]
|
D | bnx2x_stats.h | 385 DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \ 386 diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \ 387 pstats->mac_stx[0].t##_hi = new->s##_hi; \ 388 pstats->mac_stx[0].t##_lo = new->s##_lo; \ 389 ADD_64(pstats->mac_stx[1].t##_hi, diff.hi, \ 390 pstats->mac_stx[1].t##_lo, diff.lo); \ 410 ADD_64(pstats->mac_stx[1].t##_hi, new->diff##_hi, \ 411 pstats->mac_stx[1].t##_lo, new->diff##_lo); \ 416 ADD_EXTEND_64(pstats->mac_stx[1].s##_hi, \ 417 pstats->mac_stx[1].s##_lo, \
|
D | bnx2x_main.c | 2646 struct host_port_stats *pstats; in bnx2x_link_attn() local 2648 pstats = bnx2x_sp(bp, port_stats); in bnx2x_link_attn() 2650 memset(&(pstats->mac_stx[0]), 0, in bnx2x_link_attn()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
D | cxgb2.c | 300 const struct cmac_statistics *pstats; in t1_get_stats() local 303 pstats = p->mac->ops->statistics_update(p->mac, in t1_get_stats() 306 ns->tx_packets = pstats->TxUnicastFramesOK + in t1_get_stats() 307 pstats->TxMulticastFramesOK + pstats->TxBroadcastFramesOK; in t1_get_stats() 309 ns->rx_packets = pstats->RxUnicastFramesOK + in t1_get_stats() 310 pstats->RxMulticastFramesOK + pstats->RxBroadcastFramesOK; in t1_get_stats() 312 ns->tx_bytes = pstats->TxOctetsOK; in t1_get_stats() 313 ns->rx_bytes = pstats->RxOctetsOK; in t1_get_stats() 315 ns->tx_errors = pstats->TxLateCollisions + pstats->TxLengthErrors + in t1_get_stats() 316 pstats->TxUnderrun + pstats->TxFramesAbortedDueToXSCollisions; in t1_get_stats() [all …]
|
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_dev.c | 1477 struct rtllib_rx_stats *pstats, in rtl8192_query_rxphystatus() argument 1505 pstats->bPacketMatchBSSID = precord_stats->bPacketMatchBSSID = in rtl8192_query_rxphystatus() 1507 pstats->bPacketToSelf = precord_stats->bPacketToSelf = bpacket_toself; in rtl8192_query_rxphystatus() 1508 pstats->bIsCCK = precord_stats->bIsCCK = is_cck_rate; in rtl8192_query_rxphystatus() 1509 pstats->bPacketBeacon = precord_stats->bPacketBeacon = bPacketBeacon; in rtl8192_query_rxphystatus() 1510 pstats->bToSelfBA = precord_stats->bToSelfBA = bToSelfBA; in rtl8192_query_rxphystatus() 1525 pstats->RxMIMOSignalQuality[0] = -1; in rtl8192_query_rxphystatus() 1526 pstats->RxMIMOSignalQuality[1] = -1; in rtl8192_query_rxphystatus() 1582 pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all; in rtl8192_query_rxphystatus() 1583 pstats->RecvSignalPower = rx_pwr_all; in rtl8192_query_rxphystatus() [all …]
|
D | r8192E_cmdpkt.c | 312 struct rtllib_rx_stats *pstats) in cmpk_message_handle_rx() argument 321 if (pstats == NULL) in cmpk_message_handle_rx() 324 total_length = pstats->Length; in cmpk_message_handle_rx() 326 pcmd_buff = pstats->virtual_address; in cmpk_message_handle_rx()
|
D | r8192E_cmdpkt.h | 153 struct rtllib_rx_stats *pstats);
|
/linux-4.1.27/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_stats.c | 455 char *pstats = dev->stats_mem.debugfs_mem; in ocrdma_tx_dbg_stats() local 461 memset(pstats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_tx_dbg_stats() 464 pstats += snprintf(pstats, 80, "DW[%d] = 0x%x\n", i, in ocrdma_tx_dbg_stats() 473 char *pstats = dev->stats_mem.debugfs_mem; in ocrdma_rx_dbg_stats() local 479 memset(pstats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_rx_dbg_stats() 482 pstats += snprintf(pstats, 80, "DW[%d] = 0x%x\n", i, in ocrdma_rx_dbg_stats() 628 struct ocrdma_stats *pstats = filp->private_data; in ocrdma_dbgfs_ops_write() local 629 struct ocrdma_dev *dev = pstats->dev; in ocrdma_dbgfs_ops_write() 641 switch (pstats->type) { in ocrdma_dbgfs_ops_write() 679 struct ocrdma_stats *pstats = filp->private_data; in ocrdma_dbgfs_ops_read() local [all …]
|
/linux-4.1.27/drivers/staging/rtl8192u/ |
D | r819xU_cmdpkt.c | 497 struct ieee80211_rx_stats *pstats) in cmpk_message_handle_rx() argument 506 if (pstats == NULL) in cmpk_message_handle_rx() 510 total_length = pstats->Length; in cmpk_message_handle_rx() 513 pcmd_buff = pstats->virtual_address; in cmpk_message_handle_rx()
|
D | r8192U_core.c | 690 static u32 get_rxpacket_shiftbytes_819xusb(struct ieee80211_rx_stats *pstats) in get_rxpacket_shiftbytes_819xusb() argument 693 return (sizeof(rx_desc_819x_usb) + pstats->RxDrvInfoSize in get_rxpacket_shiftbytes_819xusb() 694 + pstats->RxBufShift); in get_rxpacket_shiftbytes_819xusb() 922 struct ieee80211_rx_stats *pstats) in rtl819xusb_rx_command_packet() argument 926 status = cmpk_message_handle_rx(dev, pstats); in rtl819xusb_rx_command_packet() 3974 struct ieee80211_rx_stats *pstats, in rtl8192_query_rxphystatus() argument 4002 pstats->bPacketMatchBSSID = precord_stats->bPacketMatchBSSID = bpacket_match_bssid; in rtl8192_query_rxphystatus() 4003 pstats->bPacketToSelf = precord_stats->bPacketToSelf = bpacket_toself; in rtl8192_query_rxphystatus() 4004 pstats->bIsCCK = precord_stats->bIsCCK = is_cck_rate; in rtl8192_query_rxphystatus() 4005 pstats->bPacketBeacon = precord_stats->bPacketBeacon = bPacketBeacon; in rtl8192_query_rxphystatus() [all …]
|
D | r819xU_cmdpkt.h | 186 struct ieee80211_rx_stats *pstats);
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 1615 struct xgbe_mmc_stats *pstats = &pdata->mmc_stats; in xgbe_get_stats64() local 1621 s->rx_packets = pstats->rxframecount_gb; in xgbe_get_stats64() 1622 s->rx_bytes = pstats->rxoctetcount_gb; in xgbe_get_stats64() 1623 s->rx_errors = pstats->rxframecount_gb - in xgbe_get_stats64() 1624 pstats->rxbroadcastframes_g - in xgbe_get_stats64() 1625 pstats->rxmulticastframes_g - in xgbe_get_stats64() 1626 pstats->rxunicastframes_g; in xgbe_get_stats64() 1627 s->multicast = pstats->rxmulticastframes_g; in xgbe_get_stats64() 1628 s->rx_length_errors = pstats->rxlengtherror; in xgbe_get_stats64() 1629 s->rx_crc_errors = pstats->rxcrcerror; in xgbe_get_stats64() [all …]
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_main.c | 3262 struct rtnl_link_stats64 *pstats = &slave->slave_stats; in bond_get_stats() local 3264 stats->rx_packets += sstats->rx_packets - pstats->rx_packets; in bond_get_stats() 3265 stats->rx_bytes += sstats->rx_bytes - pstats->rx_bytes; in bond_get_stats() 3266 stats->rx_errors += sstats->rx_errors - pstats->rx_errors; in bond_get_stats() 3267 stats->rx_dropped += sstats->rx_dropped - pstats->rx_dropped; in bond_get_stats() 3269 stats->tx_packets += sstats->tx_packets - pstats->tx_packets;; in bond_get_stats() 3270 stats->tx_bytes += sstats->tx_bytes - pstats->tx_bytes; in bond_get_stats() 3271 stats->tx_errors += sstats->tx_errors - pstats->tx_errors; in bond_get_stats() 3272 stats->tx_dropped += sstats->tx_dropped - pstats->tx_dropped; in bond_get_stats() 3274 stats->multicast += sstats->multicast - pstats->multicast; in bond_get_stats() [all …]
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 1490 const struct mac_stats *pstats; in cxgb_get_stats() local 1493 pstats = t3_mac_update_stats(&pi->mac); in cxgb_get_stats() 1496 ns->tx_bytes = pstats->tx_octets; in cxgb_get_stats() 1497 ns->tx_packets = pstats->tx_frames; in cxgb_get_stats() 1498 ns->rx_bytes = pstats->rx_octets; in cxgb_get_stats() 1499 ns->rx_packets = pstats->rx_frames; in cxgb_get_stats() 1500 ns->multicast = pstats->rx_mcast_frames; in cxgb_get_stats() 1502 ns->tx_errors = pstats->tx_underrun; in cxgb_get_stats() 1503 ns->rx_errors = pstats->rx_symbol_errs + pstats->rx_fcs_errs + in cxgb_get_stats() 1504 pstats->rx_too_long + pstats->rx_jabber + pstats->rx_short + in cxgb_get_stats() [all …]
|
/linux-4.1.27/drivers/staging/rtl8723au/core/ |
D | rtw_recv.c | 714 struct stainfo_stats *pstats = NULL; in count_rx_stats() local 733 pstats = &psta->sta_stats; in count_rx_stats() 735 pstats->rx_data_pkts++; in count_rx_stats() 736 pstats->rx_bytes += sz; in count_rx_stats()
|
D | rtw_xmit.c | 1280 struct stainfo_stats *pstats = NULL; in rtw_count_tx_stats23a() local 1290 pstats = &psta->sta_stats; in rtw_count_tx_stats23a() 1291 pstats->tx_pkts++; in rtw_count_tx_stats23a() 1292 pstats->tx_bytes += sz; in rtw_count_tx_stats23a()
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
D | rtw_xmit.c | 1195 struct stainfo_stats *pstats = NULL; in rtw_count_tx_stats() local 1205 pstats = &psta->sta_stats; in rtw_count_tx_stats() 1206 pstats->tx_pkts += pxmitframe->agg_num; in rtw_count_tx_stats() 1207 pstats->tx_bytes += sz; in rtw_count_tx_stats()
|
D | rtw_recv.c | 684 struct stainfo_stats *pstats = NULL; in count_rx_stats() local 702 pstats = &psta->sta_stats; in count_rx_stats() 704 pstats->rx_data_pkts++; in count_rx_stats() 705 pstats->rx_bytes += sz; in count_rx_stats()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 760 AVG_PERF_COUNTER(priv->pstats.inflight_avg, in mlx4_en_xmit() 907 AVG_PERF_COUNTER(priv->pstats.tx_pktsz_avg, skb->len); in mlx4_en_xmit()
|
D | en_rx.c | 1003 AVG_PERF_COUNTER(priv->pstats.rx_coal_avg, polled); in mlx4_en_process_rx_cq() 1044 INC_PERF_COUNTER(priv->pstats.napi_quota); in mlx4_en_poll_rx_cq()
|
D | mlx4_en.h | 568 struct mlx4_en_perf_stats pstats; member
|
D | en_netdev.c | 1885 memset(&priv->pstats, 0, sizeof(priv->pstats)); in mlx4_en_clear_stats()
|