Home
last modified time | relevance | path

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

/drivers/net/wireless/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/rtlwifi/rtl8192cu/
Dmac.c780 struct rtl_stats *pstats, in _rtl92c_query_rxphystatus() argument
798 pstats->packet_matchbssid = packet_match_bssid; in _rtl92c_query_rxphystatus()
799 pstats->packet_toself = packet_toself; in _rtl92c_query_rxphystatus()
800 pstats->is_cck = is_cck_rate; in _rtl92c_query_rxphystatus()
801 pstats->packet_beacon = packet_beacon; in _rtl92c_query_rxphystatus()
802 pstats->is_cck = is_cck_rate; in _rtl92c_query_rxphystatus()
803 pstats->RX_SIGQ[0] = -1; in _rtl92c_query_rxphystatus()
804 pstats->RX_SIGQ[1] = -1; in _rtl92c_query_rxphystatus()
850 pstats->rx_pwdb_all = pwdb_all; in _rtl92c_query_rxphystatus()
851 pstats->recvsignalpower = rx_pwr_all; in _rtl92c_query_rxphystatus()
[all …]
Dmac.h164 struct rtl_stats *pstats,
/drivers/net/wireless/rtlwifi/rtl8192se/
Dtrx.c56 struct rtl_stats *pstats, u8 *pdesc, in _rtl92se_query_rxphystatus() argument
69 bool is_cck = pstats->is_cck; in _rtl92se_query_rxphystatus()
71 pstats->packet_matchbssid = packet_match_bssid; in _rtl92se_query_rxphystatus()
72 pstats->packet_toself = packet_toself; in _rtl92se_query_rxphystatus()
73 pstats->packet_beacon = packet_beacon; in _rtl92se_query_rxphystatus()
74 pstats->rx_mimo_sig_qual[0] = -1; in _rtl92se_query_rxphystatus()
75 pstats->rx_mimo_sig_qual[1] = -1; in _rtl92se_query_rxphystatus()
143 pstats->rx_pwdb_all = pwdb_all; in _rtl92se_query_rxphystatus()
144 pstats->recvsignalpower = rx_pwr_all; in _rtl92se_query_rxphystatus()
148 if (pstats->rx_pwdb_all > 40) { in _rtl92se_query_rxphystatus()
[all …]
/drivers/net/wireless/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/ethernet/amd/
Dnmclan_cs.c1136 static void pr_linux_stats(struct net_device_stats *pstats) in pr_linux_stats() argument
1140 (long)pstats->rx_packets, (long)pstats->tx_packets); in pr_linux_stats()
1142 (long)pstats->rx_errors, (long)pstats->tx_errors); in pr_linux_stats()
1144 (long)pstats->rx_dropped, (long)pstats->tx_dropped); in pr_linux_stats()
1146 (long)pstats->multicast, (long)pstats->collisions); in pr_linux_stats()
1149 (long)pstats->rx_length_errors, (long)pstats->rx_over_errors); in pr_linux_stats()
1151 (long)pstats->rx_crc_errors, (long)pstats->rx_frame_errors); in pr_linux_stats()
1153 (long)pstats->rx_fifo_errors, (long)pstats->rx_missed_errors); in pr_linux_stats()
1156 (long)pstats->tx_aborted_errors, (long)pstats->tx_carrier_errors); in pr_linux_stats()
1158 (long)pstats->tx_fifo_errors, (long)pstats->tx_heartbeat_errors); in pr_linux_stats()
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c559 struct host_port_stats *pstats = bnx2x_sp(bp, port_stats); in bnx2x_bmac_stats_update() local
636 pstats->pfc_frames_tx_hi = new->tx_stat_gtpp_hi; in bnx2x_bmac_stats_update()
637 pstats->pfc_frames_tx_lo = new->tx_stat_gtpp_lo; in bnx2x_bmac_stats_update()
639 pstats->pfc_frames_rx_hi = new->rx_stat_grpp_hi; in bnx2x_bmac_stats_update()
640 pstats->pfc_frames_rx_lo = new->rx_stat_grpp_lo; in bnx2x_bmac_stats_update()
644 pstats->mac_stx[1].rx_stat_mac_xpf_hi; in bnx2x_bmac_stats_update()
646 pstats->mac_stx[1].rx_stat_mac_xpf_lo; in bnx2x_bmac_stats_update()
649 pstats->mac_stx[1].tx_stat_outxoffsent_hi; in bnx2x_bmac_stats_update()
651 pstats->mac_stx[1].tx_stat_outxoffsent_lo; in bnx2x_bmac_stats_update()
654 pstats->pfc_frames_rx_hi; in bnx2x_bmac_stats_update()
[all …]
Dbnx2x_stats.h388 DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \
389 diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \
390 pstats->mac_stx[0].t##_hi = new->s##_hi; \
391 pstats->mac_stx[0].t##_lo = new->s##_lo; \
392 ADD_64(pstats->mac_stx[1].t##_hi, diff.hi, \
393 pstats->mac_stx[1].t##_lo, diff.lo); \
413 ADD_64(pstats->mac_stx[1].t##_hi, new->diff##_hi, \
414 pstats->mac_stx[1].t##_lo, new->diff##_lo); \
419 ADD_EXTEND_64(pstats->mac_stx[1].s##_hi, \
420 pstats->mac_stx[1].s##_lo, \
Dbnx2x_main.c2557 struct host_port_stats *pstats; in bnx2x_link_attn() local
2559 pstats = bnx2x_sp(bp, port_stats); in bnx2x_link_attn()
2561 memset(&(pstats->mac_stx[0]), 0, in bnx2x_link_attn()
/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c302 const struct cmac_statistics *pstats; in t1_get_stats() local
305 pstats = p->mac->ops->statistics_update(p->mac, in t1_get_stats()
308 ns->tx_packets = pstats->TxUnicastFramesOK + in t1_get_stats()
309 pstats->TxMulticastFramesOK + pstats->TxBroadcastFramesOK; in t1_get_stats()
311 ns->rx_packets = pstats->RxUnicastFramesOK + in t1_get_stats()
312 pstats->RxMulticastFramesOK + pstats->RxBroadcastFramesOK; in t1_get_stats()
314 ns->tx_bytes = pstats->TxOctetsOK; in t1_get_stats()
315 ns->rx_bytes = pstats->RxOctetsOK; in t1_get_stats()
317 ns->tx_errors = pstats->TxLateCollisions + pstats->TxLengthErrors + in t1_get_stats()
318 pstats->TxUnderrun + pstats->TxFramesAbortedDueToXSCollisions; in t1_get_stats()
[all …]
/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_dev.c1459 struct rtllib_rx_stats *pstats, in rtl8192_query_rxphystatus() argument
1487 pstats->bPacketMatchBSSID = precord_stats->bPacketMatchBSSID = in rtl8192_query_rxphystatus()
1489 pstats->bPacketToSelf = precord_stats->bPacketToSelf = bpacket_toself; in rtl8192_query_rxphystatus()
1490 pstats->bIsCCK = precord_stats->bIsCCK = is_cck_rate; in rtl8192_query_rxphystatus()
1491 pstats->bPacketBeacon = precord_stats->bPacketBeacon = bPacketBeacon; in rtl8192_query_rxphystatus()
1492 pstats->bToSelfBA = precord_stats->bToSelfBA = bToSelfBA; in rtl8192_query_rxphystatus()
1507 pstats->RxMIMOSignalQuality[0] = -1; in rtl8192_query_rxphystatus()
1508 pstats->RxMIMOSignalQuality[1] = -1; in rtl8192_query_rxphystatus()
1564 pstats->RxPWDBAll = precord_stats->RxPWDBAll = pwdb_all; in rtl8192_query_rxphystatus()
1565 pstats->RecvSignalPower = rx_pwr_all; in rtl8192_query_rxphystatus()
[all …]
Dr8192E_cmdpkt.c343 struct rtllib_rx_stats *pstats) in cmpk_message_handle_rx() argument
352 if (pstats == NULL) { in cmpk_message_handle_rx()
359 total_length = pstats->Length; in cmpk_message_handle_rx()
361 pcmd_buff = pstats->virtual_address; in cmpk_message_handle_rx()
Dr8192E_cmdpkt.h153 struct rtllib_rx_stats *pstats);
/drivers/staging/rtl8192u/
Dr8192U_core.c840 u32 get_rxpacket_shiftbytes_819xusb(struct ieee80211_rx_stats *pstats) in get_rxpacket_shiftbytes_819xusb() argument
844 if (pstats->bisrxaggrsubframe) in get_rxpacket_shiftbytes_819xusb()
845 return (sizeof(rx_desc_819x_usb) + pstats->RxDrvInfoSize in get_rxpacket_shiftbytes_819xusb()
846 + pstats->RxBufShift + 8); in get_rxpacket_shiftbytes_819xusb()
849 return (sizeof(rx_desc_819x_usb) + pstats->RxDrvInfoSize in get_rxpacket_shiftbytes_819xusb()
850 + pstats->RxBufShift); in get_rxpacket_shiftbytes_819xusb()
1108 struct ieee80211_rx_stats *pstats in rtl819xusb_rx_command_packet() argument
1115 status = cmpk_message_handle_rx(dev, pstats); in rtl819xusb_rx_command_packet()
4825 struct ieee80211_rx_stats * pstats, in rtl8192_query_rxphystatus() argument
4856 pstats->bPacketMatchBSSID = precord_stats->bPacketMatchBSSID = bpacket_match_bssid; in rtl8192_query_rxphystatus()
[all …]
Dr819xU_cmdpkt.c697 struct ieee80211_rx_stats *pstats) in cmpk_message_handle_rx() argument
707 if (/*(prfd->queue_id != CMPK_RX_QUEUE_ID) || */(pstats== NULL)) in cmpk_message_handle_rx()
716 total_length = pstats->Length; in cmpk_message_handle_rx()
719 pcmd_buff = pstats->virtual_address; in cmpk_message_handle_rx()
Dr819xU_cmdpkt.h197 extern u32 cmpk_message_handle_rx(struct net_device *dev, struct ieee80211_rx_stats * pstats);
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c1490 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 …]
/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c624 AVG_PERF_COUNTER(priv->pstats.inflight_avg, in mlx4_en_xmit()
711 AVG_PERF_COUNTER(priv->pstats.tx_pktsz_avg, skb->len); in mlx4_en_xmit()
Den_rx.c755 AVG_PERF_COUNTER(priv->pstats.rx_coal_avg, polled); in mlx4_en_process_rx_cq()
788 INC_PERF_COUNTER(priv->pstats.napi_quota); in mlx4_en_poll_rx_cq()
Dmlx4_en.h525 struct mlx4_en_perf_stats pstats; member
Den_netdev.c1735 memset(&priv->pstats, 0, sizeof(priv->pstats)); in mlx4_en_clear_stats()
/drivers/staging/rtl8187se/
Dr8180_core.c2300 static void rtl8180_statistics_init(struct Stats *pstats) in rtl8180_statistics_init() argument
2302 memset(pstats, 0, sizeof(struct Stats)); in rtl8180_statistics_init()