Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 25 of 1445) sorted by relevance

12345678910>>...58

/drivers/cpufreq/
Dcpufreq_stats.c30 static void cpufreq_stats_update(struct cpufreq_stats *stats, in cpufreq_stats_update() argument
35 stats->time_in_state[stats->last_index] += cur_time - time; in cpufreq_stats_update()
36 stats->last_time = cur_time; in cpufreq_stats_update()
39 static void cpufreq_stats_reset_table(struct cpufreq_stats *stats) in cpufreq_stats_reset_table() argument
41 unsigned int count = stats->max_state; in cpufreq_stats_reset_table()
43 memset(stats->time_in_state, 0, count * sizeof(u64)); in cpufreq_stats_reset_table()
44 memset(stats->trans_table, 0, count * count * sizeof(int)); in cpufreq_stats_reset_table()
45 stats->last_time = local_clock(); in cpufreq_stats_reset_table()
46 stats->total_trans = 0; in cpufreq_stats_reset_table()
49 WRITE_ONCE(stats->reset_pending, 0); in cpufreq_stats_reset_table()
[all …]
/drivers/net/ethernet/microchip/lan966x/
Dlan966x_ethtool.c308 lan966x_add_cnt(&lan966x->stats[idx++], in lan966x_stats_update()
342 struct ethtool_stats *stats, u64 *data) in lan966x_get_ethtool_stats() argument
353 *data++ = lan966x->stats[port->chip_port * in lan966x_get_ethtool_stats()
371 lan966x->stats[idx + SYS_COUNT_TX_UC] + in lan966x_get_eth_mac_stats()
372 lan966x->stats[idx + SYS_COUNT_TX_MC] + in lan966x_get_eth_mac_stats()
373 lan966x->stats[idx + SYS_COUNT_TX_BC] + in lan966x_get_eth_mac_stats()
374 lan966x->stats[idx + SYS_COUNT_TX_PMAC_UC] + in lan966x_get_eth_mac_stats()
375 lan966x->stats[idx + SYS_COUNT_TX_PMAC_MC] + in lan966x_get_eth_mac_stats()
376 lan966x->stats[idx + SYS_COUNT_TX_PMAC_BC]; in lan966x_get_eth_mac_stats()
378 lan966x->stats[idx + SYS_COUNT_TX_COL]; in lan966x_get_eth_mac_stats()
[all …]
/drivers/infiniband/hw/bnxt_re/
Dhw_counters.c131 struct rdma_hw_stats *stats, in bnxt_re_copy_ext_stats() argument
134 stats->value[BNXT_RE_TX_ATOMIC_REQ] = s->tx_atomic_req; in bnxt_re_copy_ext_stats()
135 stats->value[BNXT_RE_TX_READ_REQ] = s->tx_read_req; in bnxt_re_copy_ext_stats()
136 stats->value[BNXT_RE_TX_READ_RES] = s->tx_read_res; in bnxt_re_copy_ext_stats()
137 stats->value[BNXT_RE_TX_WRITE_REQ] = s->tx_write_req; in bnxt_re_copy_ext_stats()
138 stats->value[BNXT_RE_TX_SEND_REQ] = s->tx_send_req; in bnxt_re_copy_ext_stats()
139 stats->value[BNXT_RE_RX_ATOMIC_REQ] = s->rx_atomic_req; in bnxt_re_copy_ext_stats()
140 stats->value[BNXT_RE_RX_READ_REQ] = s->rx_read_req; in bnxt_re_copy_ext_stats()
141 stats->value[BNXT_RE_RX_READ_RESP] = s->rx_read_res; in bnxt_re_copy_ext_stats()
142 stats->value[BNXT_RE_RX_WRITE_REQ] = s->rx_write_req; in bnxt_re_copy_ext_stats()
[all …]
/drivers/infiniband/hw/ocrdma/
Docrdma_stats.c104 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_resource_stats() local
109 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_resource_stats()
111 pcur = stats; in ocrdma_resource_stats()
112 pcur += ocrdma_add_stat(stats, pcur, "active_dpp_pds", in ocrdma_resource_stats()
114 pcur += ocrdma_add_stat(stats, pcur, "active_non_dpp_pds", in ocrdma_resource_stats()
116 pcur += ocrdma_add_stat(stats, pcur, "active_rc_dpp_qps", in ocrdma_resource_stats()
118 pcur += ocrdma_add_stat(stats, pcur, "active_uc_dpp_qps", in ocrdma_resource_stats()
120 pcur += ocrdma_add_stat(stats, pcur, "active_ud_dpp_qps", in ocrdma_resource_stats()
122 pcur += ocrdma_add_stat(stats, pcur, "active_rc_non_dpp_qps", in ocrdma_resource_stats()
124 pcur += ocrdma_add_stat(stats, pcur, "active_uc_non_dpp_qps", in ocrdma_resource_stats()
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Ddebug.c102 struct macstat stats; in brcms_debugfs_macstat_read() local
106 stats = *(drvr->wlc->core->macstat_snapshot); in brcms_debugfs_macstat_read()
109 seq_printf(s, "txallfrm: %d\n", stats.txallfrm); in brcms_debugfs_macstat_read()
110 seq_printf(s, "txrtsfrm: %d\n", stats.txrtsfrm); in brcms_debugfs_macstat_read()
111 seq_printf(s, "txctsfrm: %d\n", stats.txctsfrm); in brcms_debugfs_macstat_read()
112 seq_printf(s, "txackfrm: %d\n", stats.txackfrm); in brcms_debugfs_macstat_read()
113 seq_printf(s, "txdnlfrm: %d\n", stats.txdnlfrm); in brcms_debugfs_macstat_read()
114 seq_printf(s, "txbcnfrm: %d\n", stats.txbcnfrm); in brcms_debugfs_macstat_read()
116 for (i = 0; i < ARRAY_SIZE(stats.txfunfl); i++) in brcms_debugfs_macstat_read()
117 seq_printf(s, " %d", stats.txfunfl[i]); in brcms_debugfs_macstat_read()
[all …]
/drivers/net/wireless/realtek/rtlwifi/
Dstats.c80 rtlpriv->stats.pwdb_all_cnt += pstatus->rx_pwdb_all; in rtl_process_ui_rssi()
81 rtlpriv->stats.rssi_calculate_cnt++; in rtl_process_ui_rssi()
83 if (rtlpriv->stats.ui_rssi.total_num++ >= PHY_RSSI_SLID_WIN_MAX) { in rtl_process_ui_rssi()
84 rtlpriv->stats.ui_rssi.total_num = PHY_RSSI_SLID_WIN_MAX; in rtl_process_ui_rssi()
85 last_rssi = rtlpriv->stats.ui_rssi.elements[ in rtl_process_ui_rssi()
86 rtlpriv->stats.ui_rssi.index]; in rtl_process_ui_rssi()
87 rtlpriv->stats.ui_rssi.total_val -= last_rssi; in rtl_process_ui_rssi()
89 rtlpriv->stats.ui_rssi.total_val += pstatus->signalstrength; in rtl_process_ui_rssi()
90 rtlpriv->stats.ui_rssi.elements[rtlpriv->stats.ui_rssi.index++] = in rtl_process_ui_rssi()
92 if (rtlpriv->stats.ui_rssi.index >= PHY_RSSI_SLID_WIN_MAX) in rtl_process_ui_rssi()
[all …]
/drivers/scsi/snic/
Dsnic_debugfs.c107 struct snic_stats *stats = &snic->s_stats; in snic_reset_stats_write() local
108 u64 *io_stats_p = (u64 *) &stats->io; in snic_reset_stats_write()
109 u64 *fw_stats_p = (u64 *) &stats->fw; in snic_reset_stats_write()
134 atomic64_read(&stats->io.active)); in snic_reset_stats_write()
135 memset(&stats->abts, 0, sizeof(struct snic_abort_stats)); in snic_reset_stats_write()
136 memset(&stats->reset, 0, sizeof(struct snic_reset_stats)); in snic_reset_stats_write()
137 memset(&stats->misc, 0, sizeof(struct snic_misc_stats)); in snic_reset_stats_write()
168 struct snic_stats *stats = &snic->s_stats; in snic_stats_show() local
179 maxio_tm = (u64) atomic64_read(&stats->io.max_time); in snic_stats_show()
195 (u64) atomic64_read(&stats->io.active), in snic_stats_show()
[all …]
/drivers/infiniband/hw/hfi1/
Dvnic_main.c24 #define SUM_GRP_COUNTERS(stats, qstats, x_grp) do { \ argument
27 dst64 = &stats->x_grp.unicast; \
28 dst64 <= &stats->x_grp.s_1519_max;) { \
38 struct opa_vnic_stats *stats) in hfi1_vnic_update_stats() argument
45 struct opa_vnic_stats *qstats = &vinfo->stats[i]; in hfi1_vnic_update_stats()
46 struct rtnl_link_stats64 *qnstats = &vinfo->stats[i].netstats; in hfi1_vnic_update_stats()
48 stats->netstats.tx_fifo_errors += qnstats->tx_fifo_errors; in hfi1_vnic_update_stats()
49 stats->netstats.tx_carrier_errors += qnstats->tx_carrier_errors; in hfi1_vnic_update_stats()
50 stats->tx_drop_state += qstats->tx_drop_state; in hfi1_vnic_update_stats()
51 stats->tx_dlid_zero += qstats->tx_dlid_zero; in hfi1_vnic_update_stats()
[all …]
/drivers/net/wireless/st/cw1200/
Dqueue.c29 struct cw1200_queue_stats *stats = queue->stats; in __cw1200_queue_lock() local
33 ieee80211_stop_queue(stats->priv->hw, queue->queue_id); in __cw1200_queue_lock()
39 struct cw1200_queue_stats *stats = queue->stats; in __cw1200_queue_unlock() local
44 ieee80211_wake_queue(stats->priv->hw, queue->queue_id); in __cw1200_queue_unlock()
67 static void cw1200_queue_post_gc(struct cw1200_queue_stats *stats, in cw1200_queue_post_gc() argument
74 stats->skb_dtor(stats->priv, item->skb, &item->txpriv); in cw1200_queue_post_gc()
93 struct cw1200_queue_stats *stats = queue->stats; in __cw1200_queue_gc() local
104 spin_lock_bh(&stats->lock); in __cw1200_queue_gc()
105 --stats->num_queued; in __cw1200_queue_gc()
106 if (!--stats->link_map_cache[iter->txpriv.link_id]) in __cw1200_queue_gc()
[all …]
/drivers/scsi/fnic/
Dfnic_trace.c202 struct fnic_stats *stats) in fnic_get_stats_data() argument
221 (s64)stats->stats_timestamps.last_reset_time.tv_sec, in fnic_get_stats_data()
222 stats->stats_timestamps.last_reset_time.tv_nsec, in fnic_get_stats_data()
223 (s64)stats->stats_timestamps.last_read_time.tv_sec, in fnic_get_stats_data()
224 stats->stats_timestamps.last_read_time.tv_nsec, in fnic_get_stats_data()
225 (s64)timespec64_sub(val1, stats->stats_timestamps.last_reset_time).tv_sec, in fnic_get_stats_data()
226 timespec64_sub(val1, stats->stats_timestamps.last_reset_time).tv_nsec, in fnic_get_stats_data()
227 (s64)timespec64_sub(val1, stats->stats_timestamps.last_read_time).tv_sec, in fnic_get_stats_data()
228 timespec64_sub(val1, stats->stats_timestamps.last_read_time).tv_nsec); in fnic_get_stats_data()
230 stats->stats_timestamps.last_read_time = val1; in fnic_get_stats_data()
[all …]
/drivers/infiniband/ulp/rtrs/
Drtrs-clt-stats.c17 struct rtrs_clt_stats *stats = clt_path->stats; in rtrs_clt_update_wc_stats() local
22 s = get_cpu_ptr(stats->pcpu_stats); in rtrs_clt_update_wc_stats()
27 s = per_cpu_ptr(stats->pcpu_stats, con->cpu); in rtrs_clt_update_wc_stats()
30 put_cpu_ptr(stats->pcpu_stats); in rtrs_clt_update_wc_stats()
33 void rtrs_clt_inc_failover_cnt(struct rtrs_clt_stats *stats) in rtrs_clt_inc_failover_cnt() argument
35 this_cpu_inc(stats->pcpu_stats->rdma.failover_cnt); in rtrs_clt_inc_failover_cnt()
38 int rtrs_clt_stats_migration_from_cnt_to_str(struct rtrs_clt_stats *stats, char *buf) in rtrs_clt_stats_migration_from_cnt_to_str() argument
47 s = per_cpu_ptr(stats->pcpu_stats, cpu); in rtrs_clt_stats_migration_from_cnt_to_str()
57 int rtrs_clt_stats_migration_to_cnt_to_str(struct rtrs_clt_stats *stats, char *buf) in rtrs_clt_stats_migration_to_cnt_to_str() argument
66 s = per_cpu_ptr(stats->pcpu_stats, cpu); in rtrs_clt_stats_migration_to_cnt_to_str()
[all …]
/drivers/gpu/drm/i915/gt/
Dintel_engine_stats.h18 struct intel_engine_execlists_stats *stats = &engine->stats.execlists; in intel_engine_context_in() local
21 if (stats->active) { in intel_engine_context_in()
22 stats->active++; in intel_engine_context_in()
28 write_seqcount_begin(&stats->lock); in intel_engine_context_in()
30 stats->start = ktime_get(); in intel_engine_context_in()
31 stats->active++; in intel_engine_context_in()
33 write_seqcount_end(&stats->lock); in intel_engine_context_in()
36 GEM_BUG_ON(!stats->active); in intel_engine_context_in()
41 struct intel_engine_execlists_stats *stats = &engine->stats.execlists; in intel_engine_context_out() local
44 GEM_BUG_ON(!stats->active); in intel_engine_context_out()
[all …]
/drivers/media/platform/rockchip/rkisp1/
Drkisp1-stats.c25 struct rkisp1_stats *stats = video_get_drvdata(video); in rkisp1_stats_enum_fmt_meta_cap() local
30 f->pixelformat = stats->vdev_fmt.fmt.meta.dataformat; in rkisp1_stats_enum_fmt_meta_cap()
38 struct rkisp1_stats *stats = video_get_drvdata(video); in rkisp1_stats_g_fmt_meta_cap() local
45 meta->dataformat = stats->vdev_fmt.fmt.meta.dataformat; in rkisp1_stats_g_fmt_meta_cap()
46 meta->buffersize = stats->vdev_fmt.fmt.meta.buffersize; in rkisp1_stats_g_fmt_meta_cap()
133 struct rkisp1_stats *stats = vq->drv_priv; in rkisp1_stats_vb2_stop_streaming() local
137 spin_lock_irq(&stats->lock); in rkisp1_stats_vb2_stop_streaming()
139 if (list_empty(&stats->stat)) in rkisp1_stats_vb2_stop_streaming()
141 buf = list_first_entry(&stats->stat, in rkisp1_stats_vb2_stop_streaming()
146 spin_unlock_irq(&stats->lock); in rkisp1_stats_vb2_stop_streaming()
[all …]
/drivers/infiniband/hw/cxgb4/
Dresource.c125 mutex_lock(&rdev->stats.lock); in c4iw_get_cqid()
126 rdev->stats.qid.cur += rdev->qpmask + 1; in c4iw_get_cqid()
127 mutex_unlock(&rdev->stats.lock); in c4iw_get_cqid()
156 mutex_lock(&rdev->stats.lock); in c4iw_get_cqid()
157 if (rdev->stats.qid.cur > rdev->stats.qid.max) in c4iw_get_cqid()
158 rdev->stats.qid.max = rdev->stats.qid.cur; in c4iw_get_cqid()
159 mutex_unlock(&rdev->stats.lock); in c4iw_get_cqid()
194 mutex_lock(&rdev->stats.lock); in c4iw_get_qpid()
195 rdev->stats.qid.fail++; in c4iw_get_qpid()
196 mutex_unlock(&rdev->stats.lock); in c4iw_get_qpid()
[all …]
/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c89 priv->stats.txfeedbackok++; in cmpk_count_txstatistic()
90 priv->stats.txoktotal++; in cmpk_count_txstatistic()
91 priv->stats.txokbytestotal += pstx_fb->pkt_length; in cmpk_count_txstatistic()
92 priv->stats.txokinperiod++; in cmpk_count_txstatistic()
96 priv->stats.txmulticast++; in cmpk_count_txstatistic()
97 priv->stats.txbytesmulticast += pstx_fb->pkt_length; in cmpk_count_txstatistic()
99 priv->stats.txbroadcast++; in cmpk_count_txstatistic()
100 priv->stats.txbytesbroadcast += pstx_fb->pkt_length; in cmpk_count_txstatistic()
102 priv->stats.txunicast++; in cmpk_count_txstatistic()
103 priv->stats.txbytesunicast += pstx_fb->pkt_length; in cmpk_count_txstatistic()
[all …]
Dr8192U_debugfs.c101 priv->stats.txviokint, in rtl8192_usb_stats_tx_show()
102 priv->stats.txvierr, in rtl8192_usb_stats_tx_show()
103 priv->stats.txvookint, in rtl8192_usb_stats_tx_show()
104 priv->stats.txvoerr, in rtl8192_usb_stats_tx_show()
105 priv->stats.txbeokint, in rtl8192_usb_stats_tx_show()
106 priv->stats.txbeerr, in rtl8192_usb_stats_tx_show()
107 priv->stats.txbkokint, in rtl8192_usb_stats_tx_show()
108 priv->stats.txbkerr, in rtl8192_usb_stats_tx_show()
109 priv->stats.txmanageokint, in rtl8192_usb_stats_tx_show()
110 priv->stats.txmanageerr, in rtl8192_usb_stats_tx_show()
[all …]
/drivers/net/ethernet/aquantia/atlantic/
Daq_ring.c100 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
101 self->stats.rx.pg_flips++; in aq_get_rxpages()
102 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
110 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
111 self->stats.rx.pg_losts++; in aq_get_rxpages()
112 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
116 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
117 self->stats.rx.pg_reuses++; in aq_get_rxpages()
118 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
125 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
[all …]
Daq_macsec.c134 struct aq_macsec_common_stats *stats) in aq_get_macsec_common_stats() argument
145 stats->in.ctl_pkts = STATS_2x32_TO_64(ingress_counters.ctl_pkts); in aq_get_macsec_common_stats()
146 stats->in.tagged_miss_pkts = in aq_get_macsec_common_stats()
148 stats->in.untagged_miss_pkts = in aq_get_macsec_common_stats()
150 stats->in.notag_pkts = STATS_2x32_TO_64(ingress_counters.notag_pkts); in aq_get_macsec_common_stats()
151 stats->in.untagged_pkts = in aq_get_macsec_common_stats()
153 stats->in.bad_tag_pkts = in aq_get_macsec_common_stats()
155 stats->in.no_sci_pkts = STATS_2x32_TO_64(ingress_counters.no_sci_pkts); in aq_get_macsec_common_stats()
156 stats->in.unknown_sci_pkts = in aq_get_macsec_common_stats()
158 stats->in.ctrl_prt_pass_pkts = in aq_get_macsec_common_stats()
[all …]
/drivers/net/
Dmhi_net.c37 struct mhi_net_stats stats; member
93 u64_stats_update_begin(&mhi_netdev->stats.tx_syncp); in mhi_ndo_xmit()
94 u64_stats_inc(&mhi_netdev->stats.tx_dropped); in mhi_ndo_xmit()
95 u64_stats_update_end(&mhi_netdev->stats.tx_syncp); in mhi_ndo_xmit()
101 struct rtnl_link_stats64 *stats) in mhi_ndo_get_stats64() argument
107 start = u64_stats_fetch_begin_irq(&mhi_netdev->stats.rx_syncp); in mhi_ndo_get_stats64()
108 stats->rx_packets = u64_stats_read(&mhi_netdev->stats.rx_packets); in mhi_ndo_get_stats64()
109 stats->rx_bytes = u64_stats_read(&mhi_netdev->stats.rx_bytes); in mhi_ndo_get_stats64()
110 stats->rx_errors = u64_stats_read(&mhi_netdev->stats.rx_errors); in mhi_ndo_get_stats64()
111 } while (u64_stats_fetch_retry_irq(&mhi_netdev->stats.rx_syncp, start)); in mhi_ndo_get_stats64()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.c151 rtlpriv->stats.rx_snr_db[i] = in _rtl92de_query_rxphystatus()
194 if (rtlpriv->stats.rx_rssi_percentage[rfpath] == 0) { in rtl92d_loop_over_paths()
195 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl92d_loop_over_paths()
200 rtlpriv->stats.rx_rssi_percentage[rfpath]) { in rtl92d_loop_over_paths()
201 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl92d_loop_over_paths()
202 ((rtlpriv->stats.rx_rssi_percentage[rfpath] * in rtl92d_loop_over_paths()
206 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl92d_loop_over_paths()
207 rtlpriv->stats.rx_rssi_percentage[rfpath] + 1; in rtl92d_loop_over_paths()
209 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl92d_loop_over_paths()
210 ((rtlpriv->stats.rx_rssi_percentage[rfpath] * in rtl92d_loop_over_paths()
[all …]
/drivers/thermal/
Dthermal_sysfs.c671 static void update_time_in_state(struct cooling_dev_stats *stats) in update_time_in_state() argument
675 delta = ktime_sub(now, stats->last_time); in update_time_in_state()
676 stats->time_in_state[stats->state] = in update_time_in_state()
677 ktime_add(stats->time_in_state[stats->state], delta); in update_time_in_state()
678 stats->last_time = now; in update_time_in_state()
684 struct cooling_dev_stats *stats = cdev->stats; in thermal_cooling_device_stats_update() local
686 if (!stats) in thermal_cooling_device_stats_update()
689 spin_lock(&stats->lock); in thermal_cooling_device_stats_update()
691 if (stats->state == new_state) in thermal_cooling_device_stats_update()
694 update_time_in_state(stats); in thermal_cooling_device_stats_update()
[all …]
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c31 struct nfp_repr_pcpu_stats *stats; in nfp_repr_inc_tx_stats() local
35 this_cpu_inc(repr->stats->tx_drops); in nfp_repr_inc_tx_stats()
39 stats = this_cpu_ptr(repr->stats); in nfp_repr_inc_tx_stats()
40 u64_stats_update_begin(&stats->syncp); in nfp_repr_inc_tx_stats()
41 stats->tx_packets++; in nfp_repr_inc_tx_stats()
42 stats->tx_bytes += len; in nfp_repr_inc_tx_stats()
43 u64_stats_update_end(&stats->syncp); in nfp_repr_inc_tx_stats()
49 struct nfp_repr_pcpu_stats *stats; in nfp_repr_inc_rx_stats() local
51 stats = this_cpu_ptr(repr->stats); in nfp_repr_inc_rx_stats()
52 u64_stats_update_begin(&stats->syncp); in nfp_repr_inc_rx_stats()
[all …]
/drivers/net/fddi/skfp/
Dskfddi.c686 …memcpy(bp->stats.smt_station_id, &bp->cmd_rsp_virt->smt_mib_get.smt_station_id, sizeof(bp->cmd_rsp… in skfp_ctl_get_stats()
687 bp->stats.smt_op_version_id = bp->cmd_rsp_virt->smt_mib_get.smt_op_version_id; in skfp_ctl_get_stats()
688 bp->stats.smt_hi_version_id = bp->cmd_rsp_virt->smt_mib_get.smt_hi_version_id; in skfp_ctl_get_stats()
689 bp->stats.smt_lo_version_id = bp->cmd_rsp_virt->smt_mib_get.smt_lo_version_id; in skfp_ctl_get_stats()
690 …memcpy(bp->stats.smt_user_data, &bp->cmd_rsp_virt->smt_mib_get.smt_user_data, sizeof(bp->cmd_rsp_v… in skfp_ctl_get_stats()
691 bp->stats.smt_mib_version_id = bp->cmd_rsp_virt->smt_mib_get.smt_mib_version_id; in skfp_ctl_get_stats()
692 bp->stats.smt_mac_cts = bp->cmd_rsp_virt->smt_mib_get.smt_mac_ct; in skfp_ctl_get_stats()
693 bp->stats.smt_non_master_cts = bp->cmd_rsp_virt->smt_mib_get.smt_non_master_ct; in skfp_ctl_get_stats()
694 bp->stats.smt_master_cts = bp->cmd_rsp_virt->smt_mib_get.smt_master_ct; in skfp_ctl_get_stats()
695 bp->stats.smt_available_paths = bp->cmd_rsp_virt->smt_mib_get.smt_available_paths; in skfp_ctl_get_stats()
[all …]
/drivers/net/wireless/ath/ath6kl/
Dmain.c708 struct target_stats *stats = &vif->target_stats; in ath6kl_update_target_stats() local
718 stats->tx_pkt += le32_to_cpu(tgt_stats->stats.tx.pkt); in ath6kl_update_target_stats()
719 stats->tx_byte += le32_to_cpu(tgt_stats->stats.tx.byte); in ath6kl_update_target_stats()
720 stats->tx_ucast_pkt += le32_to_cpu(tgt_stats->stats.tx.ucast_pkt); in ath6kl_update_target_stats()
721 stats->tx_ucast_byte += le32_to_cpu(tgt_stats->stats.tx.ucast_byte); in ath6kl_update_target_stats()
722 stats->tx_mcast_pkt += le32_to_cpu(tgt_stats->stats.tx.mcast_pkt); in ath6kl_update_target_stats()
723 stats->tx_mcast_byte += le32_to_cpu(tgt_stats->stats.tx.mcast_byte); in ath6kl_update_target_stats()
724 stats->tx_bcast_pkt += le32_to_cpu(tgt_stats->stats.tx.bcast_pkt); in ath6kl_update_target_stats()
725 stats->tx_bcast_byte += le32_to_cpu(tgt_stats->stats.tx.bcast_byte); in ath6kl_update_target_stats()
726 stats->tx_rts_success_cnt += in ath6kl_update_target_stats()
[all …]
/drivers/net/ethernet/pensando/ionic/
Dionic_stats.c162 struct ionic_lif_sw_stats *stats) in ionic_add_lif_txq_stats() argument
166 stats->tx_packets += txstats->pkts; in ionic_add_lif_txq_stats()
167 stats->tx_bytes += txstats->bytes; in ionic_add_lif_txq_stats()
168 stats->tx_tso += txstats->tso; in ionic_add_lif_txq_stats()
169 stats->tx_tso_bytes += txstats->tso_bytes; in ionic_add_lif_txq_stats()
170 stats->tx_csum_none += txstats->csum_none; in ionic_add_lif_txq_stats()
171 stats->tx_csum += txstats->csum; in ionic_add_lif_txq_stats()
172 stats->tx_hwstamp_valid += txstats->hwstamp_valid; in ionic_add_lif_txq_stats()
173 stats->tx_hwstamp_invalid += txstats->hwstamp_invalid; in ionic_add_lif_txq_stats()
177 struct ionic_lif_sw_stats *stats) in ionic_add_lif_rxq_stats() argument
[all …]

12345678910>>...58