/linux-4.4.14/drivers/net/wireless/ti/wl1251/ |
D | debugfs.c | 81 wl->stats.fw_stats->sub.name); \ 110 wl1251_acx_statistics(wl, wl->stats.fw_stats); in wl1251_debugfs_update_stats() 466 if (wl->stats.fw_stats != NULL) in wl1251_debugfs_reset() 467 memset(wl->stats.fw_stats, 0, sizeof(*wl->stats.fw_stats)); in wl1251_debugfs_reset() 493 wl->stats.fw_stats = kzalloc(sizeof(*wl->stats.fw_stats), in wl1251_debugfs_init() 496 if (!wl->stats.fw_stats) { in wl1251_debugfs_init() 511 kfree(wl->stats.fw_stats); in wl1251_debugfs_init() 512 wl->stats.fw_stats = NULL; in wl1251_debugfs_init() 530 kfree(wl->stats.fw_stats); in wl1251_debugfs_exit() 531 wl->stats.fw_stats = NULL; in wl1251_debugfs_exit()
|
D | wl1251.h | 152 struct acx_statistics *fw_stats; member
|
/linux-4.4.14/drivers/scsi/fnic/ |
D | fnic_stats.h | 62 struct fw_stats { struct 101 struct fw_stats fw_stats; member
|
D | fnic_scsi.c | 231 atomic64_inc(&fnic->fnic_stats.fw_stats.active_fw_reqs); in fnic_fw_reset_handler() 232 if (atomic64_read(&fnic->fnic_stats.fw_stats.active_fw_reqs) > in fnic_fw_reset_handler() 233 atomic64_read(&fnic->fnic_stats.fw_stats.max_fw_reqs)) in fnic_fw_reset_handler() 234 atomic64_set(&fnic->fnic_stats.fw_stats.max_fw_reqs, in fnic_fw_reset_handler() 236 &fnic->fnic_stats.fw_stats.active_fw_reqs)); in fnic_fw_reset_handler() 302 atomic64_inc(&fnic->fnic_stats.fw_stats.active_fw_reqs); in fnic_flogi_reg_handler() 303 if (atomic64_read(&fnic->fnic_stats.fw_stats.active_fw_reqs) > in fnic_flogi_reg_handler() 304 atomic64_read(&fnic->fnic_stats.fw_stats.max_fw_reqs)) in fnic_flogi_reg_handler() 305 atomic64_set(&fnic->fnic_stats.fw_stats.max_fw_reqs, in fnic_flogi_reg_handler() 306 atomic64_read(&fnic->fnic_stats.fw_stats.active_fw_reqs)); in fnic_flogi_reg_handler() [all …]
|
D | fnic_trace.c | 318 (u64)atomic64_read(&stats->fw_stats.active_fw_reqs), in fnic_get_stats_data() 319 (u64)atomic64_read(&stats->fw_stats.max_fw_reqs), in fnic_get_stats_data() 320 (u64)atomic64_read(&stats->fw_stats.fw_out_of_resources), in fnic_get_stats_data() 321 (u64)atomic64_read(&stats->fw_stats.io_fw_errs)); in fnic_get_stats_data()
|
D | fnic_debugfs.c | 599 u64 *fw_stats_p = (u64 *)&stats->fw_stats; in fnic_reset_stats_write() 634 sizeof(struct fw_stats) - sizeof(u64)); in fnic_reset_stats_write()
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
D | debugfs.h | 77 struct struct_type *stats = wl->stats.fw_stats; \ 97 struct struct_type *stats = wl->stats.fw_stats; \
|
D | debugfs.c | 75 wl1271_acx_statistics(wl, wl->stats.fw_stats); in wl1271_debugfs_update_stats() 972 wl->stats.fw_stats, in fw_stats_raw_read() 1286 if (!wl->stats.fw_stats) in wl1271_debugfs_reset() 1289 memset(wl->stats.fw_stats, 0, wl->stats.fw_stats_len); in wl1271_debugfs_reset() 1307 wl->stats.fw_stats = kzalloc(wl->stats.fw_stats_len, GFP_KERNEL); in wl1271_debugfs_init() 1308 if (!wl->stats.fw_stats) { in wl1271_debugfs_init() 1337 kfree(wl->stats.fw_stats); in wl1271_debugfs_exit() 1338 wl->stats.fw_stats = NULL; in wl1271_debugfs_exit()
|
D | wlcore.h | 178 void *fw_stats; member
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | debug.c | 288 ath10k_debug_fw_stats_pdevs_free(&ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_reset() 289 ath10k_debug_fw_stats_vdevs_free(&ar->debug.fw_stats.vdevs); in ath10k_debug_fw_stats_reset() 290 ath10k_debug_fw_stats_peers_free(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_reset() 330 num_peers = ath10k_wmi_fw_stats_num_peers(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_process() 331 num_vdevs = ath10k_wmi_fw_stats_num_vdevs(&ar->debug.fw_stats.vdevs); in ath10k_debug_fw_stats_process() 332 is_start = (list_empty(&ar->debug.fw_stats.pdevs) && in ath10k_debug_fw_stats_process() 334 is_end = (!list_empty(&ar->debug.fw_stats.pdevs) && in ath10k_debug_fw_stats_process() 338 list_splice_tail_init(&stats.pdevs, &ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_process() 343 is_started = !list_empty(&ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_process() 359 list_splice_tail_init(&stats.peers, &ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_process() [all …]
|
D | wmi.c | 7015 struct ath10k_fw_stats *fw_stats, in ath10k_wmi_main_op_fw_stats_fill() argument 7028 pdev = list_first_entry_or_null(&fw_stats->pdevs, in ath10k_wmi_main_op_fw_stats_fill() 7035 num_peers = ath10k_wmi_fw_stats_num_peers(&fw_stats->peers); in ath10k_wmi_main_op_fw_stats_fill() 7036 num_vdevs = ath10k_wmi_fw_stats_num_vdevs(&fw_stats->vdevs); in ath10k_wmi_main_op_fw_stats_fill() 7048 list_for_each_entry(vdev, &fw_stats->vdevs, list) { in ath10k_wmi_main_op_fw_stats_fill() 7058 list_for_each_entry(peer, &fw_stats->peers, list) { in ath10k_wmi_main_op_fw_stats_fill() 7072 struct ath10k_fw_stats *fw_stats, in ath10k_wmi_10x_op_fw_stats_fill() argument 7085 pdev = list_first_entry_or_null(&fw_stats->pdevs, in ath10k_wmi_10x_op_fw_stats_fill() 7092 num_peers = ath10k_wmi_fw_stats_num_peers(&fw_stats->peers); in ath10k_wmi_10x_op_fw_stats_fill() 7093 num_vdevs = ath10k_wmi_fw_stats_num_vdevs(&fw_stats->vdevs); in ath10k_wmi_10x_op_fw_stats_fill() [all …]
|
D | wmi-ops.h | 183 struct ath10k_fw_stats *fw_stats, 1300 ath10k_wmi_fw_stats_fill(struct ath10k *ar, struct ath10k_fw_stats *fw_stats, in ath10k_wmi_fw_stats_fill() argument 1306 ar->wmi.ops->fw_stats_fill(ar, fw_stats, buf); in ath10k_wmi_fw_stats_fill()
|
D | core.h | 408 struct ath10k_fw_stats fw_stats; member
|
D | wmi.h | 6329 struct ath10k_fw_stats *fw_stats, 6332 struct ath10k_fw_stats *fw_stats, 6337 struct ath10k_fw_stats *fw_stats,
|
/linux-4.4.14/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 183 struct mcp_irq_data *fw_stats; member 1629 struct mcp_irq_data *stats = mgp->ss[0].fw_stats; in myri10ge_check_statblock() 1719 struct mcp_irq_data *stats = ss->fw_stats; in myri10ge_intr() 1998 data[i++] = (unsigned int)ntohl(ss->fw_stats->link_up); in myri10ge_get_ethtool_stats() 1999 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_link_overflow); in myri10ge_get_ethtool_stats() 2001 (unsigned int)ntohl(ss->fw_stats->dropped_link_error_or_filtered); in myri10ge_get_ethtool_stats() 2002 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_pause); in myri10ge_get_ethtool_stats() 2003 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_bad_phy); in myri10ge_get_ethtool_stats() 2004 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_bad_crc32); in myri10ge_get_ethtool_stats() 2005 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_unicast_filtered); in myri10ge_get_ethtool_stats() [all …]
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bfa_defs.h | 147 struct bfa_fw_ioc_stats fw_stats; /*!< firmware IOC stats */ member
|
/linux-4.4.14/drivers/scsi/bnx2fc/ |
D | bnx2fc.h | 157 val = fw_stats->stat.cnt; \
|
D | bnx2fc_fcoe.c | 637 struct fcoe_statistics_params *fw_stats; in bnx2fc_get_host_stats() local 640 fw_stats = (struct fcoe_statistics_params *)hba->stats_buffer; in bnx2fc_get_host_stats() 641 if (!fw_stats) in bnx2fc_get_host_stats()
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfa_defs.h | 395 struct bfa_fw_ioc_stats_s fw_stats; /* firmware IOC stats */ member
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 2243 BNX2X_PCI_FREE(bp->fw_stats, bp->fw_stats_mapping, in bnx2x_free_fw_stats_mem() 2300 bp->fw_stats = BNX2X_PCI_ALLOC(&bp->fw_stats_mapping, in bnx2x_alloc_fw_stats_mem() 2302 if (!bp->fw_stats) in bnx2x_alloc_fw_stats_mem() 2306 bp->fw_stats_req = (struct bnx2x_fw_stats_req *)bp->fw_stats; in bnx2x_alloc_fw_stats_mem() 2309 ((u8 *)bp->fw_stats + bp->fw_stats_req_sz); in bnx2x_alloc_fw_stats_mem()
|
D | bnx2x.h | 1724 void *fw_stats; member
|
D | bnx2x_main.c | 8264 BNX2X_PCI_FREE(bp->fw_stats, bp->fw_stats_mapping, in bnx2x_free_mem()
|