| /drivers/net/wireless/ti/wl1251/ |
| A D | debugfs.c | 62 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()
|
| A D | wl1251.h | 138 struct acx_statistics *fw_stats; member
|
| /drivers/net/wireless/ath/ath10k/ |
| A D | debug.c | 250 ar->debug.fw_stats.extended = false; in ath10k_debug_fw_stats_reset() 251 ath10k_fw_stats_pdevs_free(&ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_reset() 301 is_start = (list_empty(&ar->debug.fw_stats.pdevs) && in ath10k_debug_fw_stats_process() 303 is_end = (!list_empty(&ar->debug.fw_stats.pdevs) && in ath10k_debug_fw_stats_process() 313 ar->debug.fw_stats.extended = true; in ath10k_debug_fw_stats_process() 315 is_started = !list_empty(&ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_process() 336 &ar->debug.fw_stats.peers_extd); in ath10k_debug_fw_stats_process() 2506 INIT_LIST_HEAD(&ar->debug.fw_stats.pdevs); in ath10k_debug_create() 2507 INIT_LIST_HEAD(&ar->debug.fw_stats.vdevs); in ath10k_debug_create() 2508 INIT_LIST_HEAD(&ar->debug.fw_stats.peers); in ath10k_debug_create() [all …]
|
| A D | wmi.c | 8494 struct ath10k_fw_stats *fw_stats, in ath10k_wmi_main_op_fw_stats_fill() argument 8514 num_peers = list_count_nodes(&fw_stats->peers); in ath10k_wmi_main_op_fw_stats_fill() 8515 num_vdevs = list_count_nodes(&fw_stats->vdevs); in ath10k_wmi_main_op_fw_stats_fill() 8539 fw_stats->extended); in ath10k_wmi_main_op_fw_stats_fill() 8552 struct ath10k_fw_stats *fw_stats, in ath10k_wmi_10x_op_fw_stats_fill() argument 8572 num_peers = list_count_nodes(&fw_stats->peers); in ath10k_wmi_10x_op_fw_stats_fill() 8573 num_vdevs = list_count_nodes(&fw_stats->vdevs); in ath10k_wmi_10x_op_fw_stats_fill() 8598 fw_stats->extended); in ath10k_wmi_10x_op_fw_stats_fill() 8699 struct ath10k_fw_stats *fw_stats, in ath10k_wmi_10_4_op_fw_stats_fill() argument 8771 fw_stats->extended); in ath10k_wmi_10_4_op_fw_stats_fill() [all …]
|
| A D | wmi-ops.h | 204 struct ath10k_fw_stats *fw_stats, 1549 ath10k_wmi_fw_stats_fill(struct ath10k *ar, struct ath10k_fw_stats *fw_stats, in ath10k_wmi_fw_stats_fill() argument 1555 ar->wmi.ops->fw_stats_fill(ar, fw_stats, buf); in ath10k_wmi_fw_stats_fill()
|
| A D | core.h | 682 struct ath10k_fw_stats fw_stats; member
|
| /drivers/scsi/fnic/ |
| A D | fnic_stats.h | 73 struct fw_stats { struct 160 struct fw_stats fw_stats; member
|
| A D | fnic_scsi.c | 274 atomic64_inc(&fnic->fnic_stats.fw_stats.active_fw_reqs); in fnic_fw_reset_handler() 277 atomic64_set(&fnic->fnic_stats.fw_stats.max_fw_reqs, in fnic_fw_reset_handler() 279 &fnic->fnic_stats.fw_stats.active_fw_reqs)); in fnic_fw_reset_handler() 340 atomic64_inc(&fnic->fnic_stats.fw_stats.active_fw_reqs); in fnic_flogi_reg_handler() 342 atomic64_read(&fnic->fnic_stats.fw_stats.max_fw_reqs)) in fnic_flogi_reg_handler() 343 atomic64_set(&fnic->fnic_stats.fw_stats.max_fw_reqs, in fnic_flogi_reg_handler() 448 atomic64_inc(&fnic->fnic_stats.fw_stats.active_fw_reqs); in fnic_queue_wq_copy_desc() 451 atomic64_set(&fnic->fnic_stats.fw_stats.max_fw_reqs, in fnic_queue_wq_copy_desc() 1085 atomic64_inc(&fnic_stats->fw_stats.io_fw_errs); in fnic_fcpio_icmnd_cmpl_handler() 1747 atomic64_set(&fnic->fnic_stats.fw_stats.max_fw_reqs, in fnic_queue_abort_io_req() [all …]
|
| A D | fnic_trace.c | 390 (u64)atomic64_read(&stats->fw_stats.active_fw_reqs), in fnic_get_stats_data() 391 (u64)atomic64_read(&stats->fw_stats.max_fw_reqs), in fnic_get_stats_data() 392 (u64)atomic64_read(&stats->fw_stats.fw_out_of_resources), in fnic_get_stats_data() 393 (u64)atomic64_read(&stats->fw_stats.io_fw_errs)); in fnic_get_stats_data()
|
| A D | fnic_debugfs.c | 501 u64 *fw_stats_p = (u64 *)&stats->fw_stats; in fnic_reset_stats_write() 536 sizeof(struct fw_stats) - sizeof(u64)); in fnic_reset_stats_write()
|
| /drivers/net/wireless/ti/wlcore/ |
| A D | debugfs.h | 59 struct struct_type *stats = wl->stats.fw_stats; \ 79 struct struct_type *stats = wl->stats.fw_stats; \
|
| A D | debugfs.c | 62 wl1271_acx_statistics(wl, wl->stats.fw_stats); in wl1271_debugfs_update_stats() 959 wl->stats.fw_stats, in fw_stats_raw_read() 1302 if (!wl->stats.fw_stats) in wl1271_debugfs_reset() 1305 memset(wl->stats.fw_stats, 0, wl->stats.fw_stats_len); in wl1271_debugfs_reset() 1318 wl->stats.fw_stats = kzalloc(wl->stats.fw_stats_len, GFP_KERNEL); in wl1271_debugfs_init() 1319 if (!wl->stats.fw_stats) { in wl1271_debugfs_init() 1346 kfree(wl->stats.fw_stats); in wl1271_debugfs_exit() 1347 wl->stats.fw_stats = NULL; in wl1271_debugfs_exit()
|
| A D | wlcore.h | 167 void *fw_stats; member
|
| /drivers/net/ethernet/myricom/myri10ge/ |
| A D | myri10ge.c | 183 struct mcp_irq_data *fw_stats; member 1487 struct mcp_irq_data *stats = mgp->ss[0].fw_stats; in myri10ge_check_statblock() 1544 struct mcp_irq_data *stats = ss->fw_stats; in myri10ge_intr() 3362 (int)ntohl(mgp->ss[slice].fw_stats-> in myri10ge_check_slice() 3546 if (ss->fw_stats != NULL) { in myri10ge_free_slices() 3547 bytes = sizeof(*ss->fw_stats); in myri10ge_free_slices() 3549 ss->fw_stats, ss->fw_stats_bus); in myri10ge_free_slices() 3550 ss->fw_stats = NULL; in myri10ge_free_slices() 3581 bytes = sizeof(*ss->fw_stats); in myri10ge_alloc_slices() 3582 ss->fw_stats = dma_alloc_coherent(&pdev->dev, bytes, in myri10ge_alloc_slices() [all …]
|
| /drivers/net/wireless/ath/ath11k/ |
| A D | debugfs.c | 115 is_end = ((++ar->fw_stats.num_bcn_recvd) == in ath11k_debugfs_fw_stats_process() 119 &ar->fw_stats.bcn); in ath11k_debugfs_fw_stats_process() 157 ath11k_wmi_fw_stats_fill(ar, &ar->fw_stats, req_param.stats_id, buf); in ath11k_open_pdev_stats() 228 ath11k_wmi_fw_stats_fill(ar, &ar->fw_stats, req_param.stats_id, buf); in ath11k_open_vdev_stats() 305 ath11k_wmi_fw_stats_fill(ar, &ar->fw_stats, req_param.stats_id, buf); in ath11k_open_bcn_stats() 311 ath11k_fw_stats_bcn_free(&ar->fw_stats.bcn); in ath11k_open_bcn_stats() 934 ar->fw_stats.debugfs_fwstats = fwstats_dir; in ath11k_debugfs_fw_stats_init()
|
| A D | core.c | 990 INIT_LIST_HEAD(&ar->fw_stats.pdevs); in ath11k_fw_stats_init() 991 INIT_LIST_HEAD(&ar->fw_stats.vdevs); in ath11k_fw_stats_init() 992 INIT_LIST_HEAD(&ar->fw_stats.bcn); in ath11k_fw_stats_init()
|
| A D | core.h | 788 struct ath11k_fw_stats fw_stats; member
|
| /drivers/net/wireless/ath/ath12k/ |
| A D | core.c | 1234 INIT_LIST_HEAD(&ar->fw_stats.vdevs); in ath12k_fw_stats_init() 1235 INIT_LIST_HEAD(&ar->fw_stats.pdevs); in ath12k_fw_stats_init() 1236 INIT_LIST_HEAD(&ar->fw_stats.bcn); in ath12k_fw_stats_init() 1251 ath12k_fw_stats_free(&ar->fw_stats); in ath12k_fw_stats_reset() 1252 ar->fw_stats.num_vdev_recvd = 0; in ath12k_fw_stats_reset() 1253 ar->fw_stats.num_bcn_recvd = 0; in ath12k_fw_stats_reset()
|
| A D | debugfs.c | 1284 ath12k_wmi_fw_stats_dump(ar, &ar->fw_stats, param.stats_id, in ath12k_open_vdev_stats() 1350 ath12k_wmi_fw_stats_dump(ar, &ar->fw_stats, param.stats_id, in ath12k_open_bcn_stats() 1356 ath12k_fw_stats_bcn_free(&ar->fw_stats.bcn); in ath12k_open_bcn_stats() 1416 ath12k_wmi_fw_stats_dump(ar, &ar->fw_stats, param.stats_id, in ath12k_open_pdev_stats()
|
| A D | wmi.c | 7677 struct ath12k_fw_stats *fw_stats, in ath12k_wmi_fw_vdev_stats_dump() argument 7756 struct ath12k_fw_stats *fw_stats, in ath12k_wmi_fw_bcn_stats_dump() argument 7765 num_bcn = list_count_nodes(&fw_stats->bcn); in ath12k_wmi_fw_bcn_stats_dump() 7773 list_for_each_entry(bcn, &fw_stats->bcn, list) { in ath12k_wmi_fw_bcn_stats_dump() 7936 struct ath12k_fw_stats *fw_stats, in ath12k_wmi_fw_pdev_stats_dump() argument 7942 pdev = list_first_entry_or_null(&fw_stats->pdevs, in ath12k_wmi_fw_pdev_stats_dump() 7958 struct ath12k_fw_stats *fw_stats, in ath12k_wmi_fw_stats_dump() argument 8280 is_end = ((++ar->fw_stats.num_vdev_recvd) == in ath12k_wmi_fw_stats_process() 8284 &ar->fw_stats.vdevs); in ath12k_wmi_fw_stats_process() 8301 is_end = ((++ar->fw_stats.num_bcn_recvd) == in ath12k_wmi_fw_stats_process() [all …]
|
| /drivers/net/ethernet/brocade/bna/ |
| A D | bfa_defs.h | 139 struct bfa_fw_ioc_stats fw_stats; /*!< firmware IOC stats */ member
|
| /drivers/scsi/bnx2fc/ |
| A D | bnx2fc.h | 156 val = fw_stats->stat.cnt; \
|
| A D | bnx2fc_fcoe.c | 683 struct fcoe_statistics_params *fw_stats; in bnx2fc_get_host_stats() local 686 fw_stats = (struct fcoe_statistics_params *)hba->stats_buffer; in bnx2fc_get_host_stats() 687 if (!fw_stats) in bnx2fc_get_host_stats()
|
| /drivers/net/ethernet/broadcom/bnx2x/ |
| A D | bnx2x_cmn.c | 2244 BNX2X_PCI_FREE(bp->fw_stats, bp->fw_stats_mapping, in bnx2x_free_fw_stats_mem() 2301 bp->fw_stats = BNX2X_PCI_ALLOC(&bp->fw_stats_mapping, in bnx2x_alloc_fw_stats_mem() 2303 if (!bp->fw_stats) in bnx2x_alloc_fw_stats_mem() 2307 bp->fw_stats_req = (struct bnx2x_fw_stats_req *)bp->fw_stats; in bnx2x_alloc_fw_stats_mem() 2310 ((u8 *)bp->fw_stats + bp->fw_stats_req_sz); in bnx2x_alloc_fw_stats_mem()
|
| /drivers/scsi/bfa/ |
| A D | bfa_defs.h | 388 struct bfa_fw_ioc_stats_s fw_stats; /* firmware IOC stats */ member
|