Home
last modified time | relevance | path

Searched refs:pstats (Results 1 – 25 of 27) sorted by relevance

12

/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.c114 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 …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dtrx.c62 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 …]
/drivers/net/ethernet/amd/
Dnmclan_cs.c1137 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 …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.c112 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 …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.c654 struct rtl_stats *pstats, in _rtl92c_query_rxphystatus() argument
673 pstats->packet_matchbssid = packet_match_bssid; in _rtl92c_query_rxphystatus()
674 pstats->packet_toself = packet_toself; in _rtl92c_query_rxphystatus()
675 pstats->packet_beacon = packet_beacon; in _rtl92c_query_rxphystatus()
676 pstats->is_cck = is_cck_rate; in _rtl92c_query_rxphystatus()
677 pstats->RX_SIGQ[0] = -1; in _rtl92c_query_rxphystatus()
678 pstats->RX_SIGQ[1] = -1; in _rtl92c_query_rxphystatus()
724 pstats->rx_pwdb_all = pwdb_all; in _rtl92c_query_rxphystatus()
725 pstats->recvsignalpower = rx_pwr_all; in _rtl92c_query_rxphystatus()
728 if (pstats->rx_pwdb_all > 40) in _rtl92c_query_rxphystatus()
[all …]
Dmac.h151 struct rtl_stats *pstats,
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c551 struct host_port_stats *pstats = bnx2x_sp(bp, port_stats); in bnx2x_bmac_stats_update() local
628 pstats->pfc_frames_tx_hi = new->tx_stat_gtpp_hi; in bnx2x_bmac_stats_update()
629 pstats->pfc_frames_tx_lo = new->tx_stat_gtpp_lo; in bnx2x_bmac_stats_update()
631 pstats->pfc_frames_rx_hi = new->rx_stat_grpp_hi; in bnx2x_bmac_stats_update()
632 pstats->pfc_frames_rx_lo = new->rx_stat_grpp_lo; in bnx2x_bmac_stats_update()
636 pstats->mac_stx[1].rx_stat_mac_xpf_hi; in bnx2x_bmac_stats_update()
638 pstats->mac_stx[1].rx_stat_mac_xpf_lo; in bnx2x_bmac_stats_update()
641 pstats->mac_stx[1].tx_stat_outxoffsent_hi; in bnx2x_bmac_stats_update()
643 pstats->mac_stx[1].tx_stat_outxoffsent_lo; in bnx2x_bmac_stats_update()
646 pstats->pfc_frames_rx_hi; in bnx2x_bmac_stats_update()
[all …]
Dbnx2x_stats.h387 DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \
388 diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \
389 pstats->mac_stx[0].t##_hi = new->s##_hi; \
390 pstats->mac_stx[0].t##_lo = new->s##_lo; \
391 ADD_64(pstats->mac_stx[1].t##_hi, diff.hi, \
392 pstats->mac_stx[1].t##_lo, diff.lo); \
412 ADD_64(pstats->mac_stx[1].t##_hi, new->diff##_hi, \
413 pstats->mac_stx[1].t##_lo, new->diff##_lo); \
418 ADD_EXTEND_64(pstats->mac_stx[1].s##_hi, \
419 pstats->mac_stx[1].s##_lo, \
/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c300 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 …]
/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_dev.c1481 struct rtllib_rx_stats *pstats, in _rtl92e_query_rxphystatus() argument
1509 pstats->bPacketMatchBSSID = precord_stats->bPacketMatchBSSID = in _rtl92e_query_rxphystatus()
1511 pstats->bPacketToSelf = precord_stats->bPacketToSelf = bpacket_toself; in _rtl92e_query_rxphystatus()
1512 pstats->bIsCCK = precord_stats->bIsCCK = is_cck_rate; in _rtl92e_query_rxphystatus()
1513 pstats->bPacketBeacon = precord_stats->bPacketBeacon = bPacketBeacon; in _rtl92e_query_rxphystatus()
1514 pstats->bToSelfBA = precord_stats->bToSelfBA = bToSelfBA; in _rtl92e_query_rxphystatus()
1530 pstats->RxMIMOSignalQuality[0] = -1; in _rtl92e_query_rxphystatus()
1531 pstats->RxMIMOSignalQuality[1] = -1; in _rtl92e_query_rxphystatus()
1587 pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all; in _rtl92e_query_rxphystatus()
1588 pstats->RecvSignalPower = rx_pwr_all; in _rtl92e_query_rxphystatus()
[all …]
/drivers/infiniband/hw/ocrdma/
Docrdma_stats.c470 char *pstats = dev->stats_mem.debugfs_mem; in ocrdma_tx_dbg_stats() local
476 memset(pstats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_tx_dbg_stats()
479 pstats += snprintf(pstats, 80, "DW[%d] = 0x%x\n", i, in ocrdma_tx_dbg_stats()
488 char *pstats = dev->stats_mem.debugfs_mem; in ocrdma_rx_dbg_stats() local
494 memset(pstats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_rx_dbg_stats()
497 pstats += snprintf(pstats, 80, "DW[%d] = 0x%x\n", i, in ocrdma_rx_dbg_stats()
643 struct ocrdma_stats *pstats = filp->private_data; in ocrdma_dbgfs_ops_write() local
644 struct ocrdma_dev *dev = pstats->dev; in ocrdma_dbgfs_ops_write()
656 switch (pstats->type) { in ocrdma_dbgfs_ops_write()
694 struct ocrdma_stats *pstats = filp->private_data; in ocrdma_dbgfs_ops_read() local
[all …]
/drivers/net/ethernet/qlogic/qed/
Dqed_dev.c748 p_stat->pstats.address = BAR0_MAP_REG_PSDM_RAM + in qed_hw_init()
750 p_stat->pstats.len = sizeof(struct eth_pstorm_per_queue_stat); in qed_hw_init()
1550 struct eth_pstorm_per_queue_stat pstats; in __qed_get_vport_stats() local
1570 memset(&pstats, 0, sizeof(pstats)); in __qed_get_vport_stats()
1571 qed_memcpy_from(p_hwfn, p_ptt, &pstats, in __qed_get_vport_stats()
1572 p_hwfn->storm_stats.pstats.address, in __qed_get_vport_stats()
1573 p_hwfn->storm_stats.pstats.len); in __qed_get_vport_stats()
1623 HILO_64_REGPAIR(pstats.sent_ucast_bytes); in __qed_get_vport_stats()
1625 HILO_64_REGPAIR(pstats.sent_mcast_bytes); in __qed_get_vport_stats()
1627 HILO_64_REGPAIR(pstats.sent_bcast_bytes); in __qed_get_vport_stats()
[all …]
Dqed.h222 struct storm_stats pstats; member
/drivers/staging/rtl8192u/
Dr8192U_core.c774 static u32 get_rxpacket_shiftbytes_819xusb(struct ieee80211_rx_stats *pstats) in get_rxpacket_shiftbytes_819xusb() argument
777 return (sizeof(rx_desc_819x_usb) + pstats->RxDrvInfoSize in get_rxpacket_shiftbytes_819xusb()
778 + pstats->RxBufShift); in get_rxpacket_shiftbytes_819xusb()
1013 struct ieee80211_rx_stats *pstats) in rtl819xusb_rx_command_packet() argument
1017 status = cmpk_message_handle_rx(dev, pstats); in rtl819xusb_rx_command_packet()
4250 struct ieee80211_rx_stats *pstats, in rtl8192_query_rxphystatus() argument
4278 pstats->bPacketMatchBSSID = in rtl8192_query_rxphystatus()
4280 pstats->bPacketToSelf = precord_stats->bPacketToSelf = bpacket_toself; in rtl8192_query_rxphystatus()
4281 pstats->bIsCCK = precord_stats->bIsCCK = is_cck_rate; in rtl8192_query_rxphystatus()
4282 pstats->bPacketBeacon = precord_stats->bPacketBeacon = bPacketBeacon; in rtl8192_query_rxphystatus()
[all …]
Dr819xU_cmdpkt.c497 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()
Dr819xU_cmdpkt.h186 struct ieee80211_rx_stats *pstats);
/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c1549 struct xgbe_mmc_stats *pstats = &pdata->mmc_stats; in xgbe_get_stats64() local
1555 s->rx_packets = pstats->rxframecount_gb; in xgbe_get_stats64()
1556 s->rx_bytes = pstats->rxoctetcount_gb; in xgbe_get_stats64()
1557 s->rx_errors = pstats->rxframecount_gb - in xgbe_get_stats64()
1558 pstats->rxbroadcastframes_g - in xgbe_get_stats64()
1559 pstats->rxmulticastframes_g - in xgbe_get_stats64()
1560 pstats->rxunicastframes_g; in xgbe_get_stats64()
1561 s->multicast = pstats->rxmulticastframes_g; in xgbe_get_stats64()
1562 s->rx_length_errors = pstats->rxlengtherror; in xgbe_get_stats64()
1563 s->rx_crc_errors = pstats->rxcrcerror; in xgbe_get_stats64()
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c1491 const struct mac_stats *pstats; in cxgb_get_stats() local
1494 pstats = t3_mac_update_stats(&pi->mac); in cxgb_get_stats()
1497 ns->tx_bytes = pstats->tx_octets; in cxgb_get_stats()
1498 ns->tx_packets = pstats->tx_frames; in cxgb_get_stats()
1499 ns->rx_bytes = pstats->rx_octets; in cxgb_get_stats()
1500 ns->rx_packets = pstats->rx_frames; in cxgb_get_stats()
1501 ns->multicast = pstats->rx_mcast_frames; in cxgb_get_stats()
1503 ns->tx_errors = pstats->tx_underrun; in cxgb_get_stats()
1504 ns->rx_errors = pstats->rx_symbol_errs + pstats->rx_fcs_errs + in cxgb_get_stats()
1505 pstats->rx_too_long + pstats->rx_jabber + pstats->rx_short + in cxgb_get_stats()
[all …]
/drivers/staging/rtl8723au/core/
Drtw_recv.c714 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()
Drtw_xmit.c1280 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()
/drivers/staging/rtl8188eu/core/
Drtw_recv.c664 struct stainfo_stats *pstats = NULL; in count_rx_stats() local
682 pstats = &psta->sta_stats; in count_rx_stats()
684 pstats->rx_data_pkts++; in count_rx_stats()
685 pstats->rx_bytes += sz; in count_rx_stats()
Drtw_xmit.c1199 struct stainfo_stats *pstats = NULL; in rtw_count_tx_stats() local
1209 pstats = &psta->sta_stats; in rtw_count_tx_stats()
1210 pstats->tx_pkts += pxmitframe->agg_num; in rtw_count_tx_stats()
1211 pstats->tx_bytes += sz; in rtw_count_tx_stats()
/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c764 AVG_PERF_COUNTER(priv->pstats.inflight_avg, in mlx4_en_xmit()
911 AVG_PERF_COUNTER(priv->pstats.tx_pktsz_avg, skb->len); in mlx4_en_xmit()
Den_rx.c1040 AVG_PERF_COUNTER(priv->pstats.rx_coal_avg, polled); in mlx4_en_process_rx_cq()
1082 INC_PERF_COUNTER(priv->pstats.napi_quota); in mlx4_en_poll_rx_cq()
Dmlx4_en.h575 struct mlx4_en_perf_stats pstats; member

12