Lines Matching full: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()
274 struct ath_antenna_stats *as_main = &sc->debug.stats.ant_stats[ANT_MAIN]; in ath9k_debug_stat_ant()
275 struct ath_antenna_stats *as_alt = &sc->debug.stats.ant_stats[ANT_ALT]; in ath9k_debug_stat_ant()
291 struct ath_antenna_stats *as_main = &sc->debug.stats.ant_stats[ANT_MAIN]; in read_file_antenna_diversity()
292 struct ath_antenna_stats *as_alt = &sc->debug.stats.ant_stats[ANT_ALT]; in read_file_antenna_diversity()
405 seq_puts(file, "Raw DMA Debug values:\n"); in read_file_dma()
462 sc->debug.stats.istats.total++; in ath_debug_stat_interrupt()
465 sc->debug.stats.istats.rxlp++; in ath_debug_stat_interrupt()
467 sc->debug.stats.istats.rxhp++; in ath_debug_stat_interrupt()
469 sc->debug.stats.istats.bb_watchdog++; in ath_debug_stat_interrupt()
472 sc->debug.stats.istats.rxok++; in ath_debug_stat_interrupt()
475 sc->debug.stats.istats.rxeol++; in ath_debug_stat_interrupt()
477 sc->debug.stats.istats.rxorn++; in ath_debug_stat_interrupt()
479 sc->debug.stats.istats.txok++; in ath_debug_stat_interrupt()
481 sc->debug.stats.istats.txurn++; in ath_debug_stat_interrupt()
483 sc->debug.stats.istats.rxphyerr++; in ath_debug_stat_interrupt()
485 sc->debug.stats.istats.rx_keycache_miss++; in ath_debug_stat_interrupt()
487 sc->debug.stats.istats.swba++; in ath_debug_stat_interrupt()
489 sc->debug.stats.istats.bmiss++; in ath_debug_stat_interrupt()
491 sc->debug.stats.istats.bnr++; in ath_debug_stat_interrupt()
493 sc->debug.stats.istats.cst++; in ath_debug_stat_interrupt()
495 sc->debug.stats.istats.gtt++; in ath_debug_stat_interrupt()
497 sc->debug.stats.istats.tim++; in ath_debug_stat_interrupt()
499 sc->debug.stats.istats.cabend++; in ath_debug_stat_interrupt()
501 sc->debug.stats.istats.dtimsync++; in ath_debug_stat_interrupt()
503 sc->debug.stats.istats.dtim++; in ath_debug_stat_interrupt()
505 sc->debug.stats.istats.tsfoor++; in ath_debug_stat_interrupt()
507 sc->debug.stats.istats.mci++; in ath_debug_stat_interrupt()
509 sc->debug.stats.istats.gen_timer++; in ath_debug_stat_interrupt()
520 sc->debug.stats.istats.s); \ in read_file_interrupt()
761 sc->debug.stats.reset[i]); in read_file_reset()
818 sc->debug.stats.txstats[qnum].tx_bytes_all += bf->bf_mpdu->len; in ath_debug_stat_tx()
850 ath9k_cmn_debug_stat_rx(&sc->debug.stats.rxstats, rs); in ath_debug_stat_rx()
860 len = sprintf(buf, "0x%08x\n", sc->debug.regidx); in read_file_regidx()
875 sc->debug.regidx = regidx; in write_file_regidx()
897 regval = REG_READ_D(ah, sc->debug.regidx); in read_file_regval()
916 REG_WRITE_D(ah, sc->debug.regidx, regval); in write_file_regval()
1310 data[i++] = sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BE)].elem; \
1311 data[i++] = sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BK)].elem; \
1312 data[i++] = sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VI)].elem; \
1313 data[i++] = sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VO)].elem; \
1318 data[i++] = sc->debug.stats.rxstats.elem; \
1328 data[i++] = ((u64)sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BE)].tx_pkts_all + in ath9k_get_et_stats()
1329 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BK)].tx_pkts_all + in ath9k_get_et_stats()
1330 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VI)].tx_pkts_all + in ath9k_get_et_stats()
1331 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VO)].tx_pkts_all); in ath9k_get_et_stats()
1332 data[i++] = ((u64)sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BE)].tx_bytes_all + in ath9k_get_et_stats()
1333 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BK)].tx_bytes_all + in ath9k_get_et_stats()
1334 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VI)].tx_bytes_all + in ath9k_get_et_stats()
1335 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VO)].tx_bytes_all); in ath9k_get_et_stats()
1381 sc->debug.debugfs_phy = debugfs_create_dir("ath9k", in ath9k_init_debug()
1385 debugfs_create_file("debug", 0600, sc->debug.debugfs_phy, in ath9k_init_debug()
1391 ath9k_cmn_spectral_init_debug(&sc->spec_priv, sc->debug.debugfs_phy); in ath9k_init_debug()
1393 debugfs_create_devm_seqfile(sc->dev, "dma", sc->debug.debugfs_phy, in ath9k_init_debug()
1395 debugfs_create_devm_seqfile(sc->dev, "interrupt", sc->debug.debugfs_phy, in ath9k_init_debug()
1397 debugfs_create_devm_seqfile(sc->dev, "xmit", sc->debug.debugfs_phy, in ath9k_init_debug()
1399 debugfs_create_devm_seqfile(sc->dev, "queues", sc->debug.debugfs_phy, in ath9k_init_debug()
1401 debugfs_create_devm_seqfile(sc->dev, "misc", sc->debug.debugfs_phy, in ath9k_init_debug()
1403 debugfs_create_file("reset", 0600, sc->debug.debugfs_phy, in ath9k_init_debug()
1406 ath9k_cmn_debug_recv(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug()
1407 ath9k_cmn_debug_phy_err(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug()
1409 debugfs_create_u8("rx_chainmask", 0400, sc->debug.debugfs_phy, in ath9k_init_debug()
1411 debugfs_create_u8("tx_chainmask", 0400, sc->debug.debugfs_phy, in ath9k_init_debug()
1414 sc->debug.debugfs_phy, sc, &fops_ani); in ath9k_init_debug()
1415 debugfs_create_bool("paprd", 0600, sc->debug.debugfs_phy, in ath9k_init_debug()
1417 debugfs_create_file("regidx", 0600, sc->debug.debugfs_phy, in ath9k_init_debug()
1419 debugfs_create_file("regval", 0600, sc->debug.debugfs_phy, in ath9k_init_debug()
1422 sc->debug.debugfs_phy, in ath9k_init_debug()
1424 debugfs_create_file("regdump", 0400, sc->debug.debugfs_phy, sc, in ath9k_init_debug()
1427 sc->debug.debugfs_phy, in ath9k_init_debug()
1430 ath9k_cmn_debug_base_eeprom(sc->debug.debugfs_phy, sc->sc_ah); in ath9k_init_debug()
1431 ath9k_cmn_debug_modal_eeprom(sc->debug.debugfs_phy, sc->sc_ah); in ath9k_init_debug()
1434 sc->debug.debugfs_phy, &sc->sc_ah->gpio_mask); in ath9k_init_debug()
1436 sc->debug.debugfs_phy, &sc->sc_ah->gpio_val); in ath9k_init_debug()
1438 sc->debug.debugfs_phy, sc, &fops_antenna_diversity); in ath9k_init_debug()
1441 sc->debug.debugfs_phy, sc, &fops_bt_ant_diversity); in ath9k_init_debug()
1442 debugfs_create_file("btcoex", 0400, sc->debug.debugfs_phy, sc, in ath9k_init_debug()
1447 debugfs_create_file("wow", 0600, sc->debug.debugfs_phy, sc, &fops_wow); in ath9k_init_debug()
1451 debugfs_create_file("ack_to", 0400, sc->debug.debugfs_phy, in ath9k_init_debug()
1454 debugfs_create_file("tpc", 0600, sc->debug.debugfs_phy, sc, &fops_tpc); in ath9k_init_debug()
1457 sc->debug.debugfs_phy, sc, &fops_nf_override); in ath9k_init_debug()