/kernel/linux/linux-5.10/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(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 in wl1251_debugfs_exit() [all...] |
H A D | wl1251.h | 138 struct acx_statistics *fw_stats; member
|
/kernel/linux/linux-6.6/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(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 in wl1251_debugfs_exit() [all...] |
H A D | wl1251.h | 138 struct acx_statistics *fw_stats; member
|
/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
H A D | fnic_stats.h | 83 struct fw_stats { struct 128 struct fw_stats fw_stats; member
|
H A 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 in fnic_flogi_reg_handler() [all...] |
H A D | fnic_trace.c | 381 (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()
|
H A D | fnic_debugfs.c | 518 u64 *fw_stats_p = (u64 *)&stats->fw_stats; in fnic_reset_stats_write() 553 sizeof(struct fw_stats) - sizeof(u64)); in fnic_reset_stats_write()
|
/kernel/linux/linux-6.6/drivers/scsi/fnic/ |
H A D | fnic_stats.h | 69 struct fw_stats { struct 114 struct fw_stats fw_stats; member
|
H A D | fnic_scsi.c | 219 atomic64_inc(&fnic->fnic_stats.fw_stats.active_fw_reqs); in fnic_fw_reset_handler() 220 if (atomic64_read(&fnic->fnic_stats.fw_stats.active_fw_reqs) > in fnic_fw_reset_handler() 221 atomic64_read(&fnic->fnic_stats.fw_stats.max_fw_reqs)) in fnic_fw_reset_handler() 222 atomic64_set(&fnic->fnic_stats.fw_stats.max_fw_reqs, in fnic_fw_reset_handler() 224 &fnic->fnic_stats.fw_stats.active_fw_reqs)); in fnic_fw_reset_handler() 290 atomic64_inc(&fnic->fnic_stats.fw_stats.active_fw_reqs); in fnic_flogi_reg_handler() 291 if (atomic64_read(&fnic->fnic_stats.fw_stats.active_fw_reqs) > in fnic_flogi_reg_handler() 292 atomic64_read(&fnic->fnic_stats.fw_stats.max_fw_reqs)) in fnic_flogi_reg_handler() 293 atomic64_set(&fnic->fnic_stats.fw_stats.max_fw_reqs, in fnic_flogi_reg_handler() 294 atomic64_read(&fnic->fnic_stats.fw_stats in fnic_flogi_reg_handler() [all...] |
H A D | fnic_trace.c | 367 (u64)atomic64_read(&stats->fw_stats.active_fw_reqs), in fnic_get_stats_data() 368 (u64)atomic64_read(&stats->fw_stats.max_fw_reqs), in fnic_get_stats_data() 369 (u64)atomic64_read(&stats->fw_stats.fw_out_of_resources), in fnic_get_stats_data() 370 (u64)atomic64_read(&stats->fw_stats.io_fw_errs)); in fnic_get_stats_data()
|
H A D | fnic_debugfs.c | 498 u64 *fw_stats_p = (u64 *)&stats->fw_stats; in fnic_reset_stats_write() 533 sizeof(struct fw_stats) - sizeof(u64)); in fnic_reset_stats_write()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | debugfs.c | 87 ath11k_fw_stats_pdevs_free(&ar->debug.fw_stats.pdevs); in ath11k_debugfs_fw_stats_reset() 88 ath11k_fw_stats_vdevs_free(&ar->debug.fw_stats.vdevs); in ath11k_debugfs_fw_stats_reset() 124 list_splice_tail_init(&stats.pdevs, &ar->debug.fw_stats.pdevs); in ath11k_debugfs_fw_stats_process() 146 &ar->debug.fw_stats.vdevs); in ath11k_debugfs_fw_stats_process() 166 &ar->debug.fw_stats.bcn); in ath11k_debugfs_fw_stats_process() 263 ath11k_wmi_fw_stats_fill(ar, &ar->debug.fw_stats, req_param.stats_id, in ath11k_open_pdev_stats() 335 ath11k_wmi_fw_stats_fill(ar, &ar->debug.fw_stats, req_param.stats_id, in ath11k_open_vdev_stats() 413 ath11k_wmi_fw_stats_fill(ar, &ar->debug.fw_stats, req_param.stats_id, in ath11k_open_bcn_stats() 420 ath11k_fw_stats_bcn_free(&ar->debug.fw_stats.bcn); in ath11k_open_bcn_stats() 905 struct dentry *fwstats_dir = debugfs_create_dir("fw_stats", in ath11k_debugfs_fw_stats_init() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A D | debug.c | 246 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 in ath10k_debug_fw_stats_process() [all...] |
H A D | wmi.c | 8445 struct ath10k_fw_stats *fw_stats, in ath10k_wmi_main_op_fw_stats_fill() 8458 pdev = list_first_entry_or_null(&fw_stats->pdevs, in ath10k_wmi_main_op_fw_stats_fill() 8465 num_peers = ath10k_wmi_fw_stats_num_peers(&fw_stats->peers); in ath10k_wmi_main_op_fw_stats_fill() 8466 num_vdevs = ath10k_wmi_fw_stats_num_vdevs(&fw_stats->vdevs); in ath10k_wmi_main_op_fw_stats_fill() 8478 list_for_each_entry(vdev, &fw_stats->vdevs, list) { in ath10k_wmi_main_op_fw_stats_fill() 8488 list_for_each_entry(peer, &fw_stats->peers, list) { in ath10k_wmi_main_op_fw_stats_fill() 8490 fw_stats->extended); in ath10k_wmi_main_op_fw_stats_fill() 8503 struct ath10k_fw_stats *fw_stats, in ath10k_wmi_10x_op_fw_stats_fill() 8516 pdev = list_first_entry_or_null(&fw_stats->pdevs, in ath10k_wmi_10x_op_fw_stats_fill() 8523 num_peers = ath10k_wmi_fw_stats_num_peers(&fw_stats in ath10k_wmi_10x_op_fw_stats_fill() 8444 ath10k_wmi_main_op_fw_stats_fill(struct ath10k *ar, struct ath10k_fw_stats *fw_stats, char *buf) ath10k_wmi_main_op_fw_stats_fill() argument 8502 ath10k_wmi_10x_op_fw_stats_fill(struct ath10k *ar, struct ath10k_fw_stats *fw_stats, char *buf) ath10k_wmi_10x_op_fw_stats_fill() argument 8649 ath10k_wmi_10_4_op_fw_stats_fill(struct ath10k *ar, struct ath10k_fw_stats *fw_stats, char *buf) ath10k_wmi_10_4_op_fw_stats_fill() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
H A D | debug.c | 247 ar->debug.fw_stats.extended = false; in ath10k_debug_fw_stats_reset() 248 ath10k_fw_stats_pdevs_free(&ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_reset() 249 ath10k_fw_stats_vdevs_free(&ar->debug.fw_stats.vdevs); in ath10k_debug_fw_stats_reset() 250 ath10k_fw_stats_peers_free(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_reset() 251 ath10k_fw_extd_stats_peers_free(&ar->debug.fw_stats.peers_extd); in ath10k_debug_fw_stats_reset() 296 num_peers = list_count_nodes(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_process() 297 num_vdevs = list_count_nodes(&ar->debug.fw_stats.vdevs); in ath10k_debug_fw_stats_process() 298 is_start = (list_empty(&ar->debug.fw_stats.pdevs) && in ath10k_debug_fw_stats_process() 300 is_end = (!list_empty(&ar->debug.fw_stats.pdevs) && in ath10k_debug_fw_stats_process() 304 list_splice_tail_init(&stats.pdevs, &ar->debug.fw_stats in ath10k_debug_fw_stats_process() [all...] |
/kernel/linux/linux-5.10/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 | debugfs.c | 64 wl1271_acx_statistics(wl, wl->stats.fw_stats); in wl1271_debugfs_update_stats() 974 wl->stats.fw_stats, in fw_stats_raw_read() 1320 if (!wl->stats.fw_stats) in wl1271_debugfs_reset() 1323 memset(wl->stats.fw_stats, 0, wl->stats.fw_stats_len); in wl1271_debugfs_reset() 1336 wl->stats.fw_stats = kzalloc(wl->stats.fw_stats_len, GFP_KERNEL); in wl1271_debugfs_init() 1337 if (!wl->stats.fw_stats) { in wl1271_debugfs_init() 1364 kfree(wl->stats.fw_stats); in wl1271_debugfs_exit() 1365 wl->stats.fw_stats = NULL; in wl1271_debugfs_exit()
|
/kernel/linux/linux-6.6/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 | 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | 182 struct mcp_irq_data *fw_stats; member 1485 struct mcp_irq_data *stats = mgp->ss[0].fw_stats; in myri10ge_check_statblock() 1542 struct mcp_irq_data *stats = ss->fw_stats; in myri10ge_intr() 1814 data[i++] = (unsigned int)ntohl(ss->fw_stats->link_up); in myri10ge_get_ethtool_stats() 1815 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_link_overflow); in myri10ge_get_ethtool_stats() 1817 (unsigned int)ntohl(ss->fw_stats->dropped_link_error_or_filtered); in myri10ge_get_ethtool_stats() 1818 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_pause); in myri10ge_get_ethtool_stats() 1819 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_bad_phy); in myri10ge_get_ethtool_stats() 1820 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_bad_crc32); in myri10ge_get_ethtool_stats() 1821 data[i++] = (unsigned int)ntohl(ss->fw_stats in myri10ge_get_ethtool_stats() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/myricom/myri10ge/ |
H 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() 1822 data[i++] = (unsigned int)ntohl(ss->fw_stats->link_up); in myri10ge_get_ethtool_stats() 1823 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_link_overflow); in myri10ge_get_ethtool_stats() 1825 (unsigned int)ntohl(ss->fw_stats->dropped_link_error_or_filtered); in myri10ge_get_ethtool_stats() 1826 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_pause); in myri10ge_get_ethtool_stats() 1827 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_bad_phy); in myri10ge_get_ethtool_stats() 1828 data[i++] = (unsigned int)ntohl(ss->fw_stats->dropped_bad_crc32); in myri10ge_get_ethtool_stats() 1829 data[i++] = (unsigned int)ntohl(ss->fw_stats in myri10ge_get_ethtool_stats() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/ |
H A D | debugfs.c | 99 ath11k_fw_stats_pdevs_free(&ar->fw_stats.pdevs); in ath11k_debugfs_fw_stats_reset() 100 ath11k_fw_stats_vdevs_free(&ar->fw_stats.vdevs); in ath11k_debugfs_fw_stats_reset() 137 &ar->fw_stats.vdevs); in ath11k_debugfs_fw_stats_process() 157 &ar->fw_stats.bcn); in ath11k_debugfs_fw_stats_process() 276 ath11k_wmi_fw_stats_fill(ar, &ar->fw_stats, req_param.stats_id, buf); in ath11k_open_pdev_stats() 347 ath11k_wmi_fw_stats_fill(ar, &ar->fw_stats, req_param.stats_id, buf); in ath11k_open_vdev_stats() 424 ath11k_wmi_fw_stats_fill(ar, &ar->fw_stats, req_param.stats_id, buf); in ath11k_open_bcn_stats() 430 ath11k_fw_stats_bcn_free(&ar->fw_stats.bcn); in ath11k_open_bcn_stats() 1050 struct dentry *fwstats_dir = debugfs_create_dir("fw_stats", in ath11k_debugfs_fw_stats_init() 1053 ar->fw_stats in ath11k_debugfs_fw_stats_init() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_defs.h | 139 struct bfa_fw_ioc_stats fw_stats; /*!< firmware IOC stats */ member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_defs.h | 139 struct bfa_fw_ioc_stats fw_stats; /*!< firmware IOC stats */ member
|