Lines Matching refs:debug
32 sc->debug.stats.istats.sync_cause_all++; in ath9k_debug_sync_cause()
34 sc->debug.stats.istats.sync_rtc_irq++; in ath9k_debug_sync_cause()
36 sc->debug.stats.istats.sync_mac_irq++; in ath9k_debug_sync_cause()
38 sc->debug.stats.istats.eeprom_illegal_access++; in ath9k_debug_sync_cause()
40 sc->debug.stats.istats.apb_timeout++; in ath9k_debug_sync_cause()
42 sc->debug.stats.istats.pci_mode_conflict++; in ath9k_debug_sync_cause()
44 sc->debug.stats.istats.host1_fatal++; in ath9k_debug_sync_cause()
46 sc->debug.stats.istats.host1_perr++; in ath9k_debug_sync_cause()
48 sc->debug.stats.istats.trcv_fifo_perr++; in ath9k_debug_sync_cause()
50 sc->debug.stats.istats.radm_cpl_ep++; in ath9k_debug_sync_cause()
52 sc->debug.stats.istats.radm_cpl_dllp_abort++; in ath9k_debug_sync_cause()
54 sc->debug.stats.istats.radm_cpl_tlp_abort++; in ath9k_debug_sync_cause()
56 sc->debug.stats.istats.radm_cpl_ecrc_err++; in ath9k_debug_sync_cause()
58 sc->debug.stats.istats.radm_cpl_timeout++; in ath9k_debug_sync_cause()
60 sc->debug.stats.istats.local_timeout++; in ath9k_debug_sync_cause()
62 sc->debug.stats.istats.pm_access++; in ath9k_debug_sync_cause()
64 sc->debug.stats.istats.mac_awake++; in ath9k_debug_sync_cause()
66 sc->debug.stats.istats.mac_asleep++; in ath9k_debug_sync_cause()
68 sc->debug.stats.istats.mac_sleep_access++; in ath9k_debug_sync_cause()
289 struct ath_antenna_stats *as_main = &sc->debug.stats.ant_stats[ANT_MAIN]; in ath9k_debug_stat_ant()
290 struct ath_antenna_stats *as_alt = &sc->debug.stats.ant_stats[ANT_ALT]; in ath9k_debug_stat_ant()
306 struct ath_antenna_stats *as_main = &sc->debug.stats.ant_stats[ANT_MAIN]; in read_file_antenna_diversity()
307 struct ath_antenna_stats *as_alt = &sc->debug.stats.ant_stats[ANT_ALT]; in read_file_antenna_diversity()
477 sc->debug.stats.istats.total++; in ath_debug_stat_interrupt()
480 sc->debug.stats.istats.rxlp++; in ath_debug_stat_interrupt()
482 sc->debug.stats.istats.rxhp++; in ath_debug_stat_interrupt()
484 sc->debug.stats.istats.bb_watchdog++; in ath_debug_stat_interrupt()
487 sc->debug.stats.istats.rxok++; in ath_debug_stat_interrupt()
490 sc->debug.stats.istats.rxeol++; in ath_debug_stat_interrupt()
492 sc->debug.stats.istats.rxorn++; in ath_debug_stat_interrupt()
494 sc->debug.stats.istats.txok++; in ath_debug_stat_interrupt()
496 sc->debug.stats.istats.txurn++; in ath_debug_stat_interrupt()
498 sc->debug.stats.istats.rxphyerr++; in ath_debug_stat_interrupt()
500 sc->debug.stats.istats.rx_keycache_miss++; in ath_debug_stat_interrupt()
502 sc->debug.stats.istats.swba++; in ath_debug_stat_interrupt()
504 sc->debug.stats.istats.bmiss++; in ath_debug_stat_interrupt()
506 sc->debug.stats.istats.bnr++; in ath_debug_stat_interrupt()
508 sc->debug.stats.istats.cst++; in ath_debug_stat_interrupt()
510 sc->debug.stats.istats.gtt++; in ath_debug_stat_interrupt()
512 sc->debug.stats.istats.tim++; in ath_debug_stat_interrupt()
514 sc->debug.stats.istats.cabend++; in ath_debug_stat_interrupt()
516 sc->debug.stats.istats.dtimsync++; in ath_debug_stat_interrupt()
518 sc->debug.stats.istats.dtim++; in ath_debug_stat_interrupt()
520 sc->debug.stats.istats.tsfoor++; in ath_debug_stat_interrupt()
522 sc->debug.stats.istats.mci++; in ath_debug_stat_interrupt()
524 sc->debug.stats.istats.gen_timer++; in ath_debug_stat_interrupt()
535 sc->debug.stats.istats.s); \ in read_file_interrupt()
776 sc->debug.stats.reset[i]); in read_file_reset()
838 sc->debug.stats.txstats[qnum].tx_bytes_all += bf->bf_mpdu->len; in ath_debug_stat_tx()
870 ath9k_cmn_debug_stat_rx(&sc->debug.stats.rxstats, rs); in ath_debug_stat_rx()
880 len = sprintf(buf, "0x%08x\n", sc->debug.regidx); in read_file_regidx()
900 sc->debug.regidx = regidx; in write_file_regidx()
922 regval = REG_READ_D(ah, sc->debug.regidx); in read_file_regval()
946 REG_WRITE_D(ah, sc->debug.regidx, regval); in write_file_regval()
1350 data[i++] = sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BE)].elem; \
1351 data[i++] = sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BK)].elem; \
1352 data[i++] = sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VI)].elem; \
1353 data[i++] = sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VO)].elem; \
1358 data[i++] = sc->debug.stats.rxstats.elem; \
1368 data[i++] = (sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BE)].tx_pkts_all + in ath9k_get_et_stats()
1369 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BK)].tx_pkts_all + in ath9k_get_et_stats()
1370 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VI)].tx_pkts_all + in ath9k_get_et_stats()
1371 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VO)].tx_pkts_all); in ath9k_get_et_stats()
1372 data[i++] = (sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BE)].tx_bytes_all + in ath9k_get_et_stats()
1373 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BK)].tx_bytes_all + in ath9k_get_et_stats()
1374 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VI)].tx_bytes_all + in ath9k_get_et_stats()
1375 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VO)].tx_bytes_all); in ath9k_get_et_stats()
1421 sc->debug.debugfs_phy = debugfs_create_dir("ath9k", in ath9k_init_debug()
1423 if (!sc->debug.debugfs_phy) in ath9k_init_debug()
1427 debugfs_create_file("debug", 0600, sc->debug.debugfs_phy, in ath9k_init_debug()
1433 ath9k_cmn_spectral_init_debug(&sc->spec_priv, sc->debug.debugfs_phy); in ath9k_init_debug()
1435 debugfs_create_devm_seqfile(sc->dev, "dma", sc->debug.debugfs_phy, in ath9k_init_debug()
1437 debugfs_create_devm_seqfile(sc->dev, "interrupt", sc->debug.debugfs_phy, in ath9k_init_debug()
1439 debugfs_create_devm_seqfile(sc->dev, "xmit", sc->debug.debugfs_phy, in ath9k_init_debug()
1441 debugfs_create_devm_seqfile(sc->dev, "queues", sc->debug.debugfs_phy, in ath9k_init_debug()
1443 debugfs_create_devm_seqfile(sc->dev, "misc", sc->debug.debugfs_phy, in ath9k_init_debug()
1445 debugfs_create_file("reset", 0600, sc->debug.debugfs_phy, in ath9k_init_debug()
1448 ath9k_cmn_debug_recv(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug()
1449 ath9k_cmn_debug_phy_err(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug()
1451 debugfs_create_u8("rx_chainmask", 0400, sc->debug.debugfs_phy, in ath9k_init_debug()
1453 debugfs_create_u8("tx_chainmask", 0400, sc->debug.debugfs_phy, in ath9k_init_debug()
1456 sc->debug.debugfs_phy, sc, &fops_ani); in ath9k_init_debug()
1457 debugfs_create_bool("paprd", 0600, sc->debug.debugfs_phy, in ath9k_init_debug()
1459 debugfs_create_file("regidx", 0600, sc->debug.debugfs_phy, in ath9k_init_debug()
1461 debugfs_create_file("regval", 0600, sc->debug.debugfs_phy, in ath9k_init_debug()
1464 sc->debug.debugfs_phy, in ath9k_init_debug()
1466 debugfs_create_file("regdump", 0400, sc->debug.debugfs_phy, sc, in ath9k_init_debug()
1469 sc->debug.debugfs_phy, in ath9k_init_debug()
1472 ath9k_cmn_debug_base_eeprom(sc->debug.debugfs_phy, sc->sc_ah); in ath9k_init_debug()
1473 ath9k_cmn_debug_modal_eeprom(sc->debug.debugfs_phy, sc->sc_ah); in ath9k_init_debug()
1476 sc->debug.debugfs_phy, &sc->sc_ah->gpio_mask); in ath9k_init_debug()
1478 sc->debug.debugfs_phy, &sc->sc_ah->gpio_val); in ath9k_init_debug()
1480 sc->debug.debugfs_phy, sc, &fops_antenna_diversity); in ath9k_init_debug()
1483 sc->debug.debugfs_phy, sc, &fops_bt_ant_diversity); in ath9k_init_debug()
1484 debugfs_create_file("btcoex", 0400, sc->debug.debugfs_phy, sc, in ath9k_init_debug()
1489 debugfs_create_file("wow", 0600, sc->debug.debugfs_phy, sc, &fops_wow); in ath9k_init_debug()
1493 debugfs_create_file("ack_to", 0400, sc->debug.debugfs_phy, in ath9k_init_debug()
1496 debugfs_create_file("tpc", 0600, sc->debug.debugfs_phy, sc, &fops_tpc); in ath9k_init_debug()
1499 sc->debug.debugfs_phy, sc, &fops_nf_override); in ath9k_init_debug()