Home
last modified time | relevance | path

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

/drivers/net/wireless/ti/wl1251/
Ddebugfs.c62 wl->stats.fw_stats->sub.name); \
91 wl1251_acx_statistics(wl, wl->stats.fw_stats); in wl1251_debugfs_update_stats()
439 if (wl->stats.fw_stats != NULL) in wl1251_debugfs_reset()
440 memset(wl->stats.fw_stats, 0, sizeof(*wl->stats.fw_stats)); in wl1251_debugfs_reset()
447 wl->stats.fw_stats = kzalloc(sizeof(*wl->stats.fw_stats), GFP_KERNEL); in wl1251_debugfs_init()
448 if (!wl->stats.fw_stats) in wl1251_debugfs_init()
467 kfree(wl->stats.fw_stats); in wl1251_debugfs_exit()
468 wl->stats.fw_stats = NULL; in wl1251_debugfs_exit()
Dwl1251.h138 struct acx_statistics *fw_stats; member
/drivers/scsi/fnic/
Dfnic_stats.h83 struct fw_stats { struct
128 struct fw_stats fw_stats; member
Dfnic_scsi.c230 atomic64_inc(&fnic->fnic_stats.fw_stats.active_fw_reqs); in fnic_fw_reset_handler()
231 if (atomic64_read(&fnic->fnic_stats.fw_stats.active_fw_reqs) > in fnic_fw_reset_handler()
232 atomic64_read(&fnic->fnic_stats.fw_stats.max_fw_reqs)) in fnic_fw_reset_handler()
233 atomic64_set(&fnic->fnic_stats.fw_stats.max_fw_reqs, in fnic_fw_reset_handler()
235 &fnic->fnic_stats.fw_stats.active_fw_reqs)); in fnic_fw_reset_handler()
301 atomic64_inc(&fnic->fnic_stats.fw_stats.active_fw_reqs); in fnic_flogi_reg_handler()
302 if (atomic64_read(&fnic->fnic_stats.fw_stats.active_fw_reqs) > in fnic_flogi_reg_handler()
303 atomic64_read(&fnic->fnic_stats.fw_stats.max_fw_reqs)) in fnic_flogi_reg_handler()
304 atomic64_set(&fnic->fnic_stats.fw_stats.max_fw_reqs, in fnic_flogi_reg_handler()
305 atomic64_read(&fnic->fnic_stats.fw_stats.active_fw_reqs)); in fnic_flogi_reg_handler()
[all …]
Dfnic_trace.c381 (u64)atomic64_read(&stats->fw_stats.active_fw_reqs), in fnic_get_stats_data()
382 (u64)atomic64_read(&stats->fw_stats.max_fw_reqs), in fnic_get_stats_data()
383 (u64)atomic64_read(&stats->fw_stats.fw_out_of_resources), in fnic_get_stats_data()
384 (u64)atomic64_read(&stats->fw_stats.io_fw_errs)); in fnic_get_stats_data()
Dfnic_debugfs.c517 u64 *fw_stats_p = (u64 *)&stats->fw_stats; in fnic_reset_stats_write()
552 sizeof(struct fw_stats) - sizeof(u64)); in fnic_reset_stats_write()
/drivers/net/wireless/ath/ath10k/
Ddebug.c246 ar->debug.fw_stats.extended = false; in ath10k_debug_fw_stats_reset()
247 ath10k_fw_stats_pdevs_free(&ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_reset()
248 ath10k_fw_stats_vdevs_free(&ar->debug.fw_stats.vdevs); in ath10k_debug_fw_stats_reset()
249 ath10k_fw_stats_peers_free(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_reset()
250 ath10k_fw_extd_stats_peers_free(&ar->debug.fw_stats.peers_extd); in ath10k_debug_fw_stats_reset()
295 num_peers = ath10k_wmi_fw_stats_num_peers(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_process()
296 num_vdevs = ath10k_wmi_fw_stats_num_vdevs(&ar->debug.fw_stats.vdevs); in ath10k_debug_fw_stats_process()
297 is_start = (list_empty(&ar->debug.fw_stats.pdevs) && in ath10k_debug_fw_stats_process()
299 is_end = (!list_empty(&ar->debug.fw_stats.pdevs) && in ath10k_debug_fw_stats_process()
303 list_splice_tail_init(&stats.pdevs, &ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_process()
[all …]
Dwmi.c8347 struct ath10k_fw_stats *fw_stats, in ath10k_wmi_main_op_fw_stats_fill() argument
8360 pdev = list_first_entry_or_null(&fw_stats->pdevs, in ath10k_wmi_main_op_fw_stats_fill()
8367 num_peers = ath10k_wmi_fw_stats_num_peers(&fw_stats->peers); in ath10k_wmi_main_op_fw_stats_fill()
8368 num_vdevs = ath10k_wmi_fw_stats_num_vdevs(&fw_stats->vdevs); in ath10k_wmi_main_op_fw_stats_fill()
8380 list_for_each_entry(vdev, &fw_stats->vdevs, list) { in ath10k_wmi_main_op_fw_stats_fill()
8390 list_for_each_entry(peer, &fw_stats->peers, list) { in ath10k_wmi_main_op_fw_stats_fill()
8392 fw_stats->extended); in ath10k_wmi_main_op_fw_stats_fill()
8405 struct ath10k_fw_stats *fw_stats, in ath10k_wmi_10x_op_fw_stats_fill() argument
8418 pdev = list_first_entry_or_null(&fw_stats->pdevs, in ath10k_wmi_10x_op_fw_stats_fill()
8425 num_peers = ath10k_wmi_fw_stats_num_peers(&fw_stats->peers); in ath10k_wmi_10x_op_fw_stats_fill()
[all …]
Dwmi-ops.h196 struct ath10k_fw_stats *fw_stats,
1475 ath10k_wmi_fw_stats_fill(struct ath10k *ar, struct ath10k_fw_stats *fw_stats, in ath10k_wmi_fw_stats_fill() argument
1481 ar->wmi.ops->fw_stats_fill(ar, fw_stats, buf); in ath10k_wmi_fw_stats_fill()
Dcore.h625 struct ath10k_fw_stats fw_stats; member
Dwmi.h7368 struct ath10k_fw_stats *fw_stats,
7371 struct ath10k_fw_stats *fw_stats,
7376 struct ath10k_fw_stats *fw_stats,
/drivers/net/wireless/ti/wlcore/
Ddebugfs.h59 struct struct_type *stats = wl->stats.fw_stats; \
79 struct struct_type *stats = wl->stats.fw_stats; \
Ddebugfs.c64 wl1271_acx_statistics(wl, wl->stats.fw_stats); in wl1271_debugfs_update_stats()
981 wl->stats.fw_stats, in fw_stats_raw_read()
1327 if (!wl->stats.fw_stats) in wl1271_debugfs_reset()
1330 memset(wl->stats.fw_stats, 0, wl->stats.fw_stats_len); in wl1271_debugfs_reset()
1343 wl->stats.fw_stats = kzalloc(wl->stats.fw_stats_len, GFP_KERNEL); in wl1271_debugfs_init()
1344 if (!wl->stats.fw_stats) { in wl1271_debugfs_init()
1371 kfree(wl->stats.fw_stats); in wl1271_debugfs_exit()
1372 wl->stats.fw_stats = NULL; in wl1271_debugfs_exit()
Dwlcore.h167 void *fw_stats; member
/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c182 struct mcp_irq_data *fw_stats; member
1497 struct mcp_irq_data *stats = mgp->ss[0].fw_stats; in myri10ge_check_statblock()
1554 struct mcp_irq_data *stats = ss->fw_stats; in myri10ge_intr()
1826 data[i++] = (unsigned int)ntohl(ss->fw_stats->link_up); in myri10ge_get_ethtool_stats()
1827 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_link_overflow); in myri10ge_get_ethtool_stats()
1829 (unsigned int)ntohl(ss->fw_stats->dropped_link_error_or_filtered); in myri10ge_get_ethtool_stats()
1830 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_pause); in myri10ge_get_ethtool_stats()
1831 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_bad_phy); in myri10ge_get_ethtool_stats()
1832 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_bad_crc32); in myri10ge_get_ethtool_stats()
1833 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_unicast_filtered); in myri10ge_get_ethtool_stats()
[all …]
/drivers/net/ethernet/brocade/bna/
Dbfa_defs.h139 struct bfa_fw_ioc_stats fw_stats; /*!< firmware IOC stats */ member
/drivers/scsi/bnx2fc/
Dbnx2fc.h159 val = fw_stats->stat.cnt; \
Dbnx2fc_fcoe.c684 struct fcoe_statistics_params *fw_stats; in bnx2fc_get_host_stats() local
687 fw_stats = (struct fcoe_statistics_params *)hba->stats_buffer; in bnx2fc_get_host_stats()
688 if (!fw_stats) in bnx2fc_get_host_stats()
/drivers/scsi/bfa/
Dbfa_defs.h388 struct bfa_fw_ioc_stats_s fw_stats; /* firmware IOC stats */ member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c2229 BNX2X_PCI_FREE(bp->fw_stats, bp->fw_stats_mapping, in bnx2x_free_fw_stats_mem()
2286 bp->fw_stats = BNX2X_PCI_ALLOC(&bp->fw_stats_mapping, in bnx2x_alloc_fw_stats_mem()
2288 if (!bp->fw_stats) in bnx2x_alloc_fw_stats_mem()
2292 bp->fw_stats_req = (struct bnx2x_fw_stats_req *)bp->fw_stats; in bnx2x_alloc_fw_stats_mem()
2295 ((u8 *)bp->fw_stats + bp->fw_stats_req_sz); in bnx2x_alloc_fw_stats_mem()
Dbnx2x.h1625 void *fw_stats; member
Dbnx2x_main.c8265 BNX2X_PCI_FREE(bp->fw_stats, bp->fw_stats_mapping, in bnx2x_free_mem()