| /linux/drivers/net/wireless/ti/wl1251/ |
| H 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_obj(*wl->stats.fw_stats); 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()
|
| H A D | wl1251.h | 138 struct acx_statistics *fw_stats; member
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H 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() 252 ath10k_fw_stats_vdevs_free(&ar->debug.fw_stats.vdevs); in ath10k_debug_fw_stats_reset() 253 ath10k_fw_stats_peers_free(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_reset() 254 ath10k_fw_extd_stats_peers_free(&ar->debug.fw_stats.peers_extd); in ath10k_debug_fw_stats_reset() 299 num_peers = list_count_nodes(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_process() 300 num_vdevs = list_count_nodes(&ar->debug.fw_stats.vdevs); in ath10k_debug_fw_stats_process() 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() 307 list_splice_tail_init(&stats.pdevs, &ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_process() [all …]
|
| H A D | wmi.c | 8495 struct ath10k_fw_stats *fw_stats, in ath10k_wmi_main_op_fw_stats_fill() argument 8508 pdev = list_first_entry_or_null(&fw_stats->pdevs, in ath10k_wmi_main_op_fw_stats_fill() 8515 num_peers = list_count_nodes(&fw_stats->peers); in ath10k_wmi_main_op_fw_stats_fill() 8516 num_vdevs = list_count_nodes(&fw_stats->vdevs); in ath10k_wmi_main_op_fw_stats_fill() 8528 list_for_each_entry(vdev, &fw_stats->vdevs, list) { in ath10k_wmi_main_op_fw_stats_fill() 8538 list_for_each_entry(peer, &fw_stats->peers, list) { in ath10k_wmi_main_op_fw_stats_fill() 8540 fw_stats->extended); in ath10k_wmi_main_op_fw_stats_fill() 8553 struct ath10k_fw_stats *fw_stats, in ath10k_wmi_10x_op_fw_stats_fill() argument 8566 pdev = list_first_entry_or_null(&fw_stats->pdevs, in ath10k_wmi_10x_op_fw_stats_fill() 8573 num_peers = list_count_nodes(&fw_stats->peers); in ath10k_wmi_10x_op_fw_stats_fill() [all …]
|
| H 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()
|
| /linux/drivers/scsi/fnic/ |
| H A D | fnic_stats.h | 73 struct fw_stats { struct 160 struct fw_stats fw_stats; member
|
| H A D | fnic_trace.c | 385 (u64)atomic64_read(&stats->fw_stats.active_fw_reqs), in fnic_get_stats_data() 386 (u64)atomic64_read(&stats->fw_stats.max_fw_reqs), in fnic_get_stats_data() 387 (u64)atomic64_read(&stats->fw_stats.fw_out_of_resources), in fnic_get_stats_data() 388 (u64)atomic64_read(&stats->fw_stats.io_fw_errs)); in fnic_get_stats_data()
|
| H 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()
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | debugfs.h | 59 struct struct_type *stats = wl->stats.fw_stats; \ 79 struct struct_type *stats = wl->stats.fw_stats; \
|
| H A D | wlcore.h | 167 void *fw_stats; member
|
| /linux/drivers/net/ethernet/myricom/myri10ge/ |
| H A D | myri10ge.c | 183 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() 1832 data[i++] = (unsigned int)ntohl(ss->fw_stats->link_up); in myri10ge_get_ethtool_stats() 1833 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_link_overflow); in myri10ge_get_ethtool_stats() 1835 (unsigned int)ntohl(ss->fw_stats->dropped_link_error_or_filtered); in myri10ge_get_ethtool_stats() 1836 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_pause); in myri10ge_get_ethtool_stats() 1837 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_bad_phy); in myri10ge_get_ethtool_stats() 1838 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_bad_crc32); in myri10ge_get_ethtool_stats() 1839 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_unicast_filtered); in myri10ge_get_ethtool_stats() [all …]
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H 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()
|
| H A D | wmi.c | 7105 struct ath11k_fw_stats *fw_stats, in ath11k_wmi_fw_stats_fill() argument 7118 pdev = list_first_entry_or_null(&fw_stats->pdevs, in ath11k_wmi_fw_stats_fill() 7137 list_for_each_entry(vdev, &fw_stats->vdevs, list) in ath11k_wmi_fw_stats_fill() 7142 num_bcn = list_count_nodes(&fw_stats->bcn); in ath11k_wmi_fw_stats_fill() 7150 list_for_each_entry(bcn, &fw_stats->bcn, list) in ath11k_wmi_fw_stats_fill() 8257 list_splice_tail_init(&stats.pdevs, &ar->fw_stats.pdevs); in ath11k_update_stats_event() 8282 is_end = ((++ar->fw_stats.num_vdev_recvd) == in ath11k_update_stats_event() 8286 &ar->fw_stats.vdevs); in ath11k_update_stats_event()
|
| H A D | mac.c | 4036 ath11k_fw_stats_pdevs_free(&ar->fw_stats.pdevs); in ath11k_mac_fw_stats_reset() 4037 ath11k_fw_stats_vdevs_free(&ar->fw_stats.vdevs); in ath11k_mac_fw_stats_reset() 4038 ar->fw_stats.num_vdev_recvd = 0; in ath11k_mac_fw_stats_reset() 4039 ar->fw_stats.num_bcn_recvd = 0; in ath11k_mac_fw_stats_reset() 4138 pdev = list_first_entry_or_null(&ar->fw_stats.pdevs, in ath11k_mac_handle_get_txpower() 10855 ath11k_fw_stats_free(&ar->fw_stats); in ath11k_mac_destroy()
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bfa_defs.h | 139 struct bfa_fw_ioc_stats fw_stats; /*!< firmware IOC stats */ member
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | core.c | 1243 INIT_LIST_HEAD(&ar->fw_stats.vdevs); in ath12k_fw_stats_init() 1244 INIT_LIST_HEAD(&ar->fw_stats.pdevs); in ath12k_fw_stats_init() 1245 INIT_LIST_HEAD(&ar->fw_stats.bcn); in ath12k_fw_stats_init() 1260 ath12k_fw_stats_free(&ar->fw_stats); in ath12k_fw_stats_reset() 1261 ar->fw_stats.num_vdev_recvd = 0; in ath12k_fw_stats_reset()
|
| H A D | wmi.c | 7814 struct ath12k_fw_stats *fw_stats, in ath12k_wmi_fw_vdev_stats_dump() argument 7830 list_for_each_entry(vdev, &fw_stats->vdevs, list) { in ath12k_wmi_fw_vdev_stats_dump() 7893 struct ath12k_fw_stats *fw_stats, in ath12k_wmi_fw_bcn_stats_dump() argument 7902 num_bcn = list_count_nodes(&fw_stats->bcn); in ath12k_wmi_fw_bcn_stats_dump() 7910 list_for_each_entry(bcn, &fw_stats->bcn, list) { in ath12k_wmi_fw_bcn_stats_dump() 8073 struct ath12k_fw_stats *fw_stats, in ath12k_wmi_fw_pdev_stats_dump() argument 8079 pdev = list_first_entry_or_null(&fw_stats->pdevs, in ath12k_wmi_fw_pdev_stats_dump() 8095 struct ath12k_fw_stats *fw_stats, in ath12k_wmi_fw_stats_dump() argument 8105 ath12k_wmi_fw_vdev_stats_dump(ar, fw_stats, buf, &len); in ath12k_wmi_fw_stats_dump() 8108 ath12k_wmi_fw_bcn_stats_dump(ar, fw_stats, buf, &len); in ath12k_wmi_fw_stats_dump() [all …]
|
| H A D | mac.c | 5443 pdev = list_first_entry_or_null(&ar->fw_stats.pdevs, in ath12k_mac_op_get_txpower()
|
| /linux/drivers/scsi/bnx2fc/ |
| H 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()
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfa_defs.h | 388 struct bfa_fw_ioc_stats_s fw_stats; /* firmware IOC stats */ member
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H 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()
|
| H A D | bnx2x.h | 1626 void *fw_stats; member
|
| H A D | bnx2x_main.c | 8288 BNX2X_PCI_FREE(bp->fw_stats, bp->fw_stats_mapping, in bnx2x_free_mem()
|