Searched refs:debug (Results 1 - 200 of 2611) sorted by relevance

1234567891011>>

/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A DMakefile3 iwlegacy-$(CONFIG_IWLEGACY_DEBUGFS) += debug.o
10 iwl4965-$(CONFIG_IWLEGACY_DEBUGFS) += 4965-debug.o
15 iwl3945-$(CONFIG_IWLEGACY_DEBUGFS) += 3945-debug.o
/linux-4.1.27/drivers/misc/cb710/
H A DMakefile6 cb710-$(CONFIG_CB710_DEBUG) += debug.o
/linux-4.1.27/drivers/net/wireless/cw1200/
H A Ddebug.h38 ++priv->debug->tx; cw1200_debug_txed()
43 ++priv->debug->tx_agg; cw1200_debug_txed_agg()
49 ++priv->debug->tx_multi; cw1200_debug_txed_multi()
50 priv->debug->tx_multi_frames += count; cw1200_debug_txed_multi()
55 ++priv->debug->rx; cw1200_debug_rxed()
60 ++priv->debug->rx_agg; cw1200_debug_rxed_agg()
65 ++priv->debug->tx_cache_miss; cw1200_debug_tx_cache_miss()
70 ++priv->debug->tx_align; cw1200_debug_tx_align()
75 ++priv->debug->tx_ttl; cw1200_debug_tx_ttl()
80 ++priv->debug->tx_burst; cw1200_debug_tx_burst()
87 priv->debug->ba_cnt = ba_cnt; cw1200_debug_ba()
88 priv->debug->ba_acc = ba_acc; cw1200_debug_ba()
89 priv->debug->ba_cnt_rx = ba_cnt_rx; cw1200_debug_ba()
90 priv->debug->ba_acc_rx = ba_acc_rx; cw1200_debug_ba()
H A DMakefile11 debug.o
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
H A DMakefile2 carl9170-$(CONFIG_CARL9170_DEBUGFS) += debug.o
H A Ddebug.c4 * debug(fs) probing
467 ar->debug.stats.name##_counter[__i] = 0; \
472 __tmp, ar->debug.stats.name##_counter); \
479 ar->debug.stats.name##_sum[__i] += \
480 ar->debug.stats.name##_counter[__i]; \
506 name##_regs[i].nreg, ar->debug.stats.name ##_sum[i],\
507 ar->debug.stats.name ##_counter[i]); \
535 ar->debug.stats.name##_counter[i]); \
583 ar->debug.ring[ar->debug.ring_tail].reg = reg + (i << 2); carl9170_debugfs_hw_ioread32_write()
584 ar->debug.ring[ar->debug.ring_tail].value = tmp; carl9170_debugfs_hw_ioread32_write()
585 ar->debug.ring_tail++; carl9170_debugfs_hw_ioread32_write()
586 ar->debug.ring_tail %= CARL9170_DEBUG_RING_SIZE; carl9170_debugfs_hw_ioread32_write()
598 while (ar->debug.ring_head != ar->debug.ring_tail) { carl9170_debugfs_hw_ioread32_read()
600 ar->debug.ring[ar->debug.ring_head].reg, carl9170_debugfs_hw_ioread32_read()
601 ar->debug.ring[ar->debug.ring_head].value); carl9170_debugfs_hw_ioread32_read()
603 ar->debug.ring_head++; carl9170_debugfs_hw_ioread32_read()
604 ar->debug.ring_head %= CARL9170_DEBUG_RING_SIZE; carl9170_debugfs_hw_ioread32_read()
609 ar->debug.ring_head = ar->debug.ring_tail; carl9170_debugfs_hw_ioread32_read()
/linux-4.1.27/drivers/gpu/host1x/
H A DMakefile9 debug.o \
/linux-4.1.27/arch/m68k/atari/
H A DMakefile5 obj-y := config.o time.o debug.o ataints.o stdma.o \
/linux-4.1.27/kernel/locking/
H A DMakefile7 CFLAGS_REMOVE_mutex-debug.o = $(CC_FLAGS_FTRACE)
8 CFLAGS_REMOVE_rtmutex-debug.o = $(CC_FLAGS_FTRACE)
11 obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o
21 obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o
/linux-4.1.27/include/uapi/linux/nfsd/
H A Ddebug.h2 * linux/include/linux/nfsd/debug.h
12 #include <linux/sunrpc/debug.h>
15 * knfsd debug flags
/linux-4.1.27/drivers/md/bcache/
H A DMakefile4 bcache-y := alloc.o bset.o btree.o closure.o debug.o extents.o\
H A Ddebug.c2 * Assorted bcache debug code
10 #include "debug.h"
19 static struct dentry *debug; variable in typeref:struct:dentry
229 if (!IS_ERR_OR_NULL(debug)) { bch_debug_init_cache_set()
233 c->debug = debugfs_create_file(name, 0400, debug, c, bch_debug_init_cache_set()
242 if (!IS_ERR_OR_NULL(debug)) bch_debug_exit()
243 debugfs_remove_recursive(debug); bch_debug_exit()
250 debug = debugfs_create_dir("bcache", NULL); bch_debug_init()
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
H A DMakefile11 ibm_emac-$(CONFIG_IBM_EMAC_DEBUG) += debug.o
H A Ddebug.h2 * drivers/net/ethernet/ibm/emac/debug.h
4 * Driver for PowerPC 4xx on-chip ethernet controller, debug print routines.
/linux-4.1.27/arch/sparc/kernel/
H A Ddma.c3 #include <linux/dma-debug.h>
/linux-4.1.27/fs/befs/
H A DMakefile7 befs-objs := datastream.o btree.o super.o inode.o debug.o io.o linuxvfs.o
H A Dbefs.h13 /* used in debug.c */
27 int debug; member in struct:befs_mount_options
88 /* debug.c */
/linux-4.1.27/fs/ecryptfs/
H A DMakefile8 crypto.o keystore.o kthread.o debug.o
/linux-4.1.27/drivers/net/fddi/skfp/
H A Dsmtinit.c32 /* define global debug variable */
34 struct smt_debug debug; variable in typeref:struct:smt_debug
74 debug.d_smt = 0 ; init_smt()
75 debug.d_smtf = 0 ; init_smt()
76 debug.d_rmt = 0 ; init_smt()
77 debug.d_ecm = 0 ; init_smt()
78 debug.d_pcm = 0 ; init_smt()
79 debug.d_cfm = 0 ; init_smt()
81 debug.d_plc = 0 ; init_smt()
83 debug.d_ess = 0 ; init_smt()
86 debug.d_sba = 0 ; init_smt()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Ddebug.c32 sc->debug.stats.istats.sync_cause_all++; ath9k_debug_sync_cause()
34 sc->debug.stats.istats.sync_rtc_irq++; ath9k_debug_sync_cause()
36 sc->debug.stats.istats.sync_mac_irq++; ath9k_debug_sync_cause()
38 sc->debug.stats.istats.eeprom_illegal_access++; ath9k_debug_sync_cause()
40 sc->debug.stats.istats.apb_timeout++; ath9k_debug_sync_cause()
42 sc->debug.stats.istats.pci_mode_conflict++; ath9k_debug_sync_cause()
44 sc->debug.stats.istats.host1_fatal++; ath9k_debug_sync_cause()
46 sc->debug.stats.istats.host1_perr++; ath9k_debug_sync_cause()
48 sc->debug.stats.istats.trcv_fifo_perr++; ath9k_debug_sync_cause()
50 sc->debug.stats.istats.radm_cpl_ep++; ath9k_debug_sync_cause()
52 sc->debug.stats.istats.radm_cpl_dllp_abort++; ath9k_debug_sync_cause()
54 sc->debug.stats.istats.radm_cpl_tlp_abort++; ath9k_debug_sync_cause()
56 sc->debug.stats.istats.radm_cpl_ecrc_err++; ath9k_debug_sync_cause()
58 sc->debug.stats.istats.radm_cpl_timeout++; ath9k_debug_sync_cause()
60 sc->debug.stats.istats.local_timeout++; ath9k_debug_sync_cause()
62 sc->debug.stats.istats.pm_access++; ath9k_debug_sync_cause()
64 sc->debug.stats.istats.mac_awake++; ath9k_debug_sync_cause()
66 sc->debug.stats.istats.mac_asleep++; ath9k_debug_sync_cause()
68 sc->debug.stats.istats.mac_sleep_access++; ath9k_debug_sync_cause()
289 struct ath_antenna_stats *as_main = &sc->debug.stats.ant_stats[ANT_MAIN]; ath9k_debug_stat_ant()
290 struct ath_antenna_stats *as_alt = &sc->debug.stats.ant_stats[ANT_ALT]; ath9k_debug_stat_ant()
306 struct ath_antenna_stats *as_main = &sc->debug.stats.ant_stats[ANT_MAIN]; read_file_antenna_diversity()
307 struct ath_antenna_stats *as_alt = &sc->debug.stats.ant_stats[ANT_ALT]; read_file_antenna_diversity()
477 sc->debug.stats.istats.total++; ath_debug_stat_interrupt()
480 sc->debug.stats.istats.rxlp++; ath_debug_stat_interrupt()
482 sc->debug.stats.istats.rxhp++; ath_debug_stat_interrupt()
484 sc->debug.stats.istats.bb_watchdog++; ath_debug_stat_interrupt()
487 sc->debug.stats.istats.rxok++; ath_debug_stat_interrupt()
490 sc->debug.stats.istats.rxeol++; ath_debug_stat_interrupt()
492 sc->debug.stats.istats.rxorn++; ath_debug_stat_interrupt()
494 sc->debug.stats.istats.txok++; ath_debug_stat_interrupt()
496 sc->debug.stats.istats.txurn++; ath_debug_stat_interrupt()
498 sc->debug.stats.istats.rxphyerr++; ath_debug_stat_interrupt()
500 sc->debug.stats.istats.rx_keycache_miss++; ath_debug_stat_interrupt()
502 sc->debug.stats.istats.swba++; ath_debug_stat_interrupt()
504 sc->debug.stats.istats.bmiss++; ath_debug_stat_interrupt()
506 sc->debug.stats.istats.bnr++; ath_debug_stat_interrupt()
508 sc->debug.stats.istats.cst++; ath_debug_stat_interrupt()
510 sc->debug.stats.istats.gtt++; ath_debug_stat_interrupt()
512 sc->debug.stats.istats.tim++; ath_debug_stat_interrupt()
514 sc->debug.stats.istats.cabend++; ath_debug_stat_interrupt()
516 sc->debug.stats.istats.dtimsync++; ath_debug_stat_interrupt()
518 sc->debug.stats.istats.dtim++; ath_debug_stat_interrupt()
520 sc->debug.stats.istats.tsfoor++; ath_debug_stat_interrupt()
522 sc->debug.stats.istats.mci++; ath_debug_stat_interrupt()
524 sc->debug.stats.istats.gen_timer++; ath_debug_stat_interrupt()
535 sc->debug.stats.istats.s); \ read_file_interrupt()
776 sc->debug.stats.reset[i]); read_file_reset()
789 sc->debug.stats.txstats[qnum].tx_bytes_all += bf->bf_mpdu->len; ath_debug_stat_tx()
821 ath9k_cmn_debug_stat_rx(&sc->debug.stats.rxstats, rs); ath_debug_stat_rx()
831 len = sprintf(buf, "0x%08x\n", sc->debug.regidx); read_file_regidx()
851 sc->debug.regidx = regidx; write_file_regidx()
873 regval = REG_READ_D(ah, sc->debug.regidx); read_file_regval()
897 REG_WRITE_D(ah, sc->debug.regidx, regval); write_file_regval()
1235 data[i++] = sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BE)].elem; \
1236 data[i++] = sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BK)].elem; \
1237 data[i++] = sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VI)].elem; \
1238 data[i++] = sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VO)].elem; \
1243 data[i++] = sc->debug.stats.rxstats.elem; \
1253 data[i++] = (sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BE)].tx_pkts_all + ath9k_get_et_stats()
1254 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BK)].tx_pkts_all + ath9k_get_et_stats()
1255 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VI)].tx_pkts_all + ath9k_get_et_stats()
1256 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VO)].tx_pkts_all); ath9k_get_et_stats()
1257 data[i++] = (sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BE)].tx_bytes_all + ath9k_get_et_stats()
1258 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_BK)].tx_bytes_all + ath9k_get_et_stats()
1259 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VI)].tx_bytes_all + ath9k_get_et_stats()
1260 sc->debug.stats.txstats[PR_QNUM(IEEE80211_AC_VO)].tx_bytes_all); ath9k_get_et_stats()
1307 sc->debug.debugfs_phy = debugfs_create_dir("ath9k", ath9k_init_debug()
1309 if (!sc->debug.debugfs_phy) ath9k_init_debug()
1313 debugfs_create_file("debug", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, ath9k_init_debug()
1319 ath9k_cmn_spectral_init_debug(&sc->spec_priv, sc->debug.debugfs_phy); ath9k_init_debug()
1321 debugfs_create_devm_seqfile(sc->dev, "dma", sc->debug.debugfs_phy, ath9k_init_debug()
1323 debugfs_create_devm_seqfile(sc->dev, "interrupt", sc->debug.debugfs_phy, ath9k_init_debug()
1325 debugfs_create_devm_seqfile(sc->dev, "xmit", sc->debug.debugfs_phy, ath9k_init_debug()
1327 debugfs_create_devm_seqfile(sc->dev, "queues", sc->debug.debugfs_phy, ath9k_init_debug()
1329 debugfs_create_u32("qlen_bk", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, ath9k_init_debug()
1331 debugfs_create_u32("qlen_be", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, ath9k_init_debug()
1333 debugfs_create_u32("qlen_vi", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, ath9k_init_debug()
1335 debugfs_create_u32("qlen_vo", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, ath9k_init_debug()
1337 debugfs_create_devm_seqfile(sc->dev, "misc", sc->debug.debugfs_phy, ath9k_init_debug()
1339 debugfs_create_devm_seqfile(sc->dev, "reset", sc->debug.debugfs_phy, ath9k_init_debug()
1342 ath9k_cmn_debug_recv(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); ath9k_init_debug()
1343 ath9k_cmn_debug_phy_err(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); ath9k_init_debug()
1345 debugfs_create_u8("rx_chainmask", S_IRUSR, sc->debug.debugfs_phy, ath9k_init_debug()
1347 debugfs_create_u8("tx_chainmask", S_IRUSR, sc->debug.debugfs_phy, ath9k_init_debug()
1350 sc->debug.debugfs_phy, sc, &fops_ani); ath9k_init_debug()
1351 debugfs_create_bool("paprd", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, ath9k_init_debug()
1353 debugfs_create_file("regidx", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, ath9k_init_debug()
1355 debugfs_create_file("regval", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, ath9k_init_debug()
1358 sc->debug.debugfs_phy, ath9k_init_debug()
1360 debugfs_create_file("regdump", S_IRUSR, sc->debug.debugfs_phy, sc, ath9k_init_debug()
1363 sc->debug.debugfs_phy, ath9k_init_debug()
1366 ath9k_cmn_debug_base_eeprom(sc->debug.debugfs_phy, sc->sc_ah); ath9k_init_debug()
1367 ath9k_cmn_debug_modal_eeprom(sc->debug.debugfs_phy, sc->sc_ah); ath9k_init_debug()
1370 sc->debug.debugfs_phy, &sc->sc_ah->gpio_mask); ath9k_init_debug()
1372 sc->debug.debugfs_phy, &sc->sc_ah->gpio_val); ath9k_init_debug()
1374 sc->debug.debugfs_phy, sc, &fops_antenna_diversity); ath9k_init_debug()
1377 sc->debug.debugfs_phy, sc, &fops_bt_ant_diversity); ath9k_init_debug()
1378 debugfs_create_file("btcoex", S_IRUSR, sc->debug.debugfs_phy, sc, ath9k_init_debug()
1384 sc->debug.debugfs_phy, sc, &fops_wow); ath9k_init_debug()
1388 debugfs_create_file("ack_to", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, ath9k_init_debug()
1392 sc->debug.debugfs_phy, sc, &fops_tpc); ath9k_init_debug()
H A Dhtc_drv_debug.c202 priv->debug.tx_stats.buf_queued); read_file_xmit()
205 priv->debug.tx_stats.buf_completed); read_file_xmit()
208 priv->debug.tx_stats.skb_queued); read_file_xmit()
211 priv->debug.tx_stats.skb_success); read_file_xmit()
214 priv->debug.tx_stats.skb_failed); read_file_xmit()
217 priv->debug.tx_stats.cab_queued); read_file_xmit()
221 priv->debug.tx_stats.queue_stats[IEEE80211_AC_BE]); read_file_xmit()
224 priv->debug.tx_stats.queue_stats[IEEE80211_AC_BK]); read_file_xmit()
227 priv->debug.tx_stats.queue_stats[IEEE80211_AC_VI]); read_file_xmit()
230 priv->debug.tx_stats.queue_stats[IEEE80211_AC_VO]); read_file_xmit()
248 ath9k_cmn_debug_stat_rx(&priv->debug.rx_stats, rs); ath9k_htc_err_stat_rx()
265 priv->debug.skbrx_stats.skb_allocated); read_file_skb_rx()
268 priv->debug.skbrx_stats.skb_completed); read_file_skb_rx()
271 priv->debug.skbrx_stats.skb_dropped); read_file_skb_rx()
443 #define STXBASE priv->debug.tx_stats
444 #define SRXBASE priv->debug.rx_stats
445 #define SKBTXBASE priv->debug.tx_stats
446 #define SKBRXBASE priv->debug.skbrx_stats
492 priv->debug.debugfs_phy = debugfs_create_dir(KBUILD_MODNAME, ath9k_htc_init_debug()
494 if (!priv->debug.debugfs_phy) ath9k_htc_init_debug()
497 ath9k_cmn_spectral_init_debug(&priv->spec_priv, priv->debug.debugfs_phy); ath9k_htc_init_debug()
499 debugfs_create_file("tgt_int_stats", S_IRUSR, priv->debug.debugfs_phy, ath9k_htc_init_debug()
501 debugfs_create_file("tgt_tx_stats", S_IRUSR, priv->debug.debugfs_phy, ath9k_htc_init_debug()
503 debugfs_create_file("tgt_rx_stats", S_IRUSR, priv->debug.debugfs_phy, ath9k_htc_init_debug()
505 debugfs_create_file("xmit", S_IRUSR, priv->debug.debugfs_phy, ath9k_htc_init_debug()
507 debugfs_create_file("skb_rx", S_IRUSR, priv->debug.debugfs_phy, ath9k_htc_init_debug()
510 ath9k_cmn_debug_recv(priv->debug.debugfs_phy, &priv->debug.rx_stats); ath9k_htc_init_debug()
511 ath9k_cmn_debug_phy_err(priv->debug.debugfs_phy, &priv->debug.rx_stats); ath9k_htc_init_debug()
513 debugfs_create_file("slot", S_IRUSR, priv->debug.debugfs_phy, ath9k_htc_init_debug()
515 debugfs_create_file("queue", S_IRUSR, priv->debug.debugfs_phy, ath9k_htc_init_debug()
517 debugfs_create_file("debug", S_IRUSR | S_IWUSR, priv->debug.debugfs_phy, ath9k_htc_init_debug()
520 ath9k_cmn_debug_base_eeprom(priv->debug.debugfs_phy, priv->ah); ath9k_htc_init_debug()
521 ath9k_cmn_debug_modal_eeprom(priv->debug.debugfs_phy, priv->ah); ath9k_htc_init_debug()
H A DMakefile19 ath9k-$(CONFIG_ATH9K_DEBUGFS) += debug.o
62 common-debug.o \
H A Ddfs_debug.c29 sc->debug.stats.dfs_stats.p);
114 memset(&sc->debug.stats.dfs_stats, 0, write_file_dfs()
115 sizeof(sc->debug.stats.dfs_stats)); write_file_dfs()
148 sc->debug.debugfs_phy, sc, &fops_dfs_stats); ath9k_dfs_init_debug()
150 sc->debug.debugfs_phy, sc, &fops_simulate_radar); ath9k_dfs_init_debug()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A DMakefile4 llog.o llog_cat.o llog_obd.o llog_swab.o class_obd.o debug.o \
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dport.h10 #define DBG(f,a...) MSG(debug, f, ##a)
/linux-4.1.27/include/uapi/linux/sunrpc/
H A Ddebug.h2 * linux/include/linux/sunrpc/debug.h
13 * RPC debug facilities
31 * Declarations for the sysctl debug interface, which allows to read or
32 * change the debug flags for rpc, nfs, nfsd, and lockd. Since the sunrpc
/linux-4.1.27/arch/sh/include/asm/
H A Dtraps.h13 BUILD_TRAP_HANDLER(debug); variable
/linux-4.1.27/fs/f2fs/
H A DMakefile5 f2fs-$(CONFIG_F2FS_STAT_FS) += debug.o
/linux-4.1.27/tools/perf/ui/gtk/
H A Dsetup.c3 #include "../../util/debug.h"
H A Dhelpline.c7 #include "../../util/debug.h"
/linux-4.1.27/drivers/s390/cio/
H A Dcio_debug.h4 #include <asm/debug.h>
6 /* for use of debug feature */
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
H A DMakefile3 libcfs-linux-objs := linux-tracefile.o linux-debug.o
13 libcfs-all-objs := debug.o fail.o nidstrings.o module.o tracefile.o \
H A Ddebug.c36 * libcfs/libcfs/debug.c
51 MODULE_PARM_DESC(libcfs_subsystem_debug, "Lustre kernel debug subsystem mask");
57 MODULE_PARM_DESC(libcfs_debug, "Lustre kernel debug mask");
62 MODULE_PARM_DESC(libcfs_debug_mb, "Total debug buffer size.");
67 MODULE_PARM_DESC(libcfs_printk, "Lustre kernel debug console mask");
72 MODULE_PARM_DESC(libcfs_console_ratelimit, "Lustre kernel debug console ratelimit (0 to disable)");
77 MODULE_PARM_DESC(libcfs_console_max_delay, "Lustre kernel debug console max delay (jiffies)");
82 MODULE_PARM_DESC(libcfs_console_min_delay, "Lustre kernel debug console min delay (jiffies)");
87 MODULE_PARM_DESC(libcfs_console_backoff, "Lustre kernel debug console backoff factor");
121 "Path for dumping debug logs, set 'NONE' to prevent log dumping");
189 libcfs_debug_dbg2str(int debug) libcfs_debug_dbg2str() argument
191 switch (1 << debug) { libcfs_debug_dbg2str()
319 /* don't print warning for lctl set_param debug=0 or -1 */ libcfs_debug_str2mask()
455 pr_warn("Lustre: Setting portals debug level to %08x\n", libcfs_debug_set_level()
/linux-4.1.27/drivers/usb/chipidea/
H A Ddebug.h2 * debug.h - ChipIdea USB driver debug interfaces
H A DMakefile8 ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG) += debug.o
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Ddebug.h2 * S/390 debug facility
32 #define __DEBUG_FEATURE_VERSION 2 /* version of debug feature */
H A Dhypfs.h15 * IOCTL for binary interface /sys/kernel/debug/diag_304
29 * Structures for binary interface /sys/kernel/debug/diag_0c
/linux-4.1.27/drivers/staging/fbtft/
H A Dfbtft-sysfs.c153 void fbtft_expand_debug_value(unsigned long *debug) fbtft_expand_debug_value() argument
155 switch (*debug & 0x7) { fbtft_expand_debug_value()
157 *debug |= DEBUG_LEVEL_1; fbtft_expand_debug_value()
160 *debug |= DEBUG_LEVEL_2; fbtft_expand_debug_value()
163 *debug |= DEBUG_LEVEL_3; fbtft_expand_debug_value()
166 *debug |= DEBUG_LEVEL_4; fbtft_expand_debug_value()
169 *debug |= DEBUG_LEVEL_5; fbtft_expand_debug_value()
172 *debug |= DEBUG_LEVEL_6; fbtft_expand_debug_value()
175 *debug = 0xFFFFFFFF; fbtft_expand_debug_value()
188 ret = kstrtoul(buf, 10, &par->debug); store_debug()
191 fbtft_expand_debug_value(&par->debug); store_debug()
202 return snprintf(buf, PAGE_SIZE, "%lu\n", par->debug); show_debug()
206 __ATTR(debug, 0660, show_debug, store_debug);
/linux-4.1.27/include/linux/wimax/
H A Ddebug.h3 * Collection of tools to manage debug operations.
30 * debug action (like printing a message) if the current debug level
38 * A call to d_test(L) (L being the target debug level) returns true
39 * if the action should be taken because the current debug levels
51 * Convention sets 0 as "no debug" (so an action marked as debug level 0
52 * will always be taken). The increasing debug levels are used for
67 * - a debug-levels.h header file that declares the list of
71 * - some (optional) .c code to manipulate the runtime debug levels
74 * The debug-levels.h file would look like:
82 * #include <linux/wimax/debug.h>
93 * D_MASTER is the maximum compile-time debug level; any debug actions
97 * be done before #including debug.h
99 * We declare N different submodules whose debug level can be
132 * On each submodule (for example, .c files), the debug infrastructure
135 * #define D_SUBMODULE submodule_x // matches one in debug-levels.h
136 * #include "debug-levels.h"
144 * If their debug level is greater than D_MASTER, they will be
147 * If their debug level is lower or equal than D_MASTER but greater
148 * than the current debug level of their submodule, they'll be
189 * @l: intended debug level
219 * Store a submodule's runtime debug level and name
228 * List of available submodules and their debug levels
248 * Stuff you need to declare prior to using the actual "debug" actions
253 #error D_MODULENAME is not defined in your debug-levels.h file
257 * #define in your module's debug-levels.h, making sure it is
265 #warning D_MASTER not defined, but debug.h included! [see docs]
267 * D_MASTER - Compile time maximum debug level
269 * #define in your debug-levels.h file to the maximum debug level the
275 * Defaults to zero (no debug code compiled in).
277 * Maximum one definition per module (at the debug-levels.h file).
283 #error D_SUBMODULE not defined, but debug.h included! [see docs]
287 * #define in your submodule .c file before #including debug-levels.h
290 * debug-levels.h) and D_SUBMODULE_DEFINE().
292 * This is used to provide runtime-control over the debug levels.
302 * D_SUBMODULE_DECLARE - Declare a submodule for runtime debug level control
307 * Declare in the module's debug-levels.h header file as:
322 * D_SUBMODULE_DEFINE - Define a submodule for runtime debug level control
338 * debug-levels.h header file.
348 /* The actual "debug" operations */
354 * @l: intended debug level (unsigned)
356 * If the master debug switch is enabled and the current settings are
380 * @l: intended debug level
390 * @l: intended debug level
400 * @l: intended debug level
410 * @l: intended debug level
426 * Export a submodule's debug level over debugfs as PREFIXSUBMODULE
478 * d_parse_params - Parse a string with debug parameters from the
485 * separated list of NAME:VALUE, where value is the debug level
/linux-4.1.27/drivers/pci/hotplug/
H A Dibmphp_ebda.c128 debug ("%s - slot_min = %x\n", __func__, ptr->slot_min); print_bus_info()
129 debug ("%s - slot_max = %x\n", __func__, ptr->slot_max); print_bus_info()
130 debug ("%s - slot_count = %x\n", __func__, ptr->slot_count); print_bus_info()
131 debug ("%s - bus# = %x\n", __func__, ptr->busno); print_bus_info()
132 debug ("%s - current_speed = %x\n", __func__, ptr->current_speed); print_bus_info()
133 debug ("%s - controller_id = %x\n", __func__, ptr->controller_id); print_bus_info()
135 debug ("%s - slots_at_33_conv = %x\n", __func__, ptr->slots_at_33_conv); print_bus_info()
136 debug ("%s - slots_at_66_conv = %x\n", __func__, ptr->slots_at_66_conv); print_bus_info()
137 debug ("%s - slots_at_66_pcix = %x\n", __func__, ptr->slots_at_66_pcix); print_bus_info()
138 debug ("%s - slots_at_100_pcix = %x\n", __func__, ptr->slots_at_100_pcix); print_bus_info()
139 debug ("%s - slots_at_133_pcix = %x\n", __func__, ptr->slots_at_133_pcix); print_bus_info()
147 debug ("print_lo_info ----\n"); print_lo_info()
149 debug ("%s - rio_node_id = %x\n", __func__, ptr->rio_node_id); print_lo_info()
150 debug ("%s - rio_type = %x\n", __func__, ptr->rio_type); print_lo_info()
151 debug ("%s - owner_id = %x\n", __func__, ptr->owner_id); print_lo_info()
152 debug ("%s - first_slot_num = %x\n", __func__, ptr->first_slot_num); print_lo_info()
153 debug ("%s - wpindex = %x\n", __func__, ptr->wpindex); print_lo_info()
154 debug ("%s - chassis_num = %x\n", __func__, ptr->chassis_num); print_lo_info()
162 debug ("%s ---\n", __func__); print_vg_info()
164 debug ("%s - rio_node_id = %x\n", __func__, ptr->rio_node_id); print_vg_info()
165 debug ("%s - rio_type = %x\n", __func__, ptr->rio_type); print_vg_info()
166 debug ("%s - owner_id = %x\n", __func__, ptr->owner_id); print_vg_info()
167 debug ("%s - first_slot_num = %x\n", __func__, ptr->first_slot_num); print_vg_info()
168 debug ("%s - wpindex = %x\n", __func__, ptr->wpindex); print_vg_info()
169 debug ("%s - chassis_num = %x\n", __func__, ptr->chassis_num); print_vg_info()
179 debug ("%s - rsrc type: %x bus#: %x dev_func: %x start addr: %x end addr: %x\n", print_ebda_pci_rsrc()
189 debug ("%s - slot_number: %x\n", __func__, ptr->number); print_ibm_slot()
196 debug ("%s ---\n", __func__); print_opt_vg()
198 debug ("%s - rio_type %x\n", __func__, ptr->rio_type); print_opt_vg()
199 debug ("%s - chassis_num: %x\n", __func__, ptr->chassis_num); print_opt_vg()
200 debug ("%s - first_slot_num: %x\n", __func__, ptr->first_slot_num); print_opt_vg()
201 debug ("%s - middle_num: %x\n", __func__, ptr->middle_num); print_opt_vg()
212 debug ("%s - physical slot#: %x\n", __func__, hpc_ptr->slots[index].slot_num); print_ebda_hpc()
213 debug ("%s - pci bus# of the slot: %x\n", __func__, hpc_ptr->slots[index].slot_bus_num); print_ebda_hpc()
214 debug ("%s - index into ctlr addr: %x\n", __func__, hpc_ptr->slots[index].ctl_index); print_ebda_hpc()
215 debug ("%s - cap of the slot: %x\n", __func__, hpc_ptr->slots[index].slot_cap); print_ebda_hpc()
219 debug ("%s - bus# of each bus controlled by this ctlr: %x\n", __func__, hpc_ptr->buses[index].bus_num); print_ebda_hpc()
221 debug ("%s - type of hpc: %x\n", __func__, hpc_ptr->ctlr_type); print_ebda_hpc()
224 debug ("%s - bus: %x\n", __func__, hpc_ptr->u.pci_ctlr.bus); print_ebda_hpc()
225 debug ("%s - dev_fun: %x\n", __func__, hpc_ptr->u.pci_ctlr.dev_fun); print_ebda_hpc()
226 debug ("%s - irq: %x\n", __func__, hpc_ptr->irq); print_ebda_hpc()
230 debug ("%s - io_start: %x\n", __func__, hpc_ptr->u.isa_ctlr.io_start); print_ebda_hpc()
231 debug ("%s - io_end: %x\n", __func__, hpc_ptr->u.isa_ctlr.io_end); print_ebda_hpc()
232 debug ("%s - irq: %x\n", __func__, hpc_ptr->irq); print_ebda_hpc()
237 debug ("%s - wpegbbar: %lx\n", __func__, hpc_ptr->u.wpeg_ctlr.wpegbbar); print_ebda_hpc()
238 debug ("%s - i2c_addr: %x\n", __func__, hpc_ptr->u.wpeg_ctlr.i2c_addr); print_ebda_hpc()
239 debug ("%s - irq: %x\n", __func__, hpc_ptr->irq); print_ebda_hpc()
260 debug ("returned ebda segment: %x\n", ebda_seg); ibmphp_access_ebda()
267 debug("ebda size: %d(KiB)\n", ebda_sz); ibmphp_access_ebda()
297 debug ("now enter hot swap block---\n"); ibmphp_access_ebda()
298 debug ("hot blk id: %x\n", blk_id); ibmphp_access_ebda()
304 debug ("hot blk format: %x\n", format); ibmphp_access_ebda()
329 debug ("info about hpc descriptor---\n"); ibmphp_access_ebda()
330 debug ("hot blk format: %x\n", format); ibmphp_access_ebda()
331 debug ("num of controller: %x\n", num_ctlrs); ibmphp_access_ebda()
332 debug ("offset of hpc data structure entries: %x\n ", sub_addr); ibmphp_access_ebda()
358 debug ("info about rsrc descriptor---\n"); ibmphp_access_ebda()
359 debug ("format: %x\n", format); ibmphp_access_ebda()
360 debug ("num of rsrc: %x\n", num_entries); ibmphp_access_ebda()
361 debug ("offset of rsrc data structure entries: %x\n ", sub_addr); ibmphp_access_ebda()
366 debug ("now enter io table ---\n"); ibmphp_access_ebda()
367 debug ("rio blk id: %x\n", blk_id); ibmphp_access_ebda()
379 debug("info about rio table hdr ---\n"); ibmphp_access_ebda()
380 debug("ver_num: %x\nscal_count: %x\nriodev_count: %x\noffset of rio table: %x\n ", ibmphp_access_ebda()
440 // debug ("rio_node_id: %x\nbbar: %x\nrio_type: %x\nowner_id: %x\nport0_node: %x\nport0_port: %x\nport1_node: %x\nport1_port: %x\nfirst_slot_num: %x\nstatus: %x\n", rio_detail_ptr->rio_node_id, rio_detail_ptr->bbar, rio_detail_ptr->rio_type, rio_detail_ptr->owner_id, rio_detail_ptr->port0_node_connect, rio_detail_ptr->port0_port_connect, rio_detail_ptr->port1_node_connect, rio_detail_ptr->port1_port_connect, rio_detail_ptr->first_slot_num, rio_detail_ptr->status); ebda_rio_table()
786 debug ("now enter ctlr data structure ---\n"); ebda_rsrc_controller()
787 debug ("ctlr id: %x\n", ctlr_id); ebda_rsrc_controller()
788 debug ("ctlr_relative_id: %x\n", hpc_ptr->ctlr_relative_id); ebda_rsrc_controller()
789 debug ("count of slots controlled by this ctlr: %x\n", slot_num); ebda_rsrc_controller()
790 debug ("count of buses controlled by this ctlr: %x\n", bus_num); ebda_rsrc_controller()
866 debug ("ctrl bus = %x, ctlr devfun = %x, irq = %x\n", ebda_rsrc_controller()
1014 debug ("now entering rsrc land\n"); ebda_rsrc_rsrc()
1015 debug ("offset of rsrc: %x\n", rsrc_list_ptr->phys_addr); ebda_rsrc_rsrc()
1037 debug ("rsrc from io type ----\n"); ebda_rsrc_rsrc()
1038 debug ("rsrc type: %x bus#: %x dev_func: %x start addr: %x end addr: %x\n", ebda_rsrc_rsrc()
1058 debug ("rsrc from mem or pfm ---\n"); ebda_rsrc_rsrc()
1059 debug ("rsrc type: %x bus#: %x dev_func: %x start addr: %x end addr: %x\n", ebda_rsrc_rsrc()
1198 debug ("inside ibmphp_probe\n"); ibmphp_probe()
1204 debug ("found device!!!\n"); ibmphp_probe()
1205 debug ("dev->device = %x, dev->subsystem_device = %x\n", dev->device, dev->subsystem_device); ibmphp_probe()
H A Dibmphp_core.c53 static bool debug; variable
54 module_param(debug, bool, S_IRUGO | S_IWUSR);
55 MODULE_PARM_DESC (debug, "Debugging mode enabled or not");
80 debug("options = %x\n", slot_cur->ctrl->options); get_cur_bus_info()
81 debug("revision = %x\n", slot_cur->ctrl->revision); get_cur_bus_info()
96 debug("busstatus = %x, bus_speed = %x, bus_mode = %x\n", get_cur_bus_info()
164 debug("(*cur_slot)->irq[0] = %x\n", ibmphp_init_devno()
166 debug("(*cur_slot)->irq[1] = %x\n", ibmphp_init_devno()
168 debug("(*cur_slot)->irq[2] = %x\n", ibmphp_init_devno()
170 debug("(*cur_slot)->irq[3] = %x\n", ibmphp_init_devno()
173 debug("rtable->exclusive_irqs = %x\n", ibmphp_init_devno()
175 debug("rtable->slots[loop].irq[0].bitmap = %x\n", ibmphp_init_devno()
177 debug("rtable->slots[loop].irq[1].bitmap = %x\n", ibmphp_init_devno()
179 debug("rtable->slots[loop].irq[2].bitmap = %x\n", ibmphp_init_devno()
181 debug("rtable->slots[loop].irq[3].bitmap = %x\n", ibmphp_init_devno()
184 debug("rtable->slots[loop].irq[0].link = %x\n", ibmphp_init_devno()
186 debug("rtable->slots[loop].irq[1].link = %x\n", ibmphp_init_devno()
188 debug("rtable->slots[loop].irq[2].link = %x\n", ibmphp_init_devno()
190 debug("rtable->slots[loop].irq[3].link = %x\n", ibmphp_init_devno()
192 debug("end of init_devno\n"); ibmphp_init_devno()
243 debug("set_attention_status - Entry hotplug_slot[%lx] value[%x]\n", set_attention_status()
277 debug("set_attention_status - Exit rc[%d]\n", rc); set_attention_status()
287 debug("get_attention_status - Entry hotplug_slot[%lx] pvalue[%lx]\n", get_attention_status()
308 debug("get_attention_status - Exit rc[%d] value[%x]\n", rc, *value); get_attention_status()
318 debug("get_latch_status - Entry hotplug_slot[%lx] pvalue[%lx]\n", get_latch_status()
333 debug("get_latch_status - Exit rc[%d] rc[%x] value[%x]\n", get_latch_status()
345 debug("get_power_status - Entry hotplug_slot[%lx] pvalue[%lx]\n", get_power_status()
360 debug("get_power_status - Exit rc[%d] rc[%x] value[%x]\n", get_power_status()
372 debug("get_adapter_status - Entry hotplug_slot[%lx] pvalue[%lx]\n", get_adapter_present()
392 debug("get_adapter_present - Exit rc[%d] value[%x]\n", rc, *value); get_adapter_present()
403 debug("%s - Entry slot[%p]\n", __func__, slot); get_max_bus_speed()
429 debug("%s - Exit rc[%d] speed[%x]\n", __func__, rc, speed); get_max_bus_speed()
440 debug("get_max_adapter_speed_1 - Entry hotplug_slot[%lx] pvalue[%lx]\n",
468 debug("get_max_adapter_speed_1 - Exit rc[%d] value[%x]\n", rc, *value);
477 debug("get_bus_name - Entry hotplug_slot[%lx]\n", (ulong)hotplug_slot);
491 debug("get_bus_name - Exit rc[%d] value[%x]\n", rc, *value);
514 debug("BEFORE GETTING SLOT STATUS, slot # %x\n", init_ops()
534 debug("status = %x\n", slot_cur->status); init_ops()
535 debug("ext_status = %x\n", slot_cur->ext_status); init_ops()
536 debug("SLOT_POWER = %x\n", SLOT_POWER(slot_cur->status)); init_ops()
537 debug("SLOT_PRESENT = %x\n", SLOT_PRESENT(slot_cur->status)); init_ops()
538 debug("SLOT_LATCH = %x\n", SLOT_LATCH(slot_cur->status)); init_ops()
543 debug("BEFORE POWER OFF COMMAND\n"); init_ops()
574 debug("slot_number in validate is %d\n", slot_cur->number); validate()
700 debug("%s -- enter\n", __func__); free_slots()
706 debug("%s -- exit\n", __func__); free_slots()
714 debug("inside %s\n", __func__); ibm_unconfigure_device()
715 debug("func->device = %x, func->function = %x\n", ibm_unconfigure_device()
717 debug("func->device << 3 | 0x0 = %x\n", func->device << 3 | 0x0); ibm_unconfigure_device()
766 debug("%s - Inside bus_structure_fixup()\n", bus_structure_fixup()
872 debug("%s - entry slot # %d\n", __func__, slot_cur->number); set_bus()
878 debug("ext_status = %x, speed = %x\n", slot_cur->ext_status, speed); set_bus()
932 debug("setting bus speed for slot %d, cmd %x\n", set_bus()
947 debug("%s -Exit\n", __func__); set_bus()
1025 debug("ENABLING SLOT........\n"); enable_slot()
1044 debug("the current bus speed right after set_bus = %x\n", enable_slot()
1084 debug("after power_on\n"); enable_slot()
1087 debug("the current bus speed right after power_on = %x\n", enable_slot()
1125 debug("b4 configure_card, slot_cur->bus = %x, slot_cur->device = %x\n", enable_slot()
1133 debug("after unconfigure_card\n"); enable_slot()
1203 debug("DISABLING SLOT...\n"); ibmphp_do_disable_slot()
1247 debug("in disable_slot. after unconfigure_card\n"); ibmphp_do_disable_slot()
1297 debug("after slots\n"); ibmphp_unload()
1299 debug("after resources\n"); ibmphp_unload()
1301 debug("after bus info\n"); ibmphp_unload()
1303 debug("after ebda hpc\n"); ibmphp_unload()
1305 debug("after ebda pci rsrc\n"); ibmphp_unload()
1334 ibmphp_debug = debug; ibmphp_init()
1344 debug("after ibmphp_access_ebda()\n"); ibmphp_init()
1349 debug("AFTER Resource & EBDA INITIALIZATIONS\n"); ibmphp_init()
1378 debug("after polling\n"); ibmphp_exit()
1380 debug("done\n"); ibmphp_exit()
H A Dibmphp_pci.c95 debug ("inside configure_card, func->busno = %x\n", func->busno); ibmphp_configure_card()
112 debug ("inside the loop, cur_func->busno = %x, cur_func->device = %x, cur_func->function = %x\n", ibmphp_configure_card()
117 debug ("vendor_id is %x\n", vendor_id); ibmphp_configure_card()
120 debug ("found valid device, vendor_id = %x\n", vendor_id); ibmphp_configure_card()
133 debug ("hrd_type = %x, class = %x, class_code %x\n", hdr_type, class, class_code); ibmphp_configure_card()
146 debug ("single device case.... vendor id = %x, hdr_type = %x, class = %x\n", vendor_id, hdr_type, class); ibmphp_configure_card()
250 debug ("class now is %x\n", class); ibmphp_configure_card()
259 debug ("cur_func->busno b4 configure_bridge is %x\n", cur_func->busno); ibmphp_configure_card()
273 debug ("cur_func->busno = %x, device = %x, function = %x\n", ibmphp_configure_card()
276 debug ("after configuring bridge..., sec_number = %x\n", sec_number); ibmphp_configure_card()
280 debug ("inside for loop, device is %x\n", i); ibmphp_configure_card()
369 debug ("%s - inside\n", __func__); configure_device()
395 debug ("Device %x BAR %d wants %x\n", func->device, count, bar[count]); configure_device()
399 debug ("inside IO SPACE\n"); configure_device()
404 debug ("len[count] in IO %x, count %d\n", len[count], count); configure_device()
428 debug ("b4 writing, the IO address is %x\n", func->io[count]->start); configure_device()
430 debug ("after writing.... the start address is %x\n", bar[count]); configure_device()
437 debug ("PFMEM SPACE\n"); configure_device()
442 debug ("len[count] in PFMEM %x, count %d\n", len[count], count); configure_device()
469 debug ("there's no pfmem... going into mem.\n"); configure_device()
490 debug ("b4 writing, start address is %x\n", func->pfmem[count]->start); configure_device()
492 debug ("after writing, start address is %x\n", bar[count]); configure_device()
496 debug ("inside the mem 64 case, count %d\n", count); configure_device()
503 debug ("REGULAR MEM SPACE\n"); configure_device()
508 debug ("len[count] in Mem %x, count %d\n", len[count], count); configure_device()
531 debug ("b4 writing, start address is %x\n", func->mem[count]->start); configure_device()
533 debug ("after writing, the address is %x\n", bar[count]); configure_device()
538 debug ("inside mem 64 case, reg. mem, count %d\n", count); configure_device()
600 debug ("%s - enter\n", __func__); configure_bridge()
613 debug ("primary # written into the bridge is %x\n", pri_number); configure_bridge()
623 debug ("after find_sec_number, the number we got is %x\n", sec_number); configure_bridge()
624 debug ("AFTER FIND_SEC_NUMBER, func->busno IS %x\n", func->busno); configure_bridge()
630 debug ("sec_number after write/read is %x\n", sec_number); configure_bridge()
637 debug ("subordinate number after write/read is %x\n", sec_number); configure_bridge()
644 debug ("func->busno is %x\n", func->busno); configure_bridge()
645 debug ("sec_number after writing is %x\n", sec_number); configure_bridge()
660 debug ("so we come here then, eh?, count = %d\n", count); configure_bridge()
665 debug ("Bar %d wants %x\n", count, bar[count]); configure_bridge()
672 debug ("len[count] in IO = %x\n", len[count]); configure_bridge()
705 debug ("len[count] in PFMEM = %x\n", len[count]); configure_bridge()
762 debug ("len[count] in Memory is %x\n", len[count]); configure_bridge()
804 debug ("after coming back from scan_behind_bridge\n"); configure_bridge()
805 debug ("amount_needed->not_correct = %x\n", amount_needed->not_correct); configure_bridge()
806 debug ("amount_needed->io = %x\n", amount_needed->io); configure_bridge()
807 debug ("amount_needed->mem = %x\n", amount_needed->mem); configure_bridge()
808 debug ("amount_needed->pfmem = %x\n", amount_needed->pfmem); configure_bridge()
811 debug ("amount_needed is not correct\n"); configure_bridge()
830 debug ("it doesn't want IO?\n"); configure_bridge()
833 debug ("it wants %x IO behind the bridge\n", amount_needed->io); configure_bridge()
846 debug ("were we able to add io\n"); configure_bridge()
853 debug ("it doesn't want n.e.memory?\n"); configure_bridge()
856 debug ("it wants %x memory behind the bridge\n", amount_needed->mem); configure_bridge()
870 debug ("were we able to add mem\n"); configure_bridge()
875 debug ("it doesn't want n.e.pfmem mem?\n"); configure_bridge()
878 debug ("it wants %x pfmemory behind the bridge\n", amount_needed->pfmem); configure_bridge()
914 debug ("b4 if (flag_io && flag_mem && flag_pfmem)\n"); configure_bridge()
915 debug ("flag_io = %x, flag_mem = %x, flag_pfmem = %x\n", flag_io, flag_mem, flag_pfmem); configure_bridge()
932 debug ("b4 adding new bus\n"); configure_bridge()
954 debug ("io 32\n"); configure_bridge()
958 debug ("pfmem 64\n"); configure_bridge()
968 debug ("io_base = %x\n", (temp & PCI_IO_RANGE_TYPE_MASK) << 8); configure_bridge()
970 debug ("io_limit = %x\n", (temp & PCI_IO_RANGE_TYPE_MASK) << 8); configure_bridge()
988 debug ("mem_base = %x\n", (temp & PCI_MEMORY_RANGE_TYPE_MASK) << 16); configure_bridge()
990 debug ("mem_limit = %x\n", (temp & PCI_MEMORY_RANGE_TYPE_MASK) << 16); configure_bridge()
1003 debug ("pfmem_base = %x", (temp & PCI_MEMORY_RANGE_TYPE_MASK) << 16); configure_bridge()
1005 debug ("pfmem_limit = %x\n", (temp & PCI_MEMORY_RANGE_TYPE_MASK) << 16); configure_bridge()
1017 debug ("b4 writing control information\n"); configure_bridge()
1032 debug ("device where devices[i] is 1 = %x\n", i); configure_bridge()
1038 debug ("func->busno b4 returning is %x\n", func->busno); configure_bridge()
1039 debug ("func->busno b4 returning in the other structure is %x\n", (*func_passed)->busno); configure_bridge()
1105 debug ("the bus_no behind the bridge is %x\n", busno); scan_behind_bridge()
1106 debug ("scanning devices behind the bridge...\n"); scan_behind_bridge()
1121 debug ("hdr_type behind the bridge is %x\n", hdr_type); scan_behind_bridge()
1153 debug ("what is bar[count]? %x, count = %d\n", bar[count], count); scan_behind_bridge()
1160 debug ("count %d device %x function %x wants %x resources\n", count, device, function, bar[count]); scan_behind_bridge()
1237 debug ("%s - enter\n", __func__); unconfigure_boot_device()
1241 debug ("cannot find corresponding bus.\n"); unconfigure_boot_device()
1256 debug ("start_address is %x\n", start_address); unconfigure_boot_device()
1257 debug ("busno, device, function %x %x %x\n", busno, device, function); unconfigure_boot_device()
1260 debug ("is this bar no implemented?, count = %d\n", count); unconfigure_boot_device()
1274 debug ("io->start = %x\n", io->start); unconfigure_boot_device()
1284 debug ("io->start = %x\n", io->start); unconfigure_boot_device()
1295 debug ("start address of pfmem is %x\n", start_address); unconfigure_boot_device()
1303 debug ("pfmem->start = %x\n", pfmem->start); unconfigure_boot_device()
1309 debug ("start address of mem is %x\n", start_address); unconfigure_boot_device()
1317 debug ("mem->start = %x\n", mem->start); unconfigure_boot_device()
1352 debug ("busno is %x\n", busno); unconfigure_boot_bridge()
1354 debug ("%s - busno = %x, primary_number = %x\n", __func__, busno, pri_number); unconfigure_boot_bridge()
1357 debug ("sec_number is %x\n", sec_number); unconfigure_boot_bridge()
1367 debug ("sub_no is %d, sec_no is %d\n", sub_no, sec_no); unconfigure_boot_bridge()
1378 debug("bus->busno is %x\n", bus->busno); unconfigure_boot_bridge()
1379 debug("sec_number is %x\n", sec_number); unconfigure_boot_bridge()
1402 debug ("io->start = %x\n", io->start); unconfigure_boot_bridge()
1417 debug ("pfmem->start = %x\n", pfmem->start); unconfigure_boot_bridge()
1429 debug ("mem->start = %x\n", mem->start); unconfigure_boot_bridge()
1440 debug ("%s - exiting, returning success\n", __func__); unconfigure_boot_bridge()
1456 debug ("%s - enter\n", __func__); unconfigure_boot_card()
1461 debug ("b4 for loop, device is %x\n", device); unconfigure_boot_card()
1473 debug ("%s - found correct device\n", __func__); unconfigure_boot_card()
1483 debug ("hdr_type %x, class %x\n", hdr_type, class); unconfigure_boot_card()
1570 debug ("%s - enter\n", __func__); ibmphp_unconfigure_card()
1594 debug ("io[%d] exists\n", i); ibmphp_unconfigure_card()
1600 debug ("mem[%d] exists\n", i); ibmphp_unconfigure_card()
1606 debug ("pfmem[%d] exists\n", i); ibmphp_unconfigure_card()
1621 debug ("%s - exit\n", __func__); ibmphp_unconfigure_card()
H A Dibmphp_hpc.c43 #define debug_polling(fmt, arg...) do { if (to_debug) debug (fmt, arg); } while (0)
133 debug ("%s - Entry\n", __func__); ibmphp_hpc_initvars()
140 debug ("%s - Exit\n", __func__); ibmphp_hpc_initvars()
217 debug ("%s - Error : WPG timeout\n", __func__); i2c_ctrl_read()
233 debug ("ctrl_read - Exit Error:I2C timeout\n"); i2c_ctrl_read()
328 debug ("%s - Exit Error:WPG timeout\n", __func__); i2c_ctrl_write()
345 debug ("ctrl_read - Error : I2C timeout\n"); i2c_ctrl_write()
384 debug ("inside pci_ctrl_read\n"); pci_ctrl_read()
393 debug ("inside pci_ctrl_write\n"); pci_ctrl_write()
723 debug ("%s - ctlr id[%x] physical[%lx] logical[%lx] i2c[%x]\n", __func__, ibmphp_hpc_writeslot()
807 debug ("%s - Entry\n", __func__); ibmphp_unlock_operations()
810 debug ("%s - Exit\n", __func__); ibmphp_unlock_operations()
831 debug ("%s - Entry\n", __func__); poll_hpc()
912 debug ("%s - Exit\n", __func__); poll_hpc()
939 debug ("process_changeinstatus - Entry pslot[%p], poldslot[%p]\n", pslot, poldslot); process_changeinstatus()
995 debug ("process_changeinstatus - disable slot\n"); process_changeinstatus()
1003 debug ("%s - Exit rc[%d] disable[%x] update[%x]\n", __func__, rc, disable, update); process_changeinstatus()
1025 debug ("%s - Entry old[%x], new[%x]\n", __func__, old, new); process_changeinlatch()
1035 debug ("%s - call process_changeinstatus for slot[%d]\n", __func__, i); process_changeinlatch()
1043 debug ("%s - Exit rc[%d]\n", __func__, rc); process_changeinlatch()
1054 debug ("%s - Entry\n", __func__); ibmphp_hpc_start_poll_thread()
1071 debug ("%s - Entry\n", __func__); ibmphp_hpc_stop_poll_thread()
1074 debug ("before locking operations \n"); ibmphp_hpc_stop_poll_thread()
1076 debug ("after locking operations \n"); ibmphp_hpc_stop_poll_thread()
1079 debug ("before sem_exit down \n"); ibmphp_hpc_stop_poll_thread()
1081 debug ("after sem_exit down \n"); ibmphp_hpc_stop_poll_thread()
1084 debug ("before free_hpc_access \n"); ibmphp_hpc_stop_poll_thread()
1086 debug ("after free_hpc_access \n"); ibmphp_hpc_stop_poll_thread()
1088 debug ("after unlock operations \n"); ibmphp_hpc_stop_poll_thread()
1090 debug ("after sem exit up\n"); ibmphp_hpc_stop_poll_thread()
1092 debug ("%s - Exit\n", __func__); ibmphp_hpc_stop_poll_thread()
/linux-4.1.27/arch/arm/include/debug/
H A Dimx.S1 /* arch/arm/mach-imx/include/mach/debug-macro.S
6 * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks
20 * for low-level debug uart port across platforms.
H A Ds3c24xx.S1 /* arch/arm/mach-s3c2410/include/mach/debug-macro.S
8 * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks
46 #include <debug/samsung.S>
H A Dux500.S14 #error Invalid Ux500 debug UART
48 #include <debug/pl01x.S>
H A Dsirf.S2 * arch/arm/mach-prima2/include/mach/debug-macro.S
H A Dvexpress.S1 /* arch/arm/mach-realview/include/mach/debug-macro.S
6 * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks
50 #include <debug/pl01x.S>
H A Dnetx.S5 * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks
H A Dvt8500.S5 * Moved from arch/arm/mach-vt8500/include/mach/debug-macro.S
H A Dsa1100.S1 /* arch/arm/include/debug/sa1100.S
6 * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks
/linux-4.1.27/arch/arm/mach-davinci/
H A Dmux.h21 .debug = dbg, \
32 .debug = dbg, \
43 .debug = dbg, \
/linux-4.1.27/include/linux/lockd/
H A Ddebug.h2 * linux/include/linux/lockd/debug.h
14 #include <linux/sunrpc/debug.h>
/linux-4.1.27/drivers/isdn/hisax/
H A Dhscx_irq.c58 if ((cs->debug & L1_DEB_HSCX) && !(cs->debug & L1_DEB_HSCX_FIFO)) hscx_empty_fifo()
62 if (cs->debug & L1_DEB_WARN) hscx_empty_fifo()
72 if (cs->debug & L1_DEB_HSCX_FIFO) { hscx_empty_fifo()
90 if ((cs->debug & L1_DEB_HSCX) && !(cs->debug & L1_DEB_HSCX_FIFO)) hscx_fill_fifo()
112 if (cs->debug & L1_DEB_HSCX_FIFO) { hscx_fill_fifo()
138 if (cs->debug & L1_DEB_WARN) hscx_interrupt()
145 if (cs->debug & L1_DEB_WARN) hscx_interrupt()
153 if (cs->debug & L1_DEB_WARN) hscx_interrupt()
167 if (cs->debug & L1_DEB_HSCX_FIFO) hscx_interrupt()
250 if (cs->debug & L1_DEB_WARN) hscx_int_main()
253 } else if (cs->debug & L1_DEB_HSCX) hscx_int_main()
257 if (cs->debug & L1_DEB_HSCX) hscx_int_main()
280 if (cs->debug & L1_DEB_WARN) hscx_int_main()
283 } else if (cs->debug & L1_DEB_HSCX) hscx_int_main()
288 if (cs->debug & L1_DEB_HSCX) hscx_int_main()
H A Damd7930_fn.c19 * (compressed) debug-logs.
33 * 2. set debug-level
131 if (cs->debug & L1_DEB_ISAC) Amd7930_ph_command()
174 if (cs->debug & L1_DEB_ISAC) Amd7930_new_ph()
243 if (cs->debug) Amd7930_bh()
252 if (cs->debug & L1_DEB_ISAC) Amd7930_bh()
258 if (cs->debug & L1_DEB_ISAC) Amd7930_bh()
264 if (cs->debug & L1_DEB_ISAC) Amd7930_bh()
279 if ((cs->debug & L1_DEB_ISAC) && !(cs->debug & L1_DEB_ISAC_FIFO)) Amd7930_empty_Dfifo()
312 if (cs->debug & L1_DEB_ISAC_FIFO) { Amd7930_empty_Dfifo()
334 if (cs->debug & L1_DEB_WARN) Amd7930_empty_Dfifo()
352 if ((cs->debug & L1_DEB_ISAC) && !(cs->debug & L1_DEB_ISAC_FIFO)) Amd7930_fill_Dfifo()
386 if (cs->debug & L1_DEB_ISAC) { Amd7930_fill_Dfifo()
404 if (cs->debug & L1_DEB_ISAC_FIFO) { Amd7930_fill_Dfifo()
429 if (cs->debug & L1_DEB_ISAC) Amd7930_interrupt()
435 if (cs->debug & L1_DEB_WARN) Amd7930_interrupt()
475 if (cs->debug & L1_DEB_ISAC) Amd7930_interrupt()
496 if (cs->debug & L1_DEB_ISAC) Amd7930_interrupt()
504 if (cs->debug & L1_DEB_ISAC) { Amd7930_interrupt()
516 if (cs->debug & L1_DEB_ISAC) Amd7930_interrupt()
524 if (cs->debug & L1_DEB_ISAC) Amd7930_interrupt()
541 if (cs->debug & L1_DEB_ISAC) Amd7930_interrupt()
564 if (cs->debug & L1_DEB_ISAC) Amd7930_l1hw()
569 if (cs->debug & DEB_DLOG_HEX) Amd7930_l1hw()
571 if (cs->debug & DEB_DLOG_VERBOSE) Amd7930_l1hw()
577 if (cs->debug & L1_DEB_LAPD) Amd7930_l1hw()
585 if (cs->debug & L1_DEB_LAPD) Amd7930_l1hw()
595 if (cs->debug & L1_DEB_WARN) Amd7930_l1hw()
601 if (cs->debug & DEB_DLOG_HEX) Amd7930_l1hw()
603 if (cs->debug & DEB_DLOG_VERBOSE) Amd7930_l1hw()
609 if (cs->debug & L1_DEB_LAPD) Amd7930_l1hw()
617 if (cs->debug & L1_DEB_LAPD) Amd7930_l1hw()
663 if (cs->debug & L1_DEB_WARN) Amd7930_l1hw()
673 if (cs->debug & L1_DEB_ISAC) setstack_Amd7930()
682 if (cs->debug & L1_DEB_ISAC) DC_Close_Amd7930()
696 if (cs->debug & L1_DEB_ISAC) dbusy_timer_handler()
708 if (cs->debug & L1_DEB_ISAC) dbusy_timer_handler()
739 if (cs->debug & L1_DEB_ISAC) dbusy_timer_handler()
752 if (cs->debug & L1_DEB_ISAC) Amd7930_init()
H A Dicc.c43 if (cs->debug & L1_DEB_ISAC) ph_command()
88 if (cs->debug) icc_bh()
117 if ((cs->debug & L1_DEB_ISAC) && !(cs->debug & L1_DEB_ISAC_FIFO)) icc_empty_fifo()
121 if (cs->debug & L1_DEB_WARN) icc_empty_fifo()
132 if (cs->debug & L1_DEB_ISAC_FIFO) { icc_empty_fifo()
147 if ((cs->debug & L1_DEB_ISAC) && !(cs->debug & L1_DEB_ISAC_FIFO)) icc_fill_fifo()
174 if (cs->debug & L1_DEB_ISAC_FIFO) { icc_fill_fifo()
190 if (cs->debug & L1_DEB_ISAC) icc_interrupt()
196 if (cs->debug & L1_DEB_WARN) icc_interrupt()
203 if (cs->debug & L1_DEB_WARN) icc_interrupt()
233 if (cs->debug & L1_DEB_WARN) icc_interrupt()
260 if (cs->debug & L1_DEB_ISAC) icc_interrupt()
264 if (cs->debug & L1_DEB_ISAC) icc_interrupt()
270 if (cs->debug & L1_DEB_ISAC) icc_interrupt()
276 if (cs->debug & L1_DEB_WARN) icc_interrupt()
281 if (cs->debug & L1_DEB_WARN) icc_interrupt()
308 if (cs->debug & L1_DEB_MONITOR) icc_interrupt()
314 if (cs->debug & L1_DEB_WARN) icc_interrupt()
328 if (cs->debug & L1_DEB_WARN) icc_interrupt()
333 if (cs->debug & L1_DEB_MONITOR) icc_interrupt()
344 if (cs->debug & L1_DEB_WARN) icc_interrupt()
358 if (cs->debug & L1_DEB_WARN) icc_interrupt()
363 if (cs->debug & L1_DEB_MONITOR) icc_interrupt()
402 if (cs->debug & L1_DEB_MONITOR) icc_interrupt()
425 if (cs->debug & L1_DEB_MONITOR) icc_interrupt()
444 if (cs->debug & DEB_DLOG_HEX) ICC_l1hw()
446 if (cs->debug & DEB_DLOG_VERBOSE) ICC_l1hw()
452 if (cs->debug & L1_DEB_LAPD) ICC_l1hw()
459 if (cs->debug & L1_DEB_LAPD) ICC_l1hw()
469 if (cs->debug & L1_DEB_WARN) ICC_l1hw()
475 if (cs->debug & DEB_DLOG_HEX) ICC_l1hw()
477 if (cs->debug & DEB_DLOG_VERBOSE) ICC_l1hw()
482 if (cs->debug & L1_DEB_LAPD) ICC_l1hw()
490 if (cs->debug & L1_DEB_LAPD) ICC_l1hw()
562 if (cs->debug & L1_DEB_WARN) ICC_l1hw()
591 if (cs->debug) dbusy_timer_handler()
H A Disac.c42 if (cs->debug & L1_DEB_ISAC) ph_command()
91 if (cs->debug) isac_bh()
120 if ((cs->debug & L1_DEB_ISAC) && !(cs->debug & L1_DEB_ISAC_FIFO)) isac_empty_fifo()
124 if (cs->debug & L1_DEB_WARN) isac_empty_fifo()
135 if (cs->debug & L1_DEB_ISAC_FIFO) { isac_empty_fifo()
150 if ((cs->debug & L1_DEB_ISAC) && !(cs->debug & L1_DEB_ISAC_FIFO)) isac_fill_fifo()
177 if (cs->debug & L1_DEB_ISAC_FIFO) { isac_fill_fifo()
193 if (cs->debug & L1_DEB_ISAC) isac_interrupt()
199 if (cs->debug & L1_DEB_WARN) isac_interrupt()
206 if (cs->debug & L1_DEB_WARN) isac_interrupt()
236 if (cs->debug & L1_DEB_WARN) isac_interrupt()
263 if (cs->debug & L1_DEB_ISAC) isac_interrupt()
267 if (cs->debug & L1_DEB_ISAC) isac_interrupt()
273 if (cs->debug & L1_DEB_ISAC) isac_interrupt()
279 if (cs->debug & L1_DEB_WARN) isac_interrupt()
284 if (cs->debug & L1_DEB_WARN) isac_interrupt()
311 if (cs->debug & L1_DEB_MONITOR) isac_interrupt()
317 if (cs->debug & L1_DEB_WARN) isac_interrupt()
331 if (cs->debug & L1_DEB_WARN) isac_interrupt()
336 if (cs->debug & L1_DEB_MONITOR) isac_interrupt()
347 if (cs->debug & L1_DEB_WARN) isac_interrupt()
361 if (cs->debug & L1_DEB_WARN) isac_interrupt()
366 if (cs->debug & L1_DEB_MONITOR) isac_interrupt()
405 if (cs->debug & L1_DEB_MONITOR) isac_interrupt()
428 if (cs->debug & L1_DEB_MONITOR) isac_interrupt()
447 if (cs->debug & DEB_DLOG_HEX) ISAC_l1hw()
449 if (cs->debug & DEB_DLOG_VERBOSE) ISAC_l1hw()
455 if (cs->debug & L1_DEB_LAPD) ISAC_l1hw()
462 if (cs->debug & L1_DEB_LAPD) ISAC_l1hw()
472 if (cs->debug & L1_DEB_WARN) ISAC_l1hw()
476 if (cs->debug & DEB_DLOG_HEX) ISAC_l1hw()
478 if (cs->debug & DEB_DLOG_VERBOSE) ISAC_l1hw()
483 if (cs->debug & L1_DEB_LAPD) ISAC_l1hw()
492 if (cs->debug & L1_DEB_LAPD) ISAC_l1hw()
560 if (cs->debug & L1_DEB_WARN) ISAC_l1hw()
590 if (cs->debug) dbusy_timer_handler()
H A Djade_irq.c48 if ((cs->debug & L1_DEB_HSCX) && !(cs->debug & L1_DEB_HSCX_FIFO)) jade_empty_fifo()
52 if (cs->debug & L1_DEB_WARN) jade_empty_fifo()
62 if (cs->debug & L1_DEB_HSCX_FIFO) { jade_empty_fifo()
80 if ((cs->debug & L1_DEB_HSCX) && !(cs->debug & L1_DEB_HSCX_FIFO)) jade_fill_fifo()
102 if (cs->debug & L1_DEB_HSCX_FIFO) { jade_fill_fifo()
130 if (cs->debug & L1_DEB_WARN) jade_interrupt()
133 if (cs->debug & L1_DEB_WARN) jade_interrupt()
136 if (cs->debug & L1_DEB_WARN) jade_interrupt()
145 if (cs->debug & L1_DEB_HSCX_FIFO) jade_interrupt()
227 if (cs->debug & L1_DEB_WARN) jade_int_main()
232 if (cs->debug & L1_DEB_HSCX) jade_int_main()
H A Disar.c58 if (cs->debug & L1_DEB_HSCX) sendmsg()
69 if (cs->debug & L1_DEB_HSCX_FIFO) { sendmsg()
100 if (cs->debug & L1_DEB_HSCX_FIFO) { rcv_mbox()
125 if (cs->debug & L1_DEB_HSCX) get_irq_infos()
160 int debug; ISARVersion() local
166 debug = cs->debug; ISARVersion()
167 cs->debug &= ~(L1_DEB_HSCX | L1_DEB_HSCX_FIFO); ISARVersion()
176 cs->debug = debug; ISARVersion()
192 int cfu_ret, ret, size, cnt, debug; isar_load_firmware() local
210 debug = cs->debug; isar_load_firmware()
212 cs->debug &= ~(L1_DEB_HSCX | L1_DEB_HSCX_FIFO); isar_load_firmware()
420 cs->debug = debug; isar_load_firmware()
427 cs->debug = debug; isar_load_firmware()
523 if (cs->debug & L1_DEB_WARN) isar_rcv_frame()
528 if (cs->debug & L1_DEB_WARN) isar_rcv_frame()
547 if (cs->debug & L1_DEB_WARN) isar_rcv_frame()
564 if (cs->debug & L1_DEB_WARN) isar_rcv_frame()
574 if (cs->debug & L1_DEB_HSCX) isar_rcv_frame()
583 if (cs->debug & L1_DEB_WARN) isar_rcv_frame()
599 if (cs->debug & L1_DEB_WARN) isar_rcv_frame()
608 if (cs->debug & L1_DEB_WARN) isar_rcv_frame()
613 if (cs->debug & L1_DEB_WARN) isar_rcv_frame()
629 if (cs->debug & L1_DEB_WARN) isar_rcv_frame()
650 if (cs->debug & L1_DEB_WARN) isar_rcv_frame()
677 if ((cs->debug & L1_DEB_HSCX) && !(cs->debug & L1_DEB_HSCX_FIFO)) isar_fill_fifo()
724 if (cs->debug & L1_DEB_WARN) isar_fill_fifo()
733 if (cs->debug & L1_DEB_WARN) isar_fill_fifo()
738 if (cs->debug) isar_fill_fifo()
851 if (cs->debug & L1_DEB_WARN) isar_pump_status_rsp()
892 if (cs->debug & L1_DEB_HSCX) isar_pump_status_rsp()
903 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_modem()
907 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_modem()
912 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_modem()
918 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_modem()
922 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_modem()
926 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_modem()
930 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_modem()
936 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_modem()
940 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_modem()
944 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_modem()
948 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_modem()
952 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_modem()
956 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_modem()
960 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_modem()
972 if (bcs->cs->debug & L1_DEB_HSCX) ll_deliver_faxstat()
989 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_fax()
993 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_fax()
1005 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_fax()
1010 if (cs->debug & L1_DEB_WARN) isar_pump_statev_fax()
1017 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_fax()
1022 if (cs->debug & L1_DEB_WARN) isar_pump_statev_fax()
1029 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_fax()
1034 if (cs->debug & L1_DEB_WARN) isar_pump_statev_fax()
1041 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_fax()
1046 if (cs->debug & L1_DEB_WARN) isar_pump_statev_fax()
1053 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_fax()
1072 if (cs->debug & L1_DEB_WARN) isar_pump_statev_fax()
1078 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_fax()
1082 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_fax()
1111 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_fax()
1131 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_fax()
1145 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_fax()
1150 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_fax()
1160 if (cs->debug & L1_DEB_HSCX) isar_pump_statev_fax()
1204 if (cs->debug & L1_DEB_WARN) isar_int_main()
1217 if (cs->debug & L1_DEB_HSCX) isar_int_main()
1220 if (cs->debug & L1_DEB_WARN) isar_int_main()
1244 if ((cs->debug & (L1_DEB_HSCX | L1_DEB_HSCX_FIFO)) isar_int_main()
1256 if (cs->debug & L1_DEB_WARN) isar_int_main()
1262 if (cs->debug & L1_DEB_WARN) isar_int_main()
1271 if (bcs->cs->debug) ftimer_handler()
1438 if (cs->debug & L1_DEB_HSCX) modeisar()
1606 if (bcs->cs->debug & L1_DEB_HSCX) isar_l2l1()
1619 if (bcs->cs->debug & L1_DEB_HSCX) isar_l2l1()
1680 if (bcs->cs->debug & L1_DEB_HSCX) isar_l2l1()
1702 if (bcs->cs->debug & L1_DEB_HSCX) close_isarstate()
1723 if (cs->debug & L1_DEB_HSCX) open_isarstate()
1751 if (cs->debug & L1_DEB_HSCX) isar_auxcmd()
1756 if (cs->debug & L1_DEB_HSCX) isar_auxcmd()
1778 if (cs->debug & L1_DEB_HSCX) isar_auxcmd()
1796 if (cs->debug) isar_auxcmd()
1801 if (cs->debug) isar_auxcmd()
1833 if (cs->debug & L1_DEB_HSCX) isar_auxcmd()
H A Dfsm.c63 if (fi->debug) FsmEvent()
70 if (fi->debug) FsmEvent()
82 if (fi->debug) FsmChangeState()
91 if (ft->fi->debug) FsmExpireTimer()
104 if (ft->fi->debug) FsmInitTimer()
114 if (ft->fi->debug) FsmDelTimer()
126 if (ft->fi->debug) FsmAddTimer()
150 if (ft->fi->debug) FsmRestartTimer()
H A Dcallc.c226 if (chanp->debug & 1) lli_leased_in()
238 if (chanp->debug & 1) lli_leased_in()
256 if (chanp->debug & 1) lli_init_bchan_out()
312 if (chanp->debug & 1) lli_go_active()
343 if (chanp->debug & 1) lli_deliver_call()
355 if (chanp->debug & 1) lli_deliver_call()
425 if (chanp->debug & 1) lli_init_bchan_in()
472 if (chanp->debug & 1) lli_leased_hup()
518 if (chanp->debug & 1) lli_dhup_close()
583 if (chanp->debug & 1) lli_bhup_disc()
596 if (chanp->debug & 1) lli_bhup_rel_b()
627 if (chanp->debug & 1) lli_bhup_dhup()
671 if (chanp->debug & 1) lli_bhup_release_req()
699 if (chanp->debug & 1) lli_dchan_not_ready()
709 if (chanp->debug & 1) lli_no_setup_rsp()
752 if (chanp->debug & 1) lli_bhup_fail()
1000 if (chanp->debug & 0x800) { dchan_l3l4()
1094 chanp->debug = 0; init_chan()
1103 chanp->fi.debug = 0; init_chan()
1192 if (chanp->debug & 0x800) lldata_handler()
1224 if (chanp->debug & 0x800) lltrans_handler()
1253 if (chanp->debug & 0x800) lli_writewakeup()
1304 st->l3.debug = 0; init_b_st()
1314 st->l2.l2m.debug = chanp->debug & 16; init_b_st()
1315 st->l2.debug = chanp->debug & 64; init_b_st()
1398 chanp[i].debug = debugflags; distr_debug()
1399 chanp[i].fi.debug = debugflags & 2; distr_debug()
1400 chanp[i].d_st->l2.l2m.debug = debugflags & 8; distr_debug()
1401 chanp[i].b_st->l2.l2m.debug = debugflags & 0x10; distr_debug()
1402 chanp[i].d_st->l2.debug = debugflags & 0x20; distr_debug()
1403 chanp[i].b_st->l2.debug = debugflags & 0x40; distr_debug()
1404 chanp[i].d_st->l3.l3m.debug = debugflags & 0x80; distr_debug()
1405 chanp[i].b_st->l3.l3m.debug = debugflags & 0x100; distr_debug()
1406 chanp[i].b_st->ma.tei_m.debug = debugflags & 0x200; distr_debug()
1407 chanp[i].b_st->ma.debug = debugflags & 0x200; distr_debug()
1408 chanp[i].d_st->l1.l1m.debug = debugflags & 0x1000; distr_debug()
1409 chanp[i].b_st->l1.l1m.debug = debugflags & 0x2000; distr_debug()
1412 csta->debug |= DEB_DLOG_HEX; distr_debug()
1414 csta->debug &= ~DEB_DLOG_HEX; distr_debug()
1515 if (chanp->debug & 1) HiSax_command()
1522 if (chanp->debug & 1) HiSax_command()
1529 if (chanp->debug & 1) HiSax_command()
1547 if (chanp->debug & 1) HiSax_command()
1554 if (chanp->debug & 1) HiSax_command()
1560 if (chanp->debug & 1) HiSax_command()
1566 if (chanp->debug & 1) HiSax_command()
1672 num = csta->debug & DEB_DLOG_HEX; HiSax_command()
1673 csta->debug = *(unsigned int *) ic->parm.num; HiSax_command()
1674 csta->debug |= num; HiSax_command()
1677 csta->cardnr + 1, csta->debug); HiSax_command()
1679 csta->cardnr + 1, csta->debug); HiSax_command()
1682 csta->channel[0].d_st->l3.debug = *(unsigned int *) ic->parm.num; HiSax_command()
1683 csta->channel[1].d_st->l3.debug = *(unsigned int *) ic->parm.num; HiSax_command()
1704 if (chanp->debug & 1) HiSax_command()
1711 if (chanp->debug & 1) HiSax_command()
1718 if (chanp->debug & 1) HiSax_command()
1770 if (chanp->debug & 0x800) HiSax_writebuf_skb()
1773 } else if (chanp->debug & 0x800) HiSax_writebuf_skb()
H A Dw6692.c62 if (cs->debug & L1_DEB_ISAC) ph_command()
110 if (cs->debug) W6692_bh()
137 if ((cs->debug & L1_DEB_ISAC) && !(cs->debug & L1_DEB_ISAC_FIFO)) W6692_empty_fifo()
141 if (cs->debug & L1_DEB_WARN) W6692_empty_fifo()
152 if (cs->debug & L1_DEB_ISAC_FIFO) { W6692_empty_fifo()
167 if ((cs->debug & L1_DEB_ISAC) && !(cs->debug & L1_DEB_ISAC_FIFO)) W6692_fill_fifo()
194 if (cs->debug & L1_DEB_ISAC_FIFO) { W6692_fill_fifo()
209 if ((cs->debug & L1_DEB_HSCX) && !(cs->debug & L1_DEB_HSCX_FIFO)) W6692B_empty_fifo()
213 if (cs->debug & L1_DEB_WARN) W6692B_empty_fifo()
223 if (cs->debug & L1_DEB_HSCX_FIFO) { W6692B_empty_fifo()
252 if ((cs->debug & L1_DEB_HSCX) && !(cs->debug & L1_DEB_HSCX_FIFO)) W6692B_fill_fifo()
261 if (cs->debug & L1_DEB_HSCX_FIFO) { W6692B_fill_fifo()
291 if (cs->debug & L1_DEB_WARN) W6692B_interrupt()
294 if (cs->debug & L1_DEB_WARN) W6692B_interrupt()
298 if (cs->debug & L1_DEB_WARN) W6692B_interrupt()
307 if (cs->debug & L1_DEB_HSCX_FIFO) W6692B_interrupt()
324 if (cs->debug & L1_DEB_WARN) W6692B_interrupt()
344 if (cs->debug & L1_DEB_WARN) W6692B_interrupt()
363 if (cs->debug & L1_DEB_WARN) W6692B_interrupt()
418 if (cs->debug & L1_DEB_ISAC) W6692_interrupt()
425 if (cs->debug & L1_DEB_WARN) W6692_interrupt()
428 if (cs->debug & L1_DEB_WARN) W6692_interrupt()
431 if (cs->debug & L1_DEB_WARN) W6692_interrupt()
478 if (cs->debug & L1_DEB_ISAC) W6692_interrupt()
483 if (cs->debug & L1_DEB_WARN) W6692_interrupt()
517 if (cs->debug & L1_DEB_ISAC) W6692_interrupt()
521 if (cs->debug & L1_DEB_ISAC) W6692_interrupt()
568 if (cs->debug & DEB_DLOG_HEX) W6692_l1hw()
570 if (cs->debug & DEB_DLOG_VERBOSE) W6692_l1hw()
576 if (cs->debug & L1_DEB_LAPD) W6692_l1hw()
583 if (cs->debug & L1_DEB_LAPD) W6692_l1hw()
593 if (cs->debug & L1_DEB_WARN) W6692_l1hw()
599 if (cs->debug & DEB_DLOG_HEX) W6692_l1hw()
601 if (cs->debug & DEB_DLOG_VERBOSE) W6692_l1hw()
606 if (cs->debug & L1_DEB_LAPD) W6692_l1hw()
614 if (cs->debug & L1_DEB_LAPD) W6692_l1hw()
666 if (cs->debug & L1_DEB_WARN) W6692_l1hw()
694 if (cs->debug) dbusy_timer_handler()
729 if (cs->debug & L1_DEB_HSCX) W6692Bmode()
H A Dhfc_2bds0.c46 if (cs->debug & L1_DEB_HSCX_FIFO && (data != 2)) ReadReg()
64 if (cs->debug & L1_DEB_HSCX_FIFO && (data != HFCD_DATA_NODEB)) WriteReg()
192 if ((cs->debug & L1_DEB_HSCX) && !(cs->debug & L1_DEB_HSCX_FIFO)) hfc_empty_fifo()
196 if (cs->debug & L1_DEB_WARN) hfc_empty_fifo()
205 if (cs->debug & L1_DEB_WARN) hfc_empty_fifo()
239 if (cs->debug & L1_DEB_HSCX) hfc_empty_fifo()
281 if (cs->debug & L1_DEB_HSCX) hfc_fill_fifo()
289 if (cs->debug & L1_DEB_HSCX) hfc_fill_fifo()
294 if (cs->debug & L1_DEB_HSCX) hfc_fill_fifo()
299 if (cs->debug & L1_DEB_HSCX) hfc_fill_fifo()
373 if (cs->debug & L1_DEB_HSCX) main_rec_2bds0()
382 if (cs->debug & L1_DEB_HSCX) main_rec_2bds0()
409 if (cs->debug & L1_DEB_HSCX) mode_2bs0()
615 if (cs->debug & L1_DEB_ISAC) receive_dmsg()
621 if (cs->debug & L1_DEB_WARN) receive_dmsg()
630 if (cs->debug & L1_DEB_WARN) receive_dmsg()
658 if (cs->debug & L1_DEB_ISAC) receive_dmsg()
708 if (cs->debug & L1_DEB_ISAC) hfc_fill_dfifo()
716 if (cs->debug & L1_DEB_HSCX) hfc_fill_dfifo()
721 if (cs->debug & L1_DEB_ISAC) hfc_fill_dfifo()
725 if (cs->debug & L1_DEB_ISAC) hfc_fill_dfifo()
771 if (cs->debug & L1_DEB_ISAC) hfc2bds0_interrupt()
778 if (cs->debug & L1_DEB_ISAC) hfc2bds0_interrupt()
797 if (cs->debug) hfc2bds0_interrupt()
804 if (cs->debug) hfc2bds0_interrupt()
811 if (cs->debug) hfc2bds0_interrupt()
835 if (cs->debug) hfc2bds0_interrupt()
895 if (cs->debug & L1_DEB_ISAC) hfc2bds0_interrupt()
911 if (cs->debug & DEB_DLOG_HEX) HFCD_l1hw()
913 if (cs->debug & DEB_DLOG_VERBOSE) HFCD_l1hw()
919 if (cs->debug & L1_DEB_LAPD) HFCD_l1hw()
926 if (cs->debug & L1_DEB_LAPD) HFCD_l1hw()
941 if (cs->debug & L1_DEB_WARN) HFCD_l1hw()
947 if (cs->debug & DEB_DLOG_HEX) HFCD_l1hw()
949 if (cs->debug & DEB_DLOG_VERBOSE) HFCD_l1hw()
954 if (cs->debug & L1_DEB_LAPD) HFCD_l1hw()
966 if (cs->debug & L1_DEB_LAPD) HFCD_l1hw()
1004 if (cs->debug & L1_DEB_WARN) HFCD_l1hw()
H A Dipacx.c61 if (cs->debug & L1_DEB_ISAC) ph_command()
79 if (cs->debug & L1_DEB_ISAC) debugl1(cs, "cic_int(event=%#x)", event); cic_int()
103 if (cs->debug & DEB_DLOG_HEX) LogFrame(cs, skb->data, skb->len); dch_l2l1()
104 if (cs->debug & DEB_DLOG_VERBOSE) dlogframe(cs, skb, 0); dch_l2l1()
108 if (cs->debug & L1_DEB_LAPD) Logl2Frame(cs, skb, "PH_DATA Queued", 0); dch_l2l1()
114 if (cs->debug & L1_DEB_LAPD) Logl2Frame(cs, skb, "PH_DATA", 0); dch_l2l1()
122 if (cs->debug & L1_DEB_WARN) dch_l2l1()
127 if (cs->debug & DEB_DLOG_HEX) LogFrame(cs, skb->data, skb->len); dch_l2l1()
128 if (cs->debug & DEB_DLOG_VERBOSE) dlogframe(cs, skb, 0); dch_l2l1()
132 if (cs->debug & L1_DEB_LAPD) Logl2Frame(cs, skb, "PH_DATA_PULLED", 0); dch_l2l1()
139 if (cs->debug & L1_DEB_LAPD) debugl1(cs, "-> PH_REQUEST_PULL"); dch_l2l1()
193 if (cs->debug & L1_DEB_WARN) debugl1(cs, "dch_l2l1 unknown %04x", pr); dch_l2l1()
209 if (cs->debug) dbusy_timer_handler()
240 if ((cs->debug & L1_DEB_ISAC) && !(cs->debug & L1_DEB_ISAC_FIFO)) dch_empty_fifo()
245 if (cs->debug & L1_DEB_WARN) dch_empty_fifo()
258 if (cs->debug & L1_DEB_ISAC_FIFO) { dch_empty_fifo()
276 if ((cs->debug & L1_DEB_ISAC) && !(cs->debug & L1_DEB_ISAC_FIFO)) dch_fill_fifo()
305 if (cs->debug & L1_DEB_ISAC_FIFO) { dch_fill_fifo()
333 if (cs->debug & L1_DEB_WARN) dch_int()
336 if (cs->debug & L1_DEB_WARN) dch_int()
339 if (cs->debug & L1_DEB_WARN) dch_int()
367 if (cs->debug & L1_DEB_WARN) debugl1(cs, "dch_int(): RFO"); dch_int()
398 if (cs->debug & L1_DEB_WARN) debugl1(cs, "dch_int(): XDU"); dch_int()
517 if ((cs->debug & L1_DEB_HSCX) && !(cs->debug & L1_DEB_HSCX_FIFO)) bch_empty_fifo()
522 if (cs->debug & L1_DEB_WARN) bch_empty_fifo()
537 if (cs->debug & L1_DEB_HSCX_FIFO) { bch_empty_fifo()
557 if ((cs->debug & L1_DEB_HSCX) && !(cs->debug & L1_DEB_HSCX_FIFO)) bch_fill_fifo()
580 if (cs->debug & L1_DEB_HSCX_FIFO) { bch_fill_fifo()
612 if (cs->debug & L1_DEB_WARN) bch_int()
615 if (cs->debug & L1_DEB_WARN) bch_int()
618 if (cs->debug & L1_DEB_WARN) bch_int()
627 if (cs->debug & L1_DEB_HSCX_FIFO) bch_int()
658 if (cs->debug & L1_DEB_WARN) bch_int()
704 if (cs->debug & L1_DEB_WARN) bch_int()
719 if (cs->debug & L1_DEB_HSCX) bch_mode()
H A Dl3_1tr6.c65 if (pc->st->l3.debug & L3_DEB_WARN) l3_1tr6_error()
100 if (pc->st->l3.debug & L3_DEB_WARN) l3_1tr6_setup_req()
215 if ((pc->para.setup.si1 != 7) && (pc->st->l3.debug & L3_DEB_WARN)) { l3_1tr6_setup()
316 if (pc->st->l3.debug & L3_DEB_CHARGE) { l3_1tr6_info()
320 } else if (pc->st->l3.debug & L3_DEB_CHARGE) l3_1tr6_info()
414 if (pc->st->l3.debug & L3_DEB_CHARGE) { l3_1tr6_disc()
418 } else if (pc->st->l3.debug & L3_DEB_CHARGE) l3_1tr6_disc()
435 if (pc->st->l3.debug & L3_DEB_WARN) l3_1tr6_disc()
761 if (st->l3.debug & L3_DEB_PROTERR) { up1tr6()
768 if (st->l3.debug & L3_DEB_PROTERR) { up1tr6()
777 if (st->l3.debug & L3_DEB_PROTERR) { up1tr6()
787 if (st->l3.debug & L3_DEB_STATE) { up1tr6()
796 if (st->l3.debug & L3_DEB_PROTERR) { up1tr6()
815 if (st->l3.debug & L3_DEB_PROTERR) { up1tr6()
830 if (st->l3.debug & L3_DEB_STATE) { up1tr6()
837 if (st->l3.debug & L3_DEB_STATE) { up1tr6()
878 if (st->l3.debug & L3_DEB_STATE) { down1tr6()
883 if (st->l3.debug & L3_DEB_STATE) { down1tr6()
906 if (st->l3.debug & L3_DEB_STATE) { man1tr6()
911 if (st->l3.debug & L3_DEB_STATE) { man1tr6()
H A Dtei.c138 if (st->ma.debug) tei_id_request()
157 if (st->ma.debug) tei_id_assign()
184 if (st->ma.debug) tei_id_test_dup()
205 if (st->ma.debug) tei_id_denied()
218 if (st->ma.debug) tei_id_chk_req()
237 if (st->ma.debug) tei_id_remove()
254 if (st->ma.debug) tei_id_verify()
271 if (st->ma.debug) tei_id_req_tout()
293 if (st->ma.debug) tei_id_ver_tout()
372 if (st->ma.debug) tei_l2tei()
410 st->ma.debug = 1; setstack_tei()
413 st->ma.tei_m.debug = 1; setstack_tei()
/linux-4.1.27/drivers/net/wireless/ath/
H A DMakefile19 ath-$(CONFIG_ATH_DEBUG) += debug.o
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A DMakefile3 debug.o \
H A Ddebug.c24 #include "debug.h"
138 ath10k_info(ar, "debug %d debugfs %d tracing %d dfs %d testmode %d\n", ath10k_print_driver_info()
269 ar->debug.fw_stats_done = false; ath10k_debug_fw_stats_reset()
270 ath10k_debug_fw_stats_pdevs_free(&ar->debug.fw_stats.pdevs); ath10k_debug_fw_stats_reset()
271 ath10k_debug_fw_stats_vdevs_free(&ar->debug.fw_stats.vdevs); ath10k_debug_fw_stats_reset()
272 ath10k_debug_fw_stats_peers_free(&ar->debug.fw_stats.peers); ath10k_debug_fw_stats_reset()
329 if (ar->debug.fw_stats_done) { ath10k_debug_fw_stats_process()
334 num_peers = ath10k_debug_fw_stats_num_peers(&ar->debug.fw_stats.peers); ath10k_debug_fw_stats_process()
335 num_vdevs = ath10k_debug_fw_stats_num_vdevs(&ar->debug.fw_stats.vdevs); ath10k_debug_fw_stats_process()
336 is_start = (list_empty(&ar->debug.fw_stats.pdevs) && ath10k_debug_fw_stats_process()
338 is_end = (!list_empty(&ar->debug.fw_stats.pdevs) && ath10k_debug_fw_stats_process()
342 list_splice_tail_init(&stats.pdevs, &ar->debug.fw_stats.pdevs); ath10k_debug_fw_stats_process()
345 ar->debug.fw_stats_done = true; ath10k_debug_fw_stats_process()
347 is_started = !list_empty(&ar->debug.fw_stats.pdevs); ath10k_debug_fw_stats_process()
363 list_splice_tail_init(&stats.peers, &ar->debug.fw_stats.peers); ath10k_debug_fw_stats_process()
364 list_splice_tail_init(&stats.vdevs, &ar->debug.fw_stats.vdevs); ath10k_debug_fw_stats_process()
367 complete(&ar->debug.fw_stats_complete); ath10k_debug_fw_stats_process()
396 reinit_completion(&ar->debug.fw_stats_complete); ath10k_debug_fw_stats_request()
407 ret = wait_for_completion_timeout(&ar->debug.fw_stats_complete, ath10k_debug_fw_stats_request()
413 if (ar->debug.fw_stats_done) { ath10k_debug_fw_stats_request()
682 ath10k_fw_stats_fill(ar, &ar->debug.fw_stats, buf); ath10k_fw_stats_open()
894 struct ath10k_fw_crash_data *crash_data = ar->debug.fw_crash_data; ath10k_debug_get_new_fw_crash_data()
908 struct ath10k_fw_crash_data *crash_data = ar->debug.fw_crash_data; ath10k_build_dump_file()
975 ar->debug.fw_crash_data->crashed_since_read = false; ath10k_build_dump_file()
1033 reg_addr = ar->debug.reg_addr; ath10k_reg_addr_read()
1057 ar->debug.reg_addr = reg_addr; ath10k_reg_addr_write()
1089 reg_addr = ar->debug.reg_addr; ath10k_reg_value_read()
1118 reg_addr = ar->debug.reg_addr; ath10k_reg_value_write()
1260 if (ar->debug.htt_stats_mask == 0) ath10k_debug_htt_stats_req()
1269 ret = ath10k_htt_h2t_stats_req(&ar->htt, ar->debug.htt_stats_mask, ath10k_debug_htt_stats_req()
1276 queue_delayed_work(ar->workqueue, &ar->debug.htt_stats_dwork, ath10k_debug_htt_stats_req()
1285 debug.htt_stats_dwork.work); ath10k_debug_htt_stats_dwork()
1302 len = scnprintf(buf, sizeof(buf), "%lu\n", ar->debug.htt_stats_mask); ath10k_read_htt_stats_mask()
1325 ar->debug.htt_stats_mask = mask; ath10k_write_htt_stats_mask()
1358 if (ar->debug.htt_max_amsdu) ath10k_read_htt_max_amsdu_ampdu()
1359 amsdu = ar->debug.htt_max_amsdu; ath10k_read_htt_max_amsdu_ampdu()
1361 if (ar->debug.htt_max_ampdu) ath10k_read_htt_max_amsdu_ampdu()
1362 ampdu = ar->debug.htt_max_ampdu; ath10k_read_htt_max_amsdu_ampdu()
1397 ar->debug.htt_max_amsdu = amsdu; ath10k_write_htt_max_amsdu_ampdu()
1398 ar->debug.htt_max_ampdu = ampdu; ath10k_write_htt_max_amsdu_ampdu()
1422 ar->debug.fw_dbglog_mask, ar->debug.fw_dbglog_level); ath10k_read_fw_dbglog()
1452 ar->debug.fw_dbglog_mask = mask; ath10k_write_fw_dbglog()
1453 ar->debug.fw_dbglog_level = log_level; ath10k_write_fw_dbglog()
1456 ret = ath10k_wmi_dbglog_cfg(ar, ar->debug.fw_dbglog_mask, ath10k_write_fw_dbglog()
1457 ar->debug.fw_dbglog_level); ath10k_write_fw_dbglog()
1569 pdev_stats = list_first_entry_or_null(&ar->debug.fw_stats.pdevs, ath10k_debug_get_et_stats()
1728 ar->debug.nf_cal_period); ath10k_read_nf_cal_period()
1754 ar->debug.nf_cal_period = period; ath10k_write_nf_cal_period()
1763 ar->debug.nf_cal_period); ath10k_write_nf_cal_period()
1798 if (ar->debug.fw_dbglog_mask) { ath10k_debug_start()
1799 ret = ath10k_wmi_dbglog_cfg(ar, ar->debug.fw_dbglog_mask, ath10k_debug_start()
1807 if (ar->debug.pktlog_filter) { ath10k_debug_start()
1809 ar->debug.pktlog_filter); ath10k_debug_start()
1814 ar->debug.pktlog_filter, ret); ath10k_debug_start()
1822 if (ar->debug.nf_cal_period) { ath10k_debug_start()
1825 ar->debug.nf_cal_period); ath10k_debug_start()
1828 ath10k_warn(ar, "cal period cfg failed from debug start: %d\n", ath10k_debug_start()
1842 if (ar->debug.htt_stats_mask != 0) ath10k_debug_stop()
1843 cancel_delayed_work(&ar->debug.htt_stats_dwork); ath10k_debug_stop()
1845 ar->debug.htt_max_amsdu = 0; ath10k_debug_stop()
1846 ar->debug.htt_max_ampdu = 0; ath10k_debug_stop()
1871 ar->debug.dfs_stats.p))
1875 ar->debug.dfs_pool_stats.p))
1894 ar->debug.dfs_pool_stats = ath10k_read_dfs_stats()
1945 ar->debug.pktlog_filter = filter; ath10k_write_pktlog_filter()
1950 if (filter == ar->debug.pktlog_filter) { ath10k_write_pktlog_filter()
1959 ar->debug.pktlog_filter, ret); ath10k_write_pktlog_filter()
1970 ar->debug.pktlog_filter = filter; ath10k_write_pktlog_filter()
1987 ar->debug.pktlog_filter); ath10k_read_pktlog_filter()
2001 ar->debug.fw_crash_data = vzalloc(sizeof(*ar->debug.fw_crash_data)); ath10k_debug_create()
2002 if (!ar->debug.fw_crash_data) ath10k_debug_create()
2005 INIT_LIST_HEAD(&ar->debug.fw_stats.pdevs); ath10k_debug_create()
2006 INIT_LIST_HEAD(&ar->debug.fw_stats.vdevs); ath10k_debug_create()
2007 INIT_LIST_HEAD(&ar->debug.fw_stats.peers); ath10k_debug_create()
2014 vfree(ar->debug.fw_crash_data); ath10k_debug_destroy()
2015 ar->debug.fw_crash_data = NULL; ath10k_debug_destroy()
2022 ar->debug.debugfs_phy = debugfs_create_dir("ath10k", ath10k_debug_register()
2024 if (IS_ERR_OR_NULL(ar->debug.debugfs_phy)) { ath10k_debug_register()
2025 if (IS_ERR(ar->debug.debugfs_phy)) ath10k_debug_register()
2026 return PTR_ERR(ar->debug.debugfs_phy); ath10k_debug_register()
2031 INIT_DELAYED_WORK(&ar->debug.htt_stats_dwork, ath10k_debug_register()
2034 init_completion(&ar->debug.fw_stats_complete); ath10k_debug_register()
2036 debugfs_create_file("fw_stats", S_IRUSR, ar->debug.debugfs_phy, ar, ath10k_debug_register()
2039 debugfs_create_file("fw_reset_stats", S_IRUSR, ar->debug.debugfs_phy, ath10k_debug_register()
2042 debugfs_create_file("wmi_services", S_IRUSR, ar->debug.debugfs_phy, ar, ath10k_debug_register()
2045 debugfs_create_file("simulate_fw_crash", S_IRUSR, ar->debug.debugfs_phy, ath10k_debug_register()
2048 debugfs_create_file("fw_crash_dump", S_IRUSR, ar->debug.debugfs_phy, ath10k_debug_register()
2052 ar->debug.debugfs_phy, ar, &fops_reg_addr); ath10k_debug_register()
2055 ar->debug.debugfs_phy, ar, &fops_reg_value); ath10k_debug_register()
2058 ar->debug.debugfs_phy, ar, &fops_mem_value); ath10k_debug_register()
2060 debugfs_create_file("chip_id", S_IRUSR, ar->debug.debugfs_phy, ath10k_debug_register()
2063 debugfs_create_file("htt_stats_mask", S_IRUSR, ar->debug.debugfs_phy, ath10k_debug_register()
2067 ar->debug.debugfs_phy, ar, ath10k_debug_register()
2070 debugfs_create_file("fw_dbglog", S_IRUSR, ar->debug.debugfs_phy, ath10k_debug_register()
2073 debugfs_create_file("cal_data", S_IRUSR, ar->debug.debugfs_phy, ath10k_debug_register()
2077 ar->debug.debugfs_phy, ar, &fops_nf_cal_period); ath10k_debug_register()
2081 ar->debug.debugfs_phy, ar, ath10k_debug_register()
2085 ar->debug.debugfs_phy, ath10k_debug_register()
2089 ar->debug.debugfs_phy, ar, ath10k_debug_register()
2094 ar->debug.debugfs_phy, ar, &fops_pktlog_filter); ath10k_debug_register()
2101 cancel_delayed_work_sync(&ar->debug.htt_stats_dwork); ath10k_debug_unregister()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dlustre_debug.h40 /** \defgroup debug debug
48 /* lib/debug.c */
54 /** @} debug */
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
H A DMakefile11 wil6210-y += debug.o
/linux-4.1.27/drivers/uwb/
H A DMakefile25 uwb-debug.o \
H A Duwb-debug.c36 #include <linux/uwb/debug-cmd.h>
45 * command: Flexible command interface (see <linux/uwb/debug-cmd.h>).
75 uwb_rsv_dump("debug", rsv); uwb_dbg_rsv_cb()
286 dev_info(dev, "debug: channel %d started\n", channel); uwb_dbg_channel_changed()
288 dev_info(dev, "debug: channel stopped\n"); uwb_dbg_channel_changed()
304 * uwb_dbg_add_rc - add a debug interface for a radio controller
341 * uwb_dbg_del_rc - remove a radio controller's debug interface
367 * uwb_dbg_exit - initialize the debug interface sub-module
375 * uwb_dbg_exit - clean-up the debug interface sub-module
/linux-4.1.27/fs/ntfs/
H A DMakefile5 ntfs-y := aops.o attrib.o collate.o compress.o debug.o dir.o file.o \
H A Dsysctl.c34 #include "debug.h"
39 .procname = "ntfs-debug",
62 * ntfs_sysctl - add or remove the debug sysctl
65 * Add or remove the debug sysctl. Return 0 on success or -errno on error.
H A Ddebug.c2 * debug.c - NTFS kernel debug support. Part of the Linux-NTFS project.
22 #include "debug.h"
40 * Note, you should be using debug.h::ntfs_warning(@sb, @fmt, @...) instead
83 * Note, you should be using debug.h::ntfs_error(@sb, @fmt, @...) instead
112 /* If 1, output debug messages, and if 0, don't. */
H A Ddebug.h2 * debug.h - NTFS kernel debug support. Part of the Linux-NTFS project.
37 * ntfs_debug - write a debug level message to syslog
/linux-4.1.27/include/linux/sunrpc/
H A Dtypes.h14 #include <linux/sunrpc/debug.h>
H A Ddebug.h2 * linux/include/linux/sunrpc/debug.h
11 #include <uapi/linux/sunrpc/debug.h>
/linux-4.1.27/arch/s390/include/asm/
H A Dpci_debug.h4 #include <asm/debug.h>
H A Ddebug.h2 * S/390 debug facility
13 #include <uapi/asm/debug.h>
15 #define DEBUG_MAX_LEVEL 6 /* debug levels range from 0 to 6 */
16 #define DEBUG_OFF_LEVEL -1 /* level where debug is switched off */
20 #define DEBUG_DEFAULT_LEVEL 3 /* initial debug level */
22 #define DEBUG_DIR_ROOT "s390dbf" /* name of debug root directory in proc fs */
229 define the debug levels:
/linux-4.1.27/arch/ia64/include/uapi/asm/
H A Dbreak.h12 * OS-specific debug break numbers:
/linux-4.1.27/arch/arm/plat-omap/
H A DMakefile13 obj-$(CONFIG_OMAP_DEBUG_LEDS) += debug-leds.o
/linux-4.1.27/kernel/time/
H A Dtimekeeping_internal.h4 * timekeeping debug functions
/linux-4.1.27/net/sctp/
H A DMakefile13 output.o input.o debug.o ssnmap.o auth.o
H A Ddebug.c62 /* Lookup "chunk type" debug name. */ sctp_cname()
132 /* Lookup primitive debug name. */ sctp_pname()
145 /* Lookup "other" debug name. */ sctp_oname()
166 /* Lookup timer debug name. */ sctp_tname()
/linux-4.1.27/tools/perf/arch/s390/util/
H A Ddwarf-regs.c2 * Mapping of DWARF debug register numbers into register names.
/linux-4.1.27/arch/powerpc/kernel/
H A Dptrace.c858 task->thread.debug.dbcr0 &= ~DBCR0_BT; user_enable_single_step()
859 task->thread.debug.dbcr0 |= DBCR0_IDM | DBCR0_IC; user_enable_single_step()
875 task->thread.debug.dbcr0 &= ~DBCR0_IC; user_enable_block_step()
876 task->thread.debug.dbcr0 = DBCR0_IDM | DBCR0_BT; user_enable_block_step()
895 * And, after doing so, if all debug flags are off, turn user_disable_single_step()
898 task->thread.debug.dbcr0 &= ~(DBCR0_IC|DBCR0_BT); user_disable_single_step()
902 if (!DBCR_ACTIVE_EVENTS(task->thread.debug.dbcr0, user_disable_single_step()
903 task->thread.debug.dbcr1)) { user_disable_single_step()
905 * All debug events were off..... user_disable_single_step()
907 task->thread.debug.dbcr0 &= ~DBCR0_IDM; user_disable_single_step()
1026 task->thread.debug.dac1 = data & ~0x3UL; ptrace_set_debugreg()
1028 if (task->thread.debug.dac1 == 0) { ptrace_set_debugreg()
1030 if (!DBCR_ACTIVE_EVENTS(task->thread.debug.dbcr0, ptrace_set_debugreg()
1031 task->thread.debug.dbcr1)) { ptrace_set_debugreg()
1033 task->thread.debug.dbcr0 &= ~DBCR0_IDM; ptrace_set_debugreg()
1045 task->thread.debug.dbcr0 |= DBCR0_IDM; ptrace_set_debugreg()
1075 int slot1_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC1) != 0); set_instruction_bp()
1076 int slot2_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC2) != 0); set_instruction_bp()
1077 int slot3_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC3) != 0); set_instruction_bp()
1078 int slot4_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC4) != 0); set_instruction_bp()
1097 child->thread.debug.iac1 = bp_info->addr; set_instruction_bp()
1098 child->thread.debug.iac2 = bp_info->addr2; set_instruction_bp()
1099 child->thread.debug.dbcr0 |= DBCR0_IAC1; set_instruction_bp()
1108 child->thread.debug.iac3 = bp_info->addr; set_instruction_bp()
1109 child->thread.debug.iac4 = bp_info->addr2; set_instruction_bp()
1110 child->thread.debug.dbcr0 |= DBCR0_IAC3; set_instruction_bp()
1130 child->thread.debug.iac1 = bp_info->addr; set_instruction_bp()
1131 child->thread.debug.dbcr0 |= DBCR0_IAC1; set_instruction_bp()
1137 child->thread.debug.iac2 = bp_info->addr; set_instruction_bp()
1138 child->thread.debug.dbcr0 |= DBCR0_IAC2; set_instruction_bp()
1142 child->thread.debug.iac3 = bp_info->addr; set_instruction_bp()
1143 child->thread.debug.dbcr0 |= DBCR0_IAC3; set_instruction_bp()
1146 child->thread.debug.iac4 = bp_info->addr; set_instruction_bp()
1147 child->thread.debug.dbcr0 |= DBCR0_IAC4; set_instruction_bp()
1153 child->thread.debug.dbcr0 |= DBCR0_IDM; set_instruction_bp()
1163 if ((child->thread.debug.dbcr0 & DBCR0_IAC1) == 0) del_instruction_bp()
1168 child->thread.debug.iac2 = 0; del_instruction_bp()
1171 child->thread.debug.iac1 = 0; del_instruction_bp()
1172 child->thread.debug.dbcr0 &= ~DBCR0_IAC1; del_instruction_bp()
1175 if ((child->thread.debug.dbcr0 & DBCR0_IAC2) == 0) del_instruction_bp()
1181 child->thread.debug.iac2 = 0; del_instruction_bp()
1182 child->thread.debug.dbcr0 &= ~DBCR0_IAC2; del_instruction_bp()
1186 if ((child->thread.debug.dbcr0 & DBCR0_IAC3) == 0) del_instruction_bp()
1191 child->thread.debug.iac4 = 0; del_instruction_bp()
1194 child->thread.debug.iac3 = 0; del_instruction_bp()
1195 child->thread.debug.dbcr0 &= ~DBCR0_IAC3; del_instruction_bp()
1198 if ((child->thread.debug.dbcr0 & DBCR0_IAC4) == 0) del_instruction_bp()
1204 child->thread.debug.iac4 = 0; del_instruction_bp()
1205 child->thread.debug.dbcr0 &= ~DBCR0_IAC4; del_instruction_bp()
1235 child->thread.debug.dac1 = (unsigned long)bp_info->addr; set_dac()
1238 child->thread.debug.dvc1 = set_dac()
1240 child->thread.debug.dbcr2 |= set_dac()
1246 } else if (child->thread.debug.dbcr2 & DBCR2_DAC12MODE) { set_dac()
1256 child->thread.debug.dac2 = (unsigned long)bp_info->addr; set_dac()
1259 child->thread.debug.dvc2 = set_dac()
1261 child->thread.debug.dbcr2 |= set_dac()
1268 child->thread.debug.dbcr0 |= DBCR0_IDM; set_dac()
1280 child->thread.debug.dac1 = 0; del_dac()
1283 if (child->thread.debug.dbcr2 & DBCR2_DAC12MODE) { del_dac()
1284 child->thread.debug.dac2 = 0; del_dac()
1285 child->thread.debug.dbcr2 &= ~DBCR2_DAC12MODE; del_dac()
1287 child->thread.debug.dbcr2 &= ~(DBCR2_DVC1M | DBCR2_DVC1BE); del_dac()
1290 child->thread.debug.dvc1 = 0; del_dac()
1297 if (child->thread.debug.dbcr2 & DBCR2_DAC12MODE) del_dac()
1300 child->thread.debug.dbcr2 &= ~(DBCR2_DVC2M | DBCR2_DVC2BE); del_dac()
1303 child->thread.debug.dvc2 = 0; del_dac()
1305 child->thread.debug.dac2 = 0; del_dac()
1347 if (child->thread.debug.dbcr0 & set_dac_range()
1352 child->thread.debug.dbcr0 |= (DBCR0_DAC1R | DBCR0_IDM); set_dac_range()
1354 child->thread.debug.dbcr0 |= (DBCR0_DAC1W | DBCR0_IDM); set_dac_range()
1355 child->thread.debug.dac1 = bp_info->addr; set_dac_range()
1356 child->thread.debug.dac2 = bp_info->addr2; set_dac_range()
1358 child->thread.debug.dbcr2 |= DBCR2_DAC12M; set_dac_range()
1360 child->thread.debug.dbcr2 |= DBCR2_DAC12MX; set_dac_range()
1362 child->thread.debug.dbcr2 |= DBCR2_DAC12MM; set_dac_range()
1493 if (!DBCR_ACTIVE_EVENTS(child->thread.debug.dbcr0, ppc_del_hwdebug()
1494 child->thread.debug.dbcr1)) { ppc_del_hwdebug()
1495 child->thread.debug.dbcr0 &= ~DBCR0_IDM; ppc_del_hwdebug()
1673 ret = put_user(child->thread.debug.dac1, datalp); arch_ptrace()
H A Dudbg.c41 /* RTAS panel debug */ udbg_early_init()
44 /* RTAS console debug */ udbg_early_init()
47 /* Maple real mode debug */ udbg_early_init()
54 /* PPC44x debug */ udbg_early_init()
57 /* PPC40x debug */ udbg_early_init()
H A Dhead_booke.h77 * On e200 we have critical and debug (machine check occurs via critical)
85 * to allow for a common kernel with support for debug exceptions either
86 * going to critical or their own debug level we aren't currently
255 /* Check for a single step debug exception while in an exception
259 * the exception handler generates a single step debug exception.
261 * If we get a debug trap on the first instruction of an exception handler,
262 * we reset the MSR_DE in the _exception handler's_ MSR (the debug trap is
278 * off DE in the DSRR1 value and clearing the debug status. \
294 /* here it looks like we got an inappropriate debug exception. */ \
308 BOOKE_LOAD_EXC_LEVEL_STACK(DBG); /* r8 points to the debug stack */ \
316 /* continue normal handling for a debug exception... */ \
331 * off DE in the CSRR1 value and clearing the debug status. \
347 /* here it looks like we got an inappropriate debug exception. */ \
361 BOOKE_LOAD_EXC_LEVEL_STACK(CRIT); /* r8 points to the debug stack */ \
/linux-4.1.27/tools/perf/
H A Dperf-with-kcore.sh121 find "$USER_HOME/.debug" -xdev -type d ! -user "$SUDO_USER" -ls -exec chown "$SUDO_USER" \{\} \;
122 find "$USER_HOME/.debug" -xdev -type f -links 1 ! -user "$SUDO_USER" -ls -exec chown "$SUDO_USER" \{\} \;
123 find "$USER_HOME/.debug" -xdev -type l ! -user "$SUDO_USER" -ls -exec chown -h "$SUDO_USER" \{\} \;
126 find "$USER_HOME/.debug" -xdev -type d ! -group "$SUDO_GID" -ls -exec chgrp "$SUDO_GID" \{\} \;
127 find "$USER_HOME/.debug" -xdev -type f -links 1 ! -group "$SUDO_GID" -ls -exec chgrp "$SUDO_GID" \{\} \;
128 find "$USER_HOME/.debug" -xdev -type l ! -group "$SUDO_GID" -ls -exec chgrp -h "$SUDO_GID" \{\} \;
140 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type d ! -user "$USER" -print -quit)
141 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type f -links 1 ! -user "$USER" -print -quit)
142 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type l ! -user "$USER" -print -quit)
144 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type d ! -group "$GROUPS" -print -quit)
145 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type f -links 1 ! -group "$GROUPS" -print -quit)
146 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type l ! -group "$GROUPS" -print -quit)
176 elif [ ! -r /sys/kernel/debug -o ! -x /sys/kernel/debug ] ; then
177 echo "*** WARNING *** /sys/kernel/debug permissions prevent tracepoint (sched_switch) use" >&2
/linux-4.1.27/drivers/isdn/mISDN/
H A Dfsm.c73 if (fi->debug) mISDN_FsmEvent()
80 if (fi->debug) mISDN_FsmEvent()
93 if (fi->debug) mISDN_FsmChangeState()
103 if (ft->fi->debug) FsmExpireTimer()
116 if (ft->fi->debug) mISDN_FsmInitTimer()
127 if (ft->fi->debug) mISDN_FsmDelTimer()
141 if (ft->fi->debug) mISDN_FsmAddTimer()
147 if (ft->fi->debug) { mISDN_FsmAddTimer()
170 if (ft->fi->debug) mISDN_FsmRestartTimer()
H A Dcore.c23 static u_int debug; variable
27 module_param(debug, uint, S_IRUGO | S_IWUSR);
242 if (debug & DEBUG_CORE) mISDN_register_device()
270 if (debug & DEBUG_CORE) mISDN_unregister_device()
331 if (debug & DEBUG_CORE) mISDN_register_Bprotocol()
353 if (debug & DEBUG_CORE) mISDN_unregister_Bprotocol()
385 mISDN_init_clock(&debug); mISDNInit()
386 mISDN_initstack(&debug); mISDNInit()
390 err = mISDN_inittimer(&debug); mISDNInit()
393 err = l1_init(&debug); mISDNInit()
396 err = Isdnl2_Init(&debug); mISDNInit()
399 err = misdn_sock_init(&debug); mISDNInit()
H A Dtimerdev.c31 static u_int *debug; variable
55 if (*debug & DEBUG_TIMER) mISDN_open()
77 if (*debug & DEBUG_TIMER) mISDN_close()
107 if (*debug & DEBUG_TIMER) mISDN_read()
148 if (*debug & DEBUG_TIMER) mISDN_poll()
155 if (*debug & DEBUG_TIMER) mISDN_poll()
230 if (*debug & DEBUG_TIMER) mISDN_ioctl()
241 if (*debug & DEBUG_TIMER) mISDN_ioctl()
256 if (*debug & DEBUG_TIMER) mISDN_ioctl()
290 debug = deb; mISDN_inittimer()
H A Dl1oip_core.c78 * debug:
79 NOTE: only one debug value must be given for all cards
80 enable debugging (see l1oip.h for debug options)
256 static int debug; variable
270 module_param(debug, uint, S_IRUGO | S_IWUSR);
283 if (debug & DEBUG_L1OIP_MSG) l1oip_socket_send()
295 if (debug & DEBUG_L1OIP_MSG) l1oip_socket_send()
300 if (debug & DEBUG_L1OIP_MSG) l1oip_socket_send()
345 if (debug & DEBUG_L1OIP_MSG) l1oip_socket_send()
372 if (debug & DEBUG_L1OIP_MSG) l1oip_socket_recv()
378 if (debug & DEBUG_L1OIP_MSG) l1oip_socket_recv()
472 if (debug & DEBUG_L1OIP_MSG) l1oip_socket_parse()
604 if (debug & (DEBUG_L1OIP_MSG | DEBUG_L1OIP_SOCKET)) l1oip_socket_parse()
631 if (debug & DEBUG_L1OIP_SOCKET) l1oip_socket_parse()
722 if (debug & DEBUG_L1OIP_SOCKET) l1oip_socket_thread()
735 if (debug & DEBUG_L1OIP_SOCKET) l1oip_socket_thread()
752 if (debug & DEBUG_L1OIP_SOCKET) l1oip_socket_thread()
768 if (debug & DEBUG_L1OIP_SOCKET) l1oip_socket_thread()
781 if (debug & DEBUG_L1OIP_SOCKET) l1oip_socket_close()
790 if (debug & (DEBUG_L1OIP_MSG | DEBUG_L1OIP_SOCKET)) l1oip_socket_close()
818 if (debug & DEBUG_L1OIP_SOCKET) l1oip_socket_open()
830 if (debug & (DEBUG_L1OIP_MSG | DEBUG_L1OIP_SOCKET)) l1oip_send_bh()
856 if (debug & DEBUG_L1OIP_MSG) l1oip_timeout()
864 if (debug & (DEBUG_L1OIP_MSG | DEBUG_L1OIP_SOCKET)) l1oip_timeout()
874 if (debug & DEBUG_L1OIP_MSG) l1oip_timeout()
922 if (debug & (DEBUG_L1OIP_MSG | DEBUG_L1OIP_SOCKET)) handle_dmsg()
932 if (debug & (DEBUG_L1OIP_MSG | DEBUG_L1OIP_SOCKET)) handle_dmsg()
965 if (debug & DEBUG_L1OIP_SOCKET) channel_dctrl()
971 if (debug & DEBUG_L1OIP_SOCKET) channel_dctrl()
978 if (debug & DEBUG_L1OIP_SOCKET) channel_dctrl()
996 if (debug & DEBUG_HW_OPEN) open_dchannel()
1003 if (debug & DEBUG_HW_OPEN) open_dchannel()
1055 if (dch->debug & DEBUG_HW) l1oip_dctrl()
1083 if (debug & DEBUG_HW_OPEN) l1oip_dctrl()
1093 if (dch->debug & DEBUG_HW) l1oip_dctrl()
1126 if (debug & DEBUG_L1OIP_MSG) handle_bmsg()
1137 if (debug & DEBUG_L1OIP_MSG) handle_bmsg()
1161 if (debug & (DEBUG_L1OIP_MSG | DEBUG_L1OIP_SOCKET)) handle_bmsg()
1170 if (debug & (DEBUG_L1OIP_MSG | DEBUG_L1OIP_SOCKET)) handle_bmsg()
1196 if (debug & DEBUG_L1OIP_MSG) channel_bctrl()
1218 if (bch->debug & DEBUG_HW) l1oip_bctrl()
1330 if (debug & DEBUG_L1OIP_INIT) init_card()
1340 if (debug & DEBUG_L1OIP_INIT) init_card()
1378 if (debug & DEBUG_L1OIP_INIT) init_card()
1389 dch->debug = debug; init_card()
1415 bch->debug = debug; init_card()
1431 if (debug & DEBUG_L1OIP_INIT) init_card()
1494 if (debug & DEBUG_L1OIP_INIT) l1oip_init()
H A Dtei.c37 static u_int *debug; variable
85 if (!(*debug & DEBUG_L2_TEIFSM)) da_debug()
234 if (!(*debug & DEBUG_L2_TEIFSM)) tei_debug()
476 if (*debug & DEBUG_L2_TEI) tei_id_request()
497 if (*debug & DEBUG_L2_TEI) tei_id_assign()
526 if (*debug & DEBUG_L2_TEI) tei_id_test_dup()
550 if (*debug & DEBUG_L2_TEI) tei_id_denied()
563 if (*debug & DEBUG_L2_TEI) tei_id_chk_req()
581 if (*debug & DEBUG_L2_TEI) tei_id_remove()
596 if (*debug & DEBUG_L2_TEI) tei_id_verify()
612 if (*debug & DEBUG_L2_TEI) tei_id_req_tout()
630 if (*debug & DEBUG_L2_TEI) tei_id_ver_tout()
681 if (*debug & DEBUG_L2_TEI) tei_assign_req()
693 if (*debug & DEBUG_L2_TEI) tei_id_chk_req_net()
711 if (*debug & DEBUG_L2_TEI) tei_id_chk_resp()
725 if (*debug & DEBUG_L2_TEI) tei_id_verify_net()
738 if (*debug & DEBUG_L2_TEI) tei_id_ver_tout_net()
746 if (*debug & DEBUG_L2_TEI) tei_id_ver_tout_net()
774 if (*debug & DEBUG_L2_TEI) tei_ph_data_ind()
823 l2->tm->tei_m.debug = *debug & DEBUG_L2_TEIFSM; create_new_tei()
894 if (*debug & DEBUG_L2_TEI) ph_data_ind()
949 if (*debug & DEBUG_L2_TEI) l2_tei()
1000 if (*debug & DEBUG_L2_TEI) create_teimgr()
1066 l2->tm->tei_m.debug = *debug & DEBUG_L2_TEIFSM; create_teimgr()
1112 if (*debug & DEBUG_L2_RECV) mgr_send()
1213 if (*debug & DEBUG_L2_CTRL) check_data()
1233 if (*debug & DEBUG_L2_CTRL) check_data()
1238 if (*debug & DEBUG_L2_CTRL) check_data()
1274 if (*debug & DEBUG_L2_CTRL) mgr_ctrl()
1324 if (*debug & DEBUG_SEND_ERR) mgr_bcast()
1378 mgr->deact.debug = *debug & DEBUG_MANAGER; create_teimanager()
1390 debug = deb; TEIInit()
H A Dclock.c44 static u_int *debug; variable
55 debug = dp; mISDN_init_clock()
75 if (*debug & DEBUG_CLOCK) select_iclock()
82 if (*debug & DEBUG_CLOCK) select_iclock()
100 if (*debug & (DEBUG_CORE | DEBUG_CLOCK)) mISDN_register_clock()
124 if (*debug & (DEBUG_CORE | DEBUG_CLOCK)) mISDN_unregister_clock()
129 if (*debug & DEBUG_CLOCK) mISDN_unregister_clock()
186 if (*debug & DEBUG_CLOCK) mISDN_clock_update()
/linux-4.1.27/tools/perf/tests/
H A Dattr.py68 log.debug(" %s = %s" % (key, val))
72 log.debug(" Event %s" % name);
94 log.debug(" [%s] %s %s" % (t, self[t], other[t]));
139 log.debug(" loading expected events");
183 log.debug(" compare");
189 log.debug(" matching [%s]" % exp_name)
191 log.debug(" to [%s]" % res_name)
194 log.debug(" ->OK")
196 log.debug(" ->FAIL");
198 log.debug(" match: [%s] matches %s" % (exp_name, str(exp_list)))
220 log.debug(" group: [%s] matches group leader %s" %
223 log.debug(" matched")
234 log.debug('[%s] has group leader [%s]' % (name, iname))
245 log.debug(" loading result events");
H A Dopen-syscall.c3 #include "debug.h"
24 pr_debug("is debugfs mounted on /sys/kernel/debug?\n"); test__open_syscall_event()
/linux-4.1.27/drivers/media/i2c/
H A Dtea6420.c42 static int debug; variable
43 module_param(debug, int, 0644);
45 MODULE_PARM_DESC(debug, "Debug level (0-1)");
59 v4l2_dbg(1, debug, sd, "i=%d, o=%d, g=%d\n", i, o, g); tea6420_s_routing()
85 v4l2_dbg(1, debug, sd, tea6420_s_routing()
125 v4l_dbg(1, debug, client, "could not initialize tea6420\n"); tea6420_probe()
H A Dtda9840.c39 static int debug; variable
40 module_param(debug, int, 0644);
42 MODULE_PARM_DESC(debug, "Debug level (0-1)");
64 v4l2_dbg(1, debug, sd, "error writing %02x to %02x\n", tda9840_write()
74 v4l2_dbg(1, debug, sd, tda9840_status()
80 v4l2_dbg(1, debug, sd, tda9840_status()
85 v4l2_dbg(1, debug, sd, "TDA9840_DETECT: byte: 0x%02x\n", byte); tda9840_status()
116 v4l2_dbg(1, debug, sd, "TDA9840_SWITCH: 0x%02x\n", byte); tda9840_s_tuner()
H A Dtea6415c.c42 static int debug; variable
43 module_param(debug, int, 0644);
45 MODULE_PARM_DESC(debug, "Debug level (0-1)");
56 v4l2_dbg(1, debug, sd, "i=%d, o=%d\n", i, o); tea6415c_s_routing()
114 v4l2_dbg(1, debug, sd, tea6415c_s_routing()
H A Dsaa7110.c45 static int debug; variable
46 module_param(debug, int, 0);
47 MODULE_PARM_DESC(debug, "Debug level (0-1)");
204 v4l2_dbg(1, debug, sd, "status=0x%02x (no signal)\n", status); determine_norm()
210 v4l2_dbg(1, debug, sd, "status=0x%02x (NTSC/no color)\n", status); determine_norm()
214 v4l2_dbg(1, debug, sd, "status=0x%02x (PAL/no color)\n", status); determine_norm()
220 v4l2_dbg(1, debug, sd, "status=0x%02x (NTSC)\n", status); determine_norm()
240 v4l2_dbg(1, debug, sd, "status=0x%02x (SECAM)\n", status); determine_norm()
244 v4l2_dbg(1, debug, sd, "status=0x%02x (PAL)\n", status); determine_norm()
254 v4l2_dbg(1, debug, sd, "status=0x%02x norm=%llx\n", saa7110_g_input_status()
283 v4l2_dbg(1, debug, sd, "switched to NTSC\n"); saa7110_s_std()
289 v4l2_dbg(1, debug, sd, "switched to PAL\n"); saa7110_s_std()
295 v4l2_dbg(1, debug, sd, "switched to SECAM\n"); saa7110_s_std()
309 v4l2_dbg(1, debug, sd, "input=%d not available\n", input); saa7110_s_routing()
314 v4l2_dbg(1, debug, sd, "switched to input=%d\n", input); saa7110_s_routing()
326 v4l2_dbg(1, debug, sd, "YUV %s\n", enable ? "on" : "off"); saa7110_s_stream()
430 v4l2_dbg(1, debug, sd, "init status %d\n", rv); saa7110_probe()
440 v4l2_dbg(1, debug, sd, "version %x, status=0x%02x\n", saa7110_probe()
H A Dbt856.c44 static int debug; variable
45 module_param(debug, int, 0);
46 MODULE_PARM_DESC(debug, "Debug level (0-1)");
100 v4l2_dbg(1, debug, sd, "init\n"); bt856_init()
117 if (debug != 0) bt856_init()
126 v4l2_dbg(1, debug, sd, "set norm %llx\n", (unsigned long long)std); bt856_s_std_output()
138 if (debug != 0) bt856_s_std_output()
148 v4l2_dbg(1, debug, sd, "set input %d\n", input); bt856_s_routing()
174 if (debug != 0) bt856_s_routing()
234 if (debug != 0) bt856_probe()
H A Dsaa6588.c39 static unsigned int debug; variable
45 module_param(debug, int, 0644);
46 MODULE_PARM_DESC(debug, "enable debug messages");
65 #define dprintk if (debug) printk
158 if (debug > 2) block_from_buf()
163 if (debug > 2) { block_from_buf()
176 if (debug > 2) block_from_buf()
236 if (debug > 3) block_to_buf()
240 if (debug > 3) block_to_buf()
256 if (debug > 3) block_to_buf()
271 if (debug > 1) saa6588_i2c_poll()
281 if (debug > 3) saa6588_i2c_poll()
H A Dad9389b.c40 static int debug; variable
41 module_param(debug, int, 0644);
42 MODULE_PARM_DESC(debug, "debug level (0-2)");
158 v4l2_dbg(1, debug, sd, "%s:\n", __func__); ad9389b_edid_rd()
318 v4l2_dbg(1, debug, sd, ad9389b_s_ctrl()
453 v4l2_dbg(1, debug, sd, "%s: power %s\n", __func__, on ? "on" : "off"); ad9389b_s_power()
474 v4l2_dbg(1, debug, sd, "failed to powerup the ad9389b\n"); ad9389b_s_power()
479 v4l2_dbg(1, debug, sd, ad9389b_s_power()
553 v4l2_dbg(1, debug, sd, "%s: irq_status 0x%x\n", __func__, irq_status); ad9389b_isr()
579 v4l2_dbg(1, debug, sd, "%s: %sable\n", __func__, (enable ? "en" : "dis")); ad9389b_s_stream()
606 v4l2_dbg(1, debug, sd, "%s:\n", __func__); ad9389b_s_dv_timings()
639 v4l2_dbg(1, debug, sd, "%s:\n", __func__); ad9389b_g_dv_timings()
686 v4l2_dbg(1, debug, sd, "EDID segment 0 not found\n"); ad9389b_get_edid()
708 v4l2_dbg(1, debug, sd, "%s: %sable\n", __func__, (enable ? "en" : "dis")); ad9389b_s_audio_stream()
798 static void ad9389b_dbg_dump_edid(int lvl, int debug, struct v4l2_subdev *sd, ad9389b_dbg_dump_edid() argument
803 if (debug < lvl) ad9389b_dbg_dump_edid()
806 v4l2_dbg(lvl, debug, sd, "edid segment %d\n", segment); ad9389b_dbg_dump_edid()
812 v4l2_dbg(lvl, debug, sd, "\n"); ad9389b_dbg_dump_edid()
818 v4l2_dbg(lvl, debug, sd, "%s\n", b); ad9389b_dbg_dump_edid()
830 v4l2_dbg(1, debug, sd, "%s:\n", __func__); ad9389b_edid_handler()
843 v4l2_dbg(1, debug, sd, "%s: edid read failed\n", __func__); ad9389b_edid_handler()
856 v4l2_dbg(1, debug, sd, "%s: no edid found\n", __func__); ad9389b_edid_handler()
861 v4l2_dbg(1, debug, sd, "%s\n", __func__); ad9389b_audio_setup()
875 v4l2_dbg(1, debug, sd, "%s\n", __func__); ad9389b_setup()
919 v4l2_dbg(1, debug, sd, "%s: status: 0x%x%s%s\n", ad9389b_update_monitor_present_status()
926 v4l2_dbg(1, debug, sd, "%s: hotplug detected\n", __func__); ad9389b_update_monitor_present_status()
929 v4l2_dbg(1, debug, sd, ad9389b_update_monitor_present_status()
939 v4l2_dbg(1, debug, sd, "%s: hotplug not detected\n", __func__); ad9389b_update_monitor_present_status()
972 v4l2_dbg(1, debug, sd, "%s: reset and re-check status (%d)\n", __func__, retry); ad9389b_check_monitor_present_status()
1031 v4l2_dbg(1, debug, sd, "%s: edid ready (retries: %d)\n", ad9389b_check_edid_status()
1042 v4l2_dbg(1, debug, sd, "%s: got segment %d\n", __func__, segment); ad9389b_check_edid_status()
1044 ad9389b_dbg_dump_edid(2, debug, sd, segment, ad9389b_check_edid_status()
1048 v4l2_dbg(1, debug, sd, "%s: %d blocks in total\n", ad9389b_check_edid_status()
1063 v4l2_dbg(1, debug, sd, "%s: request segment %d\n", ad9389b_check_edid_status()
1089 v4l2_dbg(1, debug, sd, "%s\n", __func__); ad9389b_init_setup()
1112 v4l_dbg(1, debug, client, "detecting ad9389b client on address 0x%x\n", ad9389b_probe()
1171 v4l2_dbg(1, debug, sd, "reg 0x41 0x%x, chip version (reg 0x00) 0x%x\n", ad9389b_probe()
1216 v4l2_dbg(1, debug, sd, "%s removed @ 0x%x (%s)\n", client->name, ad9389b_remove()
H A Dadv7170.c45 static int debug; variable
46 module_param(debug, int, 0);
47 MODULE_PARM_DESC(debug, "Debug level (0-1)");
201 v4l2_dbg(1, debug, sd, "set norm %llx\n", (unsigned long long)std); adv7170_s_std_output()
216 v4l2_dbg(1, debug, sd, "illegal norm: %llx\n", adv7170_s_std_output()
220 v4l2_dbg(1, debug, sd, "switched to %llx\n", (unsigned long long)std); adv7170_s_std_output()
234 v4l2_dbg(1, debug, sd, "set input from %s\n", adv7170_s_routing()
257 v4l2_dbg(1, debug, sd, "illegal input: %d\n", input); adv7170_s_routing()
260 v4l2_dbg(1, debug, sd, "switched to %s\n", inputs[input]); adv7170_s_routing()
309 v4l2_dbg(1, debug, sd, adv7170_s_fmt()
362 v4l2_dbg(1, debug, sd, "revision %d\n", i & 1); adv7170_probe()
365 v4l2_dbg(1, debug, sd, "init error 0x%x\n", i); adv7170_probe()
H A Dvpx3220.c36 static int debug; variable
37 module_param(debug, int, 0);
38 MODULE_PARM_DESC(debug, "Debug level (0-1)");
111 v4l2_dbg(1, debug, sd, "%s: failed\n", __func__); vpx3220_fp_write()
120 v4l2_dbg(1, debug, sd, "%s: failed\n", __func__); vpx3220_fp_write()
134 v4l2_dbg(1, debug, sd, "%s: failed\n", __func__); vpx3220_fp_read()
144 v4l2_dbg(1, debug, sd, "%s: failed\n", __func__); vpx3220_fp_read()
302 v4l2_dbg(1, debug, sd, "status: 0x%04x\n", status); vpx3220_status()
340 v4l2_dbg(1, debug, sd, "querystd\n"); vpx3220_querystd()
346 v4l2_dbg(1, debug, sd, "g_input_status\n"); vpx3220_g_input_status()
360 v4l2_dbg(1, debug, sd, "s_std %llx\n", (unsigned long long)std); vpx3220_s_std()
363 v4l2_dbg(1, debug, sd, "norm switched to NTSC\n"); vpx3220_s_std()
366 v4l2_dbg(1, debug, sd, "norm switched to PAL\n"); vpx3220_s_std()
369 v4l2_dbg(1, debug, sd, "norm switched to SECAM\n"); vpx3220_s_std()
400 v4l2_dbg(1, debug, sd, "input switched to %s\n", inputs[input]); vpx3220_s_routing()
417 v4l2_dbg(1, debug, sd, "s_stream %s\n", enable ? "on" : "off"); vpx3220_s_stream()
H A Dks0127.c211 static int debug; /* insmod parameter */ variable
213 module_param(debug, int, 0);
214 MODULE_PARM_DESC(debug, "Debug output");
336 v4l2_dbg(1, debug, sd, "read error\n"); ks0127_read()
349 v4l2_dbg(1, debug, sd, "write error\n"); ks0127_write()
375 v4l2_dbg(1, debug, sd, "reset\n"); ks0127_init()
395 v4l2_dbg(1, debug, sd, "ks0122s found\n"); ks0127_init()
401 v4l2_dbg(1, debug, sd, "ks0127 found\n"); ks0127_init()
405 v4l2_dbg(1, debug, sd, "ks0127B Revision A found\n"); ks0127_init()
409 v4l2_dbg(1, debug, sd, "unknown revision\n"); ks0127_init()
426 v4l2_dbg(1, debug, sd, ks0127_s_routing()
460 v4l2_dbg(1, debug, sd, ks0127_s_routing()
492 v4l2_dbg(1, debug, sd, "s_routing 15: YUV656\n"); ks0127_s_routing()
536 v4l2_dbg(1, debug, sd, ks0127_s_routing()
556 v4l2_dbg(1, debug, sd, ks0127_s_std()
560 v4l2_dbg(1, debug, sd, ks0127_s_std()
564 v4l2_dbg(1, debug, sd, ks0127_s_std()
568 v4l2_dbg(1, debug, sd, ks0127_s_std()
572 v4l2_dbg(1, debug, sd, ks0127_s_std()
585 v4l2_dbg(1, debug, sd, "s_std: Unknown norm %llx\n", ks0127_s_std()
593 v4l2_dbg(1, debug, sd, "s_stream(%d)\n", enable); ks0127_s_stream()
639 v4l2_dbg(1, debug, sd, "querystd\n"); ks0127_querystd()
645 v4l2_dbg(1, debug, sd, "g_input_status\n"); ks0127_g_input_status()
H A Dsaa7127.c59 static int debug; variable
65 module_param(debug, int, 0644);
67 MODULE_PARM_DESC(debug, "debug level (0-2)");
359 v4l2_dbg(1, debug, sd, "Turn VPS Signal %s\n", enable ? "on" : "off"); saa7127_set_vps()
371 v4l2_dbg(1, debug, sd, "Set VPS data %*ph\n", 5, state->vps_data); saa7127_set_vps()
391 v4l2_dbg(1, debug, sd, saa7127_set_cc()
400 v4l2_dbg(2, debug, sd, "CC data: %04x\n", cc); saa7127_set_cc()
418 v4l2_dbg(1, debug, sd, "Turn XDS %s\n", enable ? "on" : "off"); saa7127_set_xds()
426 v4l2_dbg(2, debug, sd, "XDS data: %04x\n", xds); saa7127_set_xds()
443 v4l2_dbg(1, debug, sd, "Turn WSS %s\n", enable ? "on" : "off"); saa7127_set_wss()
452 v4l2_dbg(1, debug, sd, saa7127_set_wss()
465 v4l2_dbg(1, debug, sd, "Enable Video Output\n"); saa7127_set_video_enable()
469 v4l2_dbg(1, debug, sd, "Disable Video Output\n"); saa7127_set_video_enable()
485 v4l2_dbg(1, debug, sd, "Selecting 60 Hz video Standard\n"); saa7127_set_std()
494 v4l2_dbg(1, debug, sd, saa7127_set_std()
500 v4l2_dbg(1, debug, sd, "Selecting 50 Hz PAL video Standard\n"); saa7127_set_std()
560 v4l2_dbg(1, debug, sd, saa7127_set_output_type()
578 v4l2_dbg(1, debug, sd, "Selecting Normal Encoder Input\n"); saa7127_set_input_type()
583 v4l2_dbg(1, debug, sd, "Selecting Color Bar generator\n"); saa7127_set_input_type()
735 v4l_dbg(1, debug, client, "detecting saa7127 client on address 0x%x\n", saa7127_probe()
752 v4l2_dbg(1, debug, sd, "saa7127 not found\n"); saa7127_probe()
778 v4l2_dbg(1, debug, sd, "Configuring encoder\n"); saa7127_probe()
H A Dadv7511.c37 static int debug; variable
38 module_param(debug, int, 0644);
39 MODULE_PARM_DESC(debug, "debug level (0-2)");
231 v4l2_dbg(1, debug, sd, "%s:\n", __func__); adv7511_edid_rd()
362 v4l2_dbg(1, debug, sd, "%s: ctrl id: %d, ctrl->val %d\n", __func__, ctrl->id, ctrl->val); adv7511_s_ctrl()
500 v4l2_dbg(1, debug, sd, "%s: power %s\n", __func__, on ? "on" : "off"); adv7511_s_power()
521 v4l2_dbg(1, debug, sd, "%s: failed to powerup the adv7511!\n", __func__); adv7511_s_power()
526 v4l2_dbg(1, debug, sd, "%s: needed %d retries to powerup the adv7511\n", __func__, i); adv7511_s_power()
552 v4l2_dbg(2, debug, sd, "%s: %s\n", __func__, enable ? "enable" : "disable"); adv7511_set_isr()
590 v4l2_dbg(1, debug, sd, "%s: irq 0x%x\n", __func__, irq_status); adv7511_isr()
622 v4l2_dbg(1, debug, sd, "%s: %sable\n", __func__, (enable ? "en" : "dis")); adv7511_s_stream()
638 v4l2_dbg(1, debug, sd, "%s:\n", __func__); adv7511_s_dv_timings()
667 v4l2_dbg(1, debug, sd, "%s:\n", __func__); adv7511_g_dv_timings()
705 v4l2_dbg(1, debug, sd, "%s: %sable\n", __func__, (enable ? "en" : "dis")); adv7511_s_audio_stream()
1031 static void adv7511_dbg_dump_edid(int lvl, int debug, struct v4l2_subdev *sd, int segment, uint8_t *buf) adv7511_dbg_dump_edid() argument
1033 if (debug >= lvl) { adv7511_dbg_dump_edid()
1035 v4l2_dbg(lvl, debug, sd, "edid segment %d\n", segment); adv7511_dbg_dump_edid()
1040 v4l2_dbg(lvl, debug, sd, "\n"); adv7511_dbg_dump_edid()
1046 v4l2_dbg(lvl, debug, sd, "%s\n", b); adv7511_dbg_dump_edid()
1069 v4l2_dbg(1, debug, sd, "%s:\n", __func__); adv7511_edid_handler()
1082 v4l2_dbg(1, debug, sd, "%s: edid read failed\n", __func__); adv7511_edid_handler()
1093 v4l2_dbg(1, debug, sd, "%s: no edid found\n", __func__); adv7511_edid_handler()
1098 v4l2_dbg(1, debug, sd, "%s\n", __func__); adv7511_audio_setup()
1109 v4l2_dbg(1, debug, sd, "%s\n", __func__); adv7511_setup()
1154 v4l2_dbg(1, debug, sd, "%s: status: 0x%x%s%s\n", adv7511_check_monitor_present_status()
1165 v4l2_dbg(1, debug, sd, "%s: hotplug and (rx-sense or edid)\n", __func__); adv7511_check_monitor_present_status()
1167 v4l2_dbg(1, debug, sd, "%s: monitor detected\n", __func__); adv7511_check_monitor_present_status()
1171 v4l2_dbg(1, debug, sd, "%s: monitor detected, powerup failed\n", __func__); adv7511_check_monitor_present_status()
1180 v4l2_dbg(1, debug, sd, "%s: hotplug detected\n", __func__); adv7511_check_monitor_present_status()
1184 v4l2_dbg(1, debug, sd, "%s: hotplug not detected\n", __func__); adv7511_check_monitor_present_status()
1186 v4l2_dbg(1, debug, sd, "%s: monitor not detected\n", __func__); adv7511_check_monitor_present_status()
1237 v4l2_dbg(1, debug, sd, "%s: edid ready (retries: %d)\n", adv7511_check_edid_status()
1251 v4l2_dbg(1, debug, sd, "%s: got segment %d\n", __func__, segment); adv7511_check_edid_status()
1253 adv7511_dbg_dump_edid(2, debug, sd, segment, &state->edid.data[segment * 256]); adv7511_check_edid_status()
1256 v4l2_dbg(1, debug, sd, "%s: %d blocks in total\n", __func__, state->edid.blocks); adv7511_check_edid_status()
1272 v4l2_dbg(1, debug, sd, "%s: request segment %d\n", __func__, state->edid.segments); adv7511_check_edid_status()
1280 v4l2_dbg(1, debug, sd, "%s: edid complete with %d segment(s)\n", __func__, state->edid.segments); adv7511_check_edid_status()
1303 v4l2_dbg(1, debug, sd, "%s\n", __func__); adv7511_init_setup()
1348 v4l2_dbg(1, debug, sd, "detecting adv7511 client on address 0x%x\n", adv7511_probe()
1441 v4l2_dbg(1, debug, sd, "%s removed @ 0x%x (%s)\n", client->name, adv7511_remove()
H A Dadv7175.c44 static int debug; variable
45 module_param(debug, int, 0);
46 MODULE_PARM_DESC(debug, "Debug level (0-1)");
234 v4l2_dbg(1, debug, sd, "illegal norm: %llx\n", adv7175_s_std_output()
238 v4l2_dbg(1, debug, sd, "switched to %llx\n", (unsigned long long)std); adv7175_s_std_output()
295 v4l2_dbg(1, debug, sd, "illegal input: %d\n", input); adv7175_s_routing()
298 v4l2_dbg(1, debug, sd, "switched to %s\n", inputs[input]); adv7175_s_routing()
347 v4l2_dbg(1, debug, sd, adv7175_s_fmt()
416 v4l2_dbg(1, debug, sd, "revision %d\n", i & 1); adv7175_probe()
419 v4l2_dbg(1, debug, sd, "init error 0x%x\n", i); adv7175_probe()
H A Dmt9v011.c22 static int debug; variable
23 module_param(debug, int, 0);
24 MODULE_PARM_DESC(debug, "Debug level (0-2)");
76 v4l2_dbg(0, debug, sd, mt9v011_read()
83 v4l2_dbg(0, debug, sd, mt9v011_read()
88 v4l2_dbg(2, debug, sd, "mt9v011: read 0x%02x = 0x%04x\n", addr, val); mt9v011_read()
104 v4l2_dbg(2, debug, sd, mt9v011_write()
108 v4l2_dbg(0, debug, sd, mt9v011_write()
220 v4l2_dbg(1, debug, sd, "Programmed to %u.%03u fps (%d pixel clcks)\n", calc_fps()
380 v4l2_dbg(1, debug, sd, "Setting speed to %d\n", speed); mt9v011_s_parm()
550 v4l2_dbg(1, debug, sd, "xtal set to %d.%03d MHz\n", mt9v011_probe()
565 v4l2_dbg(1, debug, sd, mt9v011_remove()
H A Dsaa717x.c47 static int debug; variable
48 module_param(debug, int, 0644);
49 MODULE_PARM_DESC(debug, "Debug level (0-1)");
121 v4l2_dbg(2, debug, sd, "wrote: reg 0x%03x=%08x\n", reg, value); saa717x_write()
159 v4l2_dbg(2, debug, sd, "read: reg 0x%03x=0x%08x\n", reg, value); saa717x_read()
734 v4l2_dbg(1, debug, sd, "tvaudio thread status: 0x%x [%s%s%s]\n", get_inf_dev_status()
738 v4l2_dbg(1, debug, sd, "detailed status: " get_inf_dev_status()
759 v4l2_dbg(1, debug, sd, "ST!!!\n"); get_inf_dev_status()
764 v4l2_dbg(1, debug, sd, "DUAL!!!\n"); get_inf_dev_status()
772 v4l2_dbg(1, debug, sd, "writing registers to set audio mode by set %d\n", set_audio_mode()
789 v4l2_dbg(1, debug, sd, "set audio input %d\n", set_audio_regs()
932 v4l2_dbg(1, debug, sd, "decoder set input (%d)\n", input); saa717x_s_video_routing()
942 v4l2_dbg(1, debug, sd, "now setting %s input %d\n", saa717x_s_video_routing()
999 v4l2_dbg(1, debug, sd, "decoder set size\n"); saa717x_s_mbus_fmt()
1069 v4l2_dbg(1, debug, sd, "decoder set norm "); saa717x_s_std()
1070 v4l2_dbg(1, debug, sd, "(not yet implementd)\n"); saa717x_s_std()
1084 v4l2_dbg(1, debug, sd, saa717x_s_audio_routing()
1097 v4l2_dbg(1, debug, sd, "decoder %s output\n", saa717x_s_stream()
1130 v4l2_dbg(1, debug, sd, "change audio mode to %s\n", saa717x_s_tuner()
1148 v4l2_dbg(1, debug, sd, "DETECT==st:%d dual:%d\n", saa717x_g_tuner()
1154 v4l2_dbg(1, debug, sd, "DETECT==MONO\n"); saa717x_g_tuner()
1162 v4l2_dbg(1, debug, sd, "DETECT==ST(ST)\n"); saa717x_g_tuner()
1165 v4l2_dbg(1, debug, sd, "DETECT==ST(MONO)\n"); saa717x_g_tuner()
1173 v4l2_dbg(1, debug, sd, "DETECT==DUAL1\n"); saa717x_g_tuner()
1176 v4l2_dbg(1, debug, sd, "DETECT==DUAL2\n"); saa717x_g_tuner()
1267 v4l2_dbg(1, debug, sd, "saa717x not found (id=%02x)\n", id); saa717x_probe()
1325 v4l2_dbg(1, debug, sd, "writing init values\n"); saa717x_probe()
/linux-4.1.27/drivers/scsi/
H A Deata_pio.h27 #define DEBUG_EATA 1 /* Enable debug code. */
29 #define DBG_DELAY 0 /* Build in delays so debug messages can be
H A Dscript_asm.pl52 $debug = 0; # Print general debugging messages
165 print STDERR "value regex = $value\n" if ($debug);
168 print STDERR "phase regex = $phase\n" if ($debug);
220 if ($debug) {
231 printf STDERR "New code : %08x\n", $code[$address] if ($debug);
253 print STDERR "Relative reference $symbol\n" if ($debug);
258 print STDERR "Absolute reference $symbol\n" if ($debug);
262 print STDERR "Referencing symbol $1, length = $length in $_\n" if ($debug);
292 print STDERR "$0 : parsed WHEN\n" if ($debug);
295 print STDERR "$0 : parsed IF\n" if ($debug);
307 print STDERR "$0 : parsed NOT\n" if ($debug);
321 print STDERR "$0 : parsed ATN\n" if ($debug);
327 print STDERR "$0 : parsed phase $phase_index\n" if ($debug);
333 print STDERR "Parsing conjunction, expecting $other\n" if ($debug);
348 print STDERR "$0 : parsed $1\n" if ($debug);
352 print STDERR "looking for data in $conditional\n" if ($debug);
357 print STDERR "$0 : parsed data\n" if ($debug);
369 print STDERR "$0 parsed AND MASK $1\n" if ($debug);
474 print STDERR "Parsing MOVE FROM $transfer_addr, $with_when $3\n" if ($debug);
498 print STDERR "Parsing MOVE MEMORY $count, $source, $dest\n" if ($debug);
504 ($debug);
514 print STDERR "Parsing register to register move\n" if ($debug);
524 print STDERR "Forcing register source \n" if ($force && $debug);
528 print STDERR "register operand data8 source\n" if ($debug);
537 print STDERR "register source\n" if ($debug);
546 print STDERR "data8 source\n" if ($debug);
595 if ($debug);
664 print STDERR "Parsing WAIT $rest\n" if ($debug);
718 print STDERR "parsing JUMP, rest = $rest\n" if ($debug);
724 print STDERR "parsing JUMP REL, addr = $addr, rest = $rest\n" if ($debug);
754 print STDERR "Parsing $instruction\n" if ($debug);
907 printf STDERR "Address $i = %x\n", $code[$i] if ($debug);
940 printf STDERR "$i is used $symbol_references{$i}\n" if ($debug);
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_debug.h45 * of the debug tracing stuff, and if compiled in, to enable or disable
51 #define __IPATH_DBG 0x2 /* generic debug */
54 #define __IPATH_VERBDBG 0x40 /* very verbose debug */
64 #define __IPATH_IPATHDBG 0x10000 /* Ethernet (IPATH) gen debug */
69 #define __IPATH_LINKVERBDBG 0x200000 /* very verbose linkchange debug */
80 #define __IPATH_DBG 0x0 /* generic debug */
82 #define __IPATH_VERBDBG 0x0 /* very verbose debug */
93 #define __IPATH_LINKVERBDBG 0x0 /* very verbose linkchange debug */
/linux-4.1.27/drivers/usb/dwc3/
H A Ddebug.c2 * debug.c - DesignWare USB3 DRD Controller Debug/Trace Support
18 #include "debug.h"
/linux-4.1.27/drivers/video/backlight/
H A Dapple_bl.c46 static int debug; variable
47 module_param_named(debug, debug, int, 0644);
48 MODULE_PARM_DESC(debug, "Set to one to enable debugging messages.");
63 if (debug) intel_chipset_send_intensity()
78 if (debug) intel_chipset_get_intensity()
108 if (debug) nvidia_chipset_send_intensity()
123 if (debug) nvidia_chipset_get_intensity()
/linux-4.1.27/arch/frv/kernel/
H A Ddebug-stub.c0 /* debug-stub.c: debug-mode stub
48 * debug mode handler stub
49 * - we come here with the CPU in debug mode and with exceptions disabled
71 /* kernel mode can propose an exception be handled in debug mode by jumping to a special debug_stub()
74 /* replace the debug frame with the kernel frame and discard debug_stub()
98 * debug stub initialisation
125 /* enable the debug events we want to trap */ debug_stub_init()
H A DMakefile13 debug-stub.o irq.o sleep.o uaccess.o
H A Dasm-offsets.c63 DEF_0REG(REG_DCR, debug.dcr); foo()
64 DEF_0REG(REG_IBAR0, debug.ibar[0]); foo()
65 DEF_0REG(REG_DBAR0, debug.dbar[0]); foo()
66 DEF_0REG(REG_DBDR00, debug.dbdr[0][0]); foo()
67 DEF_0REG(REG_DBMR00, debug.dbmr[0][0]); foo()
/linux-4.1.27/include/linux/
H A Dkern_levels.h14 #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
36 #define LOGLEVEL_DEBUG 7 /* debug-level messages */
H A Dspinlock_types_up.h32 /* no debug version on UP */
H A Dspinlock_up.h11 * include/linux/spinlock_up.h - UP-debug version of spinlocks.
16 * In the debug case, 1 means unlocked, 0 means locked. (the values
59 * Read-write spinlocks. No debug version.
/linux-4.1.27/drivers/isdn/hardware/eicon/
H A DMakefile21 diva_mnt-y := divamnt.o mntfunc.o debug.o maintidi.o
H A Ddebuglib.h30 * define global debug priorities
69 #define DL_TAPI 0x00010000 /* debug TAPI interface */
70 #define DL_NDIS 0x00020000 /* debug NDIS interface */
100 * the system debug function. Requires that the project is compiled
180 * For event level debug use a separate define, the parameter are
214 * prototypes for debug register/deregister functions in "debuglib.c"
227 * driver internal structure for debug handling;
229 * in the debug driver "debug.c" maintains a chain of such structs.
251 unsigned long dbgMask; /* current debug mask */
254 DbgEnd dbg_end; /* function for debug closing */
255 DbgLog dbg_prt; /* function for debug appending */
256 DbgOld dbg_old; /* function for old debug appending */
258 DbgIrq dbg_irq; /* function for irql checked debug */
317 Function used for xlog-style debug
/linux-4.1.27/drivers/net/wireless/iwlwifi/
H A DMakefile5 iwlwifi-objs += iwl-debug.o
/linux-4.1.27/drivers/net/wireless/rtlwifi/
H A DMakefile6 debug.o \
/linux-4.1.27/arch/x86/realmode/rm/
H A Drealmode.lds.S71 *(.debug*)
/linux-4.1.27/arch/x86/xen/
H A DMakefile2 # Do not profile debug and lowlevel utilities
/linux-4.1.27/arch/unicore32/kernel/
H A DMakefile28 obj-$(CONFIG_DEBUG_LL) += debug.o
H A Ddebug.S2 * linux/arch/unicore32/kernel/debug.S
24 #include "debug-macro.S"
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dprintk.h4 #include <core/debug.h>
/linux-4.1.27/arch/mips/boot/compressed/
H A Ddbg.c2 * MIPS-specific debug support for pre-boot environment
/linux-4.1.27/drivers/usb/gadget/udc/bdc/
H A Dbdc_ep.h2 * bdc_ep.h - header for the BDC debug functions
/linux-4.1.27/fs/jffs2/
H A DMakefile11 jffs2-y += super.o debug.o
/linux-4.1.27/net/dccp/ccids/lib/
H A Dtfrc.c13 MODULE_PARM_DESC(tfrc_debug, "Enable TFRC debug messages");
/linux-4.1.27/drivers/net/wireless/rt2x00/
H A Drt2x00debug.c57 const struct rt2x00debug *debug; member in struct:rt2x00debug_intf
226 if (!try_module_get(intf->debug->owner)) rt2x00debug_file_open()
236 module_put(intf->debug->owner); rt2x00debug_file_release()
444 const struct rt2x00debug *debug = intf->debug; \
453 if (index >= debug->__name.word_count) \
456 index += (debug->__name.word_base / \
457 debug->__name.word_size); \
459 if (debug->__name.flags & RT2X00DEBUGFS_OFFSET) \
460 index *= debug->__name.word_size; \
462 debug->__name.read(intf->rt2x00dev, index, &value); \
480 const struct rt2x00debug *debug = intf->debug; \
489 if (index >= debug->__name.word_count) \
501 index += (debug->__name.word_base / \
502 debug->__name.word_size); \
504 if (debug->__name.flags & RT2X00DEBUGFS_OFFSET) \
505 index *= debug->__name.word_size; \
507 debug->__name.write(intf->rt2x00dev, index, value); \
617 const struct rt2x00debug *debug = intf->debug; rt2x00debug_create_file_chipset() local
632 if(debug->__name.read) \ rt2x00debug_create_file_chipset()
635 debug->__name.word_base, \ rt2x00debug_create_file_chipset()
636 debug->__name.word_count, \ rt2x00debug_create_file_chipset()
637 debug->__name.word_size); \ rt2x00debug_create_file_chipset()
653 const struct rt2x00debug *debug = rt2x00dev->ops->debugfs; rt2x00debug_register() local
658 rt2x00_err(rt2x00dev, "Failed to allocate debug handler\n"); rt2x00debug_register()
662 intf->debug = debug; rt2x00debug_register()
702 if(debug->__name.read) { \ rt2x00debug_register()
761 rt2x00_err(rt2x00dev, "Failed to register debug handler\n"); rt2x00debug_register()
/linux-4.1.27/include/linux/usb/
H A Dehci-dbgp.h2 * Standalone EHCI usb debug driver
20 /* Appendix C, Debug port ... intended for use with special "debug devices"
68 /* Call backs from ehci host driver to ehci debug driver */
/linux-4.1.27/sound/pci/asihpi/
H A Dhpidebug.c26 /* Debug level; 0 quiet; 1 informative, 2 debug, 3 verbose debug. */
31 printk(KERN_INFO "debug start\n"); hpi_debug_init()
/linux-4.1.27/drivers/scsi/fnic/
H A Dfnic_debugfs.c44 * fnic_debugfs_init - Initialize debugfs for fnic debug logging
526 * to debug structure to retrieve later for while performing other
534 struct stats_debug_info *debug; fnic_reset_stats_open() local
536 debug = kzalloc(sizeof(struct stats_debug_info), GFP_KERNEL); fnic_reset_stats_open()
537 if (!debug) fnic_reset_stats_open()
540 debug->i_private = inode->i_private; fnic_reset_stats_open()
542 file->private_data = debug; fnic_reset_stats_open()
566 struct stats_debug_info *debug = file->private_data; fnic_reset_stats_read() local
567 struct fnic *fnic = (struct fnic *)debug->i_private; fnic_reset_stats_read()
594 struct stats_debug_info *debug = file->private_data; fnic_reset_stats_write() local
595 struct fnic *fnic = (struct fnic *)debug->i_private; fnic_reset_stats_write()
656 struct stats_debug_info *debug = file->private_data; fnic_reset_stats_release() local
657 kfree(debug); fnic_reset_stats_release()
679 struct stats_debug_info *debug; fnic_stats_debugfs_open() local
682 debug = kzalloc(sizeof(struct stats_debug_info), GFP_KERNEL); fnic_stats_debugfs_open()
683 if (!debug) fnic_stats_debugfs_open()
686 debug->debug_buffer = vmalloc(buf_size); fnic_stats_debugfs_open()
687 if (!debug->debug_buffer) { fnic_stats_debugfs_open()
688 kfree(debug); fnic_stats_debugfs_open()
692 debug->buf_size = buf_size; fnic_stats_debugfs_open()
693 memset((void *)debug->debug_buffer, 0, buf_size); fnic_stats_debugfs_open()
694 debug->buffer_len = fnic_get_stats_data(debug, fnic_stats); fnic_stats_debugfs_open()
696 file->private_data = debug; fnic_stats_debugfs_open()
722 struct stats_debug_info *debug = file->private_data; fnic_stats_debugfs_read() local
725 debug->debug_buffer, fnic_stats_debugfs_read()
726 debug->buffer_len); fnic_stats_debugfs_read()
746 struct stats_debug_info *debug = file->private_data; fnic_stats_debugfs_release() local
747 vfree(debug->debug_buffer); fnic_stats_debugfs_release()
748 kfree(debug); fnic_stats_debugfs_release()
/linux-4.1.27/arch/s390/kernel/
H A Ddebug.c2 * S/390 debug facility
28 #include <asm/debug.h>
32 #define ALL_AREAS 0 /* copy all debug areas */
33 #define NO_AREAS 1 /* copy no debug areas */
48 debug_info_t *debug_info_org; /* original debug information */
49 debug_info_t *debug_info_snap; /* snapshot of debug information */
50 struct debug_view *view; /* used view of debug info */
162 /* used by dump analysis tools to determine version of debug feature */
239 * - alloc new debug-info
296 * - free all debug areas
318 * - free memory debug-info
331 * - create new debug-info
371 * - copy debug-info
381 /* get a consistent copy of the debug areas */ debug_info_copy()
412 * - increments reference count for debug-info
424 * - decreases reference count for debug-info and frees it if necessary
453 * - format one debug entry and return size of formated data
525 * - copies formated debug entries to the user buffer
615 /* find debug view */ debug_open()
630 /* Make snapshot of current debug areas to get it consistent. */ debug_open()
632 /* formats the debug areas. */ debug_open()
688 * - Creates and initializes debug area for the caller
690 * - Returns handle for debug area
717 pr_err("Registering debug feature %s failed\n", name); debug_register_mode()
726 * - creates and initializes debug area for the caller
727 * - returns handle for debug area
740 * - give back debug area
797 * - set actual debug level
947 * - write debug entry with given size
975 * - write debug entry with given size and switch to next debug area
1205 * functions for debug-views
1210 * prints out actual debug level
1221 * reads new size (number of pages per debug area)
1262 * prints out actual debug level
1280 * reads new debug level
1310 pr_warning("%s is not a valid level for a debug " debug_input_level_fn()
1326 * flushes debug areas
1357 * view function: flushes debug areas
1388 pr_info("Flushing debug data failed because %c is not a valid " debug_input_flush_fn()
1397 * prints debug header in raw format
1412 * prints debug data in raw format
1427 * prints debug data in hex/ascii format
1453 * prints header for debug entry
1482 * prints debug data sprintf-formated:
1529 * - is called exactly once to initialize the debug feature
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_debugfs.c59 * # mount -t debugfs none /sys/kernel/debug
62 * /sys/kernel/debug/lpfc/fnX/vportY
720 struct lpfc_debug *debug; lpfc_debugfs_disc_trc_open() local
729 debug = kmalloc(sizeof(*debug), GFP_KERNEL); lpfc_debugfs_disc_trc_open()
730 if (!debug) lpfc_debugfs_disc_trc_open()
737 debug->buffer = kmalloc(size, GFP_KERNEL); lpfc_debugfs_disc_trc_open()
738 if (!debug->buffer) { lpfc_debugfs_disc_trc_open()
739 kfree(debug); lpfc_debugfs_disc_trc_open()
743 debug->len = lpfc_debugfs_disc_trc_data(vport, debug->buffer, size); lpfc_debugfs_disc_trc_open()
744 file->private_data = debug; lpfc_debugfs_disc_trc_open()
770 struct lpfc_debug *debug; lpfc_debugfs_slow_ring_trc_open() local
779 debug = kmalloc(sizeof(*debug), GFP_KERNEL); lpfc_debugfs_slow_ring_trc_open()
780 if (!debug) lpfc_debugfs_slow_ring_trc_open()
787 debug->buffer = kmalloc(size, GFP_KERNEL); lpfc_debugfs_slow_ring_trc_open()
788 if (!debug->buffer) { lpfc_debugfs_slow_ring_trc_open()
789 kfree(debug); lpfc_debugfs_slow_ring_trc_open()
793 debug->len = lpfc_debugfs_slow_ring_trc_data(phba, debug->buffer, size); lpfc_debugfs_slow_ring_trc_open()
794 file->private_data = debug; lpfc_debugfs_slow_ring_trc_open()
820 struct lpfc_debug *debug; lpfc_debugfs_hbqinfo_open() local
823 debug = kmalloc(sizeof(*debug), GFP_KERNEL); lpfc_debugfs_hbqinfo_open()
824 if (!debug) lpfc_debugfs_hbqinfo_open()
828 debug->buffer = kmalloc(LPFC_HBQINFO_SIZE, GFP_KERNEL); lpfc_debugfs_hbqinfo_open()
829 if (!debug->buffer) { lpfc_debugfs_hbqinfo_open()
830 kfree(debug); lpfc_debugfs_hbqinfo_open()
834 debug->len = lpfc_debugfs_hbqinfo_data(phba, debug->buffer, lpfc_debugfs_hbqinfo_open()
836 file->private_data = debug; lpfc_debugfs_hbqinfo_open()
862 struct lpfc_debug *debug; lpfc_debugfs_dumpHBASlim_open() local
865 debug = kmalloc(sizeof(*debug), GFP_KERNEL); lpfc_debugfs_dumpHBASlim_open()
866 if (!debug) lpfc_debugfs_dumpHBASlim_open()
870 debug->buffer = kmalloc(LPFC_DUMPHBASLIM_SIZE, GFP_KERNEL); lpfc_debugfs_dumpHBASlim_open()
871 if (!debug->buffer) { lpfc_debugfs_dumpHBASlim_open()
872 kfree(debug); lpfc_debugfs_dumpHBASlim_open()
876 debug->len = lpfc_debugfs_dumpHBASlim_data(phba, debug->buffer, lpfc_debugfs_dumpHBASlim_open()
878 file->private_data = debug; lpfc_debugfs_dumpHBASlim_open()
904 struct lpfc_debug *debug; lpfc_debugfs_dumpHostSlim_open() local
907 debug = kmalloc(sizeof(*debug), GFP_KERNEL); lpfc_debugfs_dumpHostSlim_open()
908 if (!debug) lpfc_debugfs_dumpHostSlim_open()
912 debug->buffer = kmalloc(LPFC_DUMPHOSTSLIM_SIZE, GFP_KERNEL); lpfc_debugfs_dumpHostSlim_open()
913 if (!debug->buffer) { lpfc_debugfs_dumpHostSlim_open()
914 kfree(debug); lpfc_debugfs_dumpHostSlim_open()
918 debug->len = lpfc_debugfs_dumpHostSlim_data(phba, debug->buffer, lpfc_debugfs_dumpHostSlim_open()
920 file->private_data = debug; lpfc_debugfs_dumpHostSlim_open()
930 struct lpfc_debug *debug; lpfc_debugfs_dumpData_open() local
936 debug = kmalloc(sizeof(*debug), GFP_KERNEL); lpfc_debugfs_dumpData_open()
937 if (!debug) lpfc_debugfs_dumpData_open()
943 debug->buffer = _dump_buf_data; lpfc_debugfs_dumpData_open()
944 if (!debug->buffer) { lpfc_debugfs_dumpData_open()
945 kfree(debug); lpfc_debugfs_dumpData_open()
949 debug->len = (1 << _dump_buf_data_order) << PAGE_SHIFT; lpfc_debugfs_dumpData_open()
950 file->private_data = debug; lpfc_debugfs_dumpData_open()
960 struct lpfc_debug *debug; lpfc_debugfs_dumpDif_open() local
966 debug = kmalloc(sizeof(*debug), GFP_KERNEL); lpfc_debugfs_dumpDif_open()
967 if (!debug) lpfc_debugfs_dumpDif_open()
973 debug->buffer = _dump_buf_dif; lpfc_debugfs_dumpDif_open()
974 if (!debug->buffer) { lpfc_debugfs_dumpDif_open()
975 kfree(debug); lpfc_debugfs_dumpDif_open()
979 debug->len = (1 << _dump_buf_dif_order) << PAGE_SHIFT; lpfc_debugfs_dumpDif_open()
980 file->private_data = debug; lpfc_debugfs_dumpDif_open()
1125 struct lpfc_debug *debug; lpfc_debugfs_nodelist_open() local
1128 debug = kmalloc(sizeof(*debug), GFP_KERNEL); lpfc_debugfs_nodelist_open()
1129 if (!debug) lpfc_debugfs_nodelist_open()
1133 debug->buffer = kmalloc(LPFC_NODELIST_SIZE, GFP_KERNEL); lpfc_debugfs_nodelist_open()
1134 if (!debug->buffer) { lpfc_debugfs_nodelist_open()
1135 kfree(debug); lpfc_debugfs_nodelist_open()
1139 debug->len = lpfc_debugfs_nodelist_data(vport, debug->buffer, lpfc_debugfs_nodelist_open()
1141 file->private_data = debug; lpfc_debugfs_nodelist_open()
1168 struct lpfc_debug *debug = file->private_data; lpfc_debugfs_lseek() local
1169 return fixed_size_llseek(file, off, whence, debug->len); lpfc_debugfs_lseek()
1192 struct lpfc_debug *debug = file->private_data; lpfc_debugfs_read() local
1194 return simple_read_from_buffer(buf, nbytes, ppos, debug->buffer, lpfc_debugfs_read()
1195 debug->len); lpfc_debugfs_read()
1213 struct lpfc_debug *debug = file->private_data; lpfc_debugfs_release() local
1215 kfree(debug->buffer); lpfc_debugfs_release()
1216 kfree(debug); lpfc_debugfs_release()
1224 struct lpfc_debug *debug = file->private_data; lpfc_debugfs_dumpDataDif_release() local
1226 debug->buffer = NULL; lpfc_debugfs_dumpDataDif_release()
1227 kfree(debug); lpfc_debugfs_dumpDataDif_release()
1240 * /sys/kernel/debug/lpfc/fn<#>/iDiag
1314 struct lpfc_debug *debug; lpfc_idiag_open() local
1316 debug = kmalloc(sizeof(*debug), GFP_KERNEL); lpfc_idiag_open()
1317 if (!debug) lpfc_idiag_open()
1320 debug->i_private = inode->i_private; lpfc_idiag_open()
1321 debug->buffer = NULL; lpfc_idiag_open()
1322 file->private_data = debug; lpfc_idiag_open()
1343 struct lpfc_debug *debug = file->private_data; lpfc_idiag_release() local
1346 kfree(debug->buffer); lpfc_idiag_release()
1347 kfree(debug); lpfc_idiag_release()
1368 struct lpfc_debug *debug = file->private_data; lpfc_idiag_cmd_release() local
1370 if (debug->op == LPFC_IDIAG_OP_WR) { lpfc_idiag_cmd_release()
1386 kfree(debug->buffer); lpfc_idiag_cmd_release()
1387 kfree(debug); lpfc_idiag_cmd_release()
1414 struct lpfc_debug *debug = file->private_data; lpfc_idiag_pcicfg_read() local
1415 struct lpfc_hba *phba = (struct lpfc_hba *)debug->i_private; lpfc_idiag_pcicfg_read()
1429 debug->op = LPFC_IDIAG_OP_RD; lpfc_idiag_pcicfg_read()
1431 if (!debug->buffer) lpfc_idiag_pcicfg_read()
1432 debug->buffer = kmalloc(LPFC_PCI_CFG_SIZE, GFP_KERNEL); lpfc_idiag_pcicfg_read()
1433 if (!debug->buffer) lpfc_idiag_pcicfg_read()
1435 pbuffer = debug->buffer; lpfc_idiag_pcicfg_read()
1536 struct lpfc_debug *debug = file->private_data; lpfc_idiag_pcicfg_write() local
1537 struct lpfc_hba *phba = (struct lpfc_hba *)debug->i_private; lpfc_idiag_pcicfg_write()
1550 debug->op = LPFC_IDIAG_OP_WR; lpfc_idiag_pcicfg_write()
1710 struct lpfc_debug *debug = file->private_data; lpfc_idiag_baracc_read() local
1711 struct lpfc_hba *phba = (struct lpfc_hba *)debug->i_private; lpfc_idiag_baracc_read()
1725 debug->op = LPFC_IDIAG_OP_RD; lpfc_idiag_baracc_read()
1727 if (!debug->buffer) lpfc_idiag_baracc_read()
1728 debug->buffer = kmalloc(LPFC_PCI_BAR_RD_BUF_SIZE, GFP_KERNEL); lpfc_idiag_baracc_read()
1729 if (!debug->buffer) lpfc_idiag_baracc_read()
1731 pbuffer = debug->buffer; lpfc_idiag_baracc_read()
1861 struct lpfc_debug *debug = file->private_data; lpfc_idiag_baracc_write() local
1862 struct lpfc_hba *phba = (struct lpfc_hba *)debug->i_private; lpfc_idiag_baracc_write()
1875 debug->op = LPFC_IDIAG_OP_WR; lpfc_idiag_baracc_write()
1996 struct lpfc_debug *debug = file->private_data; lpfc_idiag_queinfo_read() local
1997 struct lpfc_hba *phba = (struct lpfc_hba *)debug->i_private; lpfc_idiag_queinfo_read()
2005 if (!debug->buffer) lpfc_idiag_queinfo_read()
2006 debug->buffer = kmalloc(LPFC_QUE_INFO_GET_BUF_SIZE, GFP_KERNEL); lpfc_idiag_queinfo_read()
2007 if (!debug->buffer) lpfc_idiag_queinfo_read()
2009 pbuffer = debug->buffer; lpfc_idiag_queinfo_read()
2481 struct lpfc_debug *debug = file->private_data; lpfc_idiag_queacc_read() local
2488 debug->op = LPFC_IDIAG_OP_RD; lpfc_idiag_queacc_read()
2490 if (!debug->buffer) lpfc_idiag_queacc_read()
2491 debug->buffer = kmalloc(LPFC_QUE_ACC_BUF_SIZE, GFP_KERNEL); lpfc_idiag_queacc_read()
2492 if (!debug->buffer) lpfc_idiag_queacc_read()
2494 pbuffer = debug->buffer; lpfc_idiag_queacc_read()
2558 struct lpfc_debug *debug = file->private_data; lpfc_idiag_queacc_write() local
2559 struct lpfc_hba *phba = (struct lpfc_hba *)debug->i_private; lpfc_idiag_queacc_write()
2566 debug->op = LPFC_IDIAG_OP_WR; lpfc_idiag_queacc_write()
2841 struct lpfc_debug *debug = file->private_data; lpfc_idiag_drbacc_read() local
2842 struct lpfc_hba *phba = (struct lpfc_hba *)debug->i_private; lpfc_idiag_drbacc_read()
2848 debug->op = LPFC_IDIAG_OP_RD; lpfc_idiag_drbacc_read()
2850 if (!debug->buffer) lpfc_idiag_drbacc_read()
2851 debug->buffer = kmalloc(LPFC_DRB_ACC_BUF_SIZE, GFP_KERNEL); lpfc_idiag_drbacc_read()
2852 if (!debug->buffer) lpfc_idiag_drbacc_read()
2854 pbuffer = debug->buffer; lpfc_idiag_drbacc_read()
2897 struct lpfc_debug *debug = file->private_data; lpfc_idiag_drbacc_write() local
2898 struct lpfc_hba *phba = (struct lpfc_hba *)debug->i_private; lpfc_idiag_drbacc_write()
2904 debug->op = LPFC_IDIAG_OP_WR; lpfc_idiag_drbacc_write()
3056 struct lpfc_debug *debug = file->private_data; lpfc_idiag_ctlacc_read() local
3057 struct lpfc_hba *phba = (struct lpfc_hba *)debug->i_private; lpfc_idiag_ctlacc_read()
3063 debug->op = LPFC_IDIAG_OP_RD; lpfc_idiag_ctlacc_read()
3065 if (!debug->buffer) lpfc_idiag_ctlacc_read()
3066 debug->buffer = kmalloc(LPFC_CTL_ACC_BUF_SIZE, GFP_KERNEL); lpfc_idiag_ctlacc_read()
3067 if (!debug->buffer) lpfc_idiag_ctlacc_read()
3069 pbuffer = debug->buffer; lpfc_idiag_ctlacc_read()
3109 struct lpfc_debug *debug = file->private_data; lpfc_idiag_ctlacc_write() local
3110 struct lpfc_hba *phba = (struct lpfc_hba *)debug->i_private; lpfc_idiag_ctlacc_write()
3116 debug->op = LPFC_IDIAG_OP_WR; lpfc_idiag_ctlacc_write()
3250 struct lpfc_debug *debug = file->private_data; lpfc_idiag_mbxacc_read() local
3251 struct lpfc_hba *phba = (struct lpfc_hba *)debug->i_private; lpfc_idiag_mbxacc_read()
3256 debug->op = LPFC_IDIAG_OP_RD; lpfc_idiag_mbxacc_read()
3258 if (!debug->buffer) lpfc_idiag_mbxacc_read()
3259 debug->buffer = kmalloc(LPFC_MBX_ACC_BUF_SIZE, GFP_KERNEL); lpfc_idiag_mbxacc_read()
3260 if (!debug->buffer) lpfc_idiag_mbxacc_read()
3262 pbuffer = debug->buffer; lpfc_idiag_mbxacc_read()
3295 struct lpfc_debug *debug = file->private_data; lpfc_idiag_mbxacc_write() local
3300 debug->op = LPFC_IDIAG_OP_WR; lpfc_idiag_mbxacc_write()
3569 struct lpfc_debug *debug = file->private_data; lpfc_idiag_extacc_write() local
3574 debug->op = LPFC_IDIAG_OP_WR; lpfc_idiag_extacc_write()
3615 struct lpfc_debug *debug = file->private_data; lpfc_idiag_extacc_read() local
3616 struct lpfc_hba *phba = (struct lpfc_hba *)debug->i_private; lpfc_idiag_extacc_read()
3622 debug->op = LPFC_IDIAG_OP_RD; lpfc_idiag_extacc_read()
3624 if (!debug->buffer) lpfc_idiag_extacc_read()
3625 debug->buffer = kmalloc(LPFC_EXT_ACC_BUF_SIZE, GFP_KERNEL); lpfc_idiag_extacc_read()
3626 if (!debug->buffer) lpfc_idiag_extacc_read()
3628 pbuffer = debug->buffer; lpfc_idiag_extacc_read()
4657 * Driver debug utility routines outside of debugfs. The debug utility
4659 * debug driver for debugging host or port issues.
/linux-4.1.27/arch/m68k/sun3x/
H A Dprom.c85 /* debug console - write-only */
88 .name = "debug",
123 /* If debug=prom was specified, start the debug console */ sun3x_debug_setup()
129 early_param("debug", sun3x_debug_setup);
/linux-4.1.27/arch/arm/plat-samsung/include/plat/
H A Dpm-common.h42 /* PM debug functions */
53 * are needed (say by debug).
66 * s3c_pm_dbg() - low level debug function for use in suspend/resume.
69 * This function is used mainly to debug the resume process before the system
76 * s3c_pm_debug_init() - suspend/resume low level debug initialization.
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c25 #include "debug.h"
268 ar->debug.war_stats.invalid_rate++; ath6kl_debug_war()
291 "Invalid rates", ar->debug.war_stats.invalid_rate); read_file_war_stats()
332 spin_lock(&ar->debug.fwlog_queue.lock); ath6kl_debug_fwlog_event()
334 __skb_queue_tail(&ar->debug.fwlog_queue, skb); ath6kl_debug_fwlog_event()
335 complete(&ar->debug.fwlog_completion); ath6kl_debug_fwlog_event()
338 while (skb_queue_len(&ar->debug.fwlog_queue) > ath6kl_debug_fwlog_event()
340 skb = __skb_dequeue(&ar->debug.fwlog_queue); ath6kl_debug_fwlog_event()
344 spin_unlock(&ar->debug.fwlog_queue.lock); ath6kl_debug_fwlog_event()
353 if (ar->debug.fwlog_open) ath6kl_fwlog_open()
356 ar->debug.fwlog_open = true; ath6kl_fwlog_open()
366 ar->debug.fwlog_open = false; ath6kl_fwlog_release()
387 spin_lock(&ar->debug.fwlog_queue.lock); ath6kl_fwlog_read()
389 while ((skb = __skb_dequeue(&ar->debug.fwlog_queue))) { ath6kl_fwlog_read()
392 __skb_queue_head(&ar->debug.fwlog_queue, skb); ath6kl_fwlog_read()
403 spin_unlock(&ar->debug.fwlog_queue.lock); ath6kl_fwlog_read()
438 spin_lock(&ar->debug.fwlog_queue.lock); ath6kl_fwlog_block_read()
440 if (skb_queue_len(&ar->debug.fwlog_queue) == 0) { ath6kl_fwlog_block_read()
442 init_completion(&ar->debug.fwlog_completion); ath6kl_fwlog_block_read()
444 spin_unlock(&ar->debug.fwlog_queue.lock); ath6kl_fwlog_block_read()
447 &ar->debug.fwlog_completion); ath6kl_fwlog_block_read()
453 spin_lock(&ar->debug.fwlog_queue.lock); ath6kl_fwlog_block_read()
456 while ((skb = __skb_dequeue(&ar->debug.fwlog_queue))) { ath6kl_fwlog_block_read()
459 __skb_queue_head(&ar->debug.fwlog_queue, skb); ath6kl_fwlog_block_read()
470 spin_unlock(&ar->debug.fwlog_queue.lock); ath6kl_fwlog_block_read()
505 len = snprintf(buf, sizeof(buf), "0x%x\n", ar->debug.fwlog_mask); ath6kl_fwlog_mask_read()
517 ret = kstrtou32_from_user(user_buf, count, 0, &ar->debug.fwlog_mask); ath6kl_fwlog_mask_write()
523 ar->debug.fwlog_mask); ath6kl_fwlog_mask_write()
890 if (ar->debug.dbgfs_diag_reg) ath6kl_regread_read()
892 ar->debug.dbgfs_diag_reg); ath6kl_regread_read()
916 ar->debug.dbgfs_diag_reg = reg_addr; ath6kl_regread_write()
940 if (!ar->debug.dbgfs_diag_reg) ath6kl_regdump_open()
954 addr = ar->debug.dbgfs_diag_reg; ath6kl_regdump_open()
1062 ar->debug.diag_reg_addr_wr, ar->debug.diag_reg_val_wr); ath6kl_regwrite_read()
1097 ar->debug.diag_reg_addr_wr = reg_addr; ath6kl_regwrite_write()
1098 ar->debug.diag_reg_val_wr = reg_val; ath6kl_regwrite_write()
1100 if (ath6kl_diag_write32(ar, ar->debug.diag_reg_addr_wr, ath6kl_regwrite_write()
1101 cpu_to_le32(ar->debug.diag_reg_val_wr))) ath6kl_regwrite_write()
1130 if (ar->debug.roam_tbl == NULL || ath6kl_debug_roam_tbl_event()
1131 ar->debug.roam_tbl_len < (unsigned int) len) { ath6kl_debug_roam_tbl_event()
1132 kfree(ar->debug.roam_tbl); ath6kl_debug_roam_tbl_event()
1133 ar->debug.roam_tbl = kmalloc(len, GFP_ATOMIC); ath6kl_debug_roam_tbl_event()
1134 if (ar->debug.roam_tbl == NULL) ath6kl_debug_roam_tbl_event()
1138 memcpy(ar->debug.roam_tbl, buf, len); ath6kl_debug_roam_tbl_event()
1139 ar->debug.roam_tbl_len = len; ath6kl_debug_roam_tbl_event()
1179 if (ar->debug.roam_tbl == NULL) ath6kl_roam_table_read()
1182 tbl = (struct wmi_target_roam_tbl *) ar->debug.roam_tbl; ath6kl_roam_table_read()
1294 ar->debug.keepalive = keepalive; ath6kl_debug_set_keepalive()
1304 len = snprintf(buf, sizeof(buf), "%u\n", ar->debug.keepalive); ath6kl_keepalive_read()
1338 ar->debug.disc_timeout = timeout; ath6kl_debug_set_disconnect_timeout()
1349 len = snprintf(buf, sizeof(buf), "%u\n", ar->debug.disc_timeout); ath6kl_disconnect_timeout_read()
1766 skb_queue_head_init(&ar->debug.fwlog_queue); ath6kl_debug_init()
1767 init_completion(&ar->debug.fwlog_completion); ath6kl_debug_init()
1773 ar->debug.fwlog_mask = 0; ath6kl_debug_init()
1858 skb_queue_purge(&ar->debug.fwlog_queue); ath6kl_debug_cleanup()
1859 complete(&ar->debug.fwlog_completion); ath6kl_debug_cleanup()
1860 kfree(ar->debug.roam_tbl); ath6kl_debug_cleanup()
/linux-4.1.27/fs/overlayfs/
H A Doverlayfs.h45 struct dentry *new_dentry, bool debug) ovl_do_link()
48 if (debug) { ovl_do_link()
56 umode_t mode, bool debug) ovl_do_create()
59 if (debug) ovl_do_create()
65 umode_t mode, bool debug) ovl_do_mkdir()
68 if (debug) ovl_do_mkdir()
74 umode_t mode, dev_t dev, bool debug) ovl_do_mknod()
77 if (debug) { ovl_do_mknod()
85 const char *oldname, bool debug) ovl_do_symlink()
88 if (debug) ovl_do_symlink()
191 struct dentry *hardlink, bool debug);
44 ovl_do_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry, bool debug) ovl_do_link() argument
55 ovl_do_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool debug) ovl_do_create() argument
64 ovl_do_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode, bool debug) ovl_do_mkdir() argument
73 ovl_do_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev, bool debug) ovl_do_mknod() argument
84 ovl_do_symlink(struct inode *dir, struct dentry *dentry, const char *oldname, bool debug) ovl_do_symlink() argument
/linux-4.1.27/drivers/net/fddi/skfp/h/
H A Dcmtdef.h63 #define DB_ECM(a,b,c) DB_PR((smc->debug.d_smt&1),a,b,c)
64 #define DB_ECMN(n,a,b,c) DB_PR((smc->debug.d_ecm >=(n)),a,b,c)
65 #define DB_RMT(a,b,c) DB_PR((smc->debug.d_smt&2),a,b,c)
66 #define DB_RMTN(n,a,b,c) DB_PR((smc->debug.d_rmt >=(n)),a,b,c)
67 #define DB_CFM(a,b,c) DB_PR((smc->debug.d_smt&4),a,b,c)
68 #define DB_CFMN(n,a,b,c) DB_PR((smc->debug.d_cfm >=(n)),a,b,c)
69 #define DB_PCM(a,b,c) DB_PR((smc->debug.d_smt&8),a,b,c)
70 #define DB_PCMN(n,a,b,c) DB_PR((smc->debug.d_pcm >=(n)),a,b,c)
71 #define DB_SMT(a,b,c) DB_PR((smc->debug.d_smtf),a,b,c)
72 #define DB_SMTN(n,a,b,c) DB_PR((smc->debug.d_smtf >=(n)),a,b,c)
73 #define DB_SBA(a,b,c) DB_PR((smc->debug.d_sba),a,b,c)
74 #define DB_SBAN(n,a,b,c) DB_PR((smc->debug.d_sba >=(n)),a,b,c)
75 #define DB_ESS(a,b,c) DB_PR((smc->debug.d_ess),a,b,c)
76 #define DB_ESSN(n,a,b,c) DB_PR((smc->debug.d_ess >=(n)),a,b,c)
78 #define DB_ECM(a,b,c) DB_PR((debug.d_smt&1),a,b,c)
79 #define DB_ECMN(n,a,b,c) DB_PR((debug.d_ecm >=(n)),a,b,c)
80 #define DB_RMT(a,b,c) DB_PR((debug.d_smt&2),a,b,c)
81 #define DB_RMTN(n,a,b,c) DB_PR((debug.d_rmt >=(n)),a,b,c)
82 #define DB_CFM(a,b,c) DB_PR((debug.d_smt&4),a,b,c)
83 #define DB_CFMN(n,a,b,c) DB_PR((debug.d_cfm >=(n)),a,b,c)
84 #define DB_PCM(a,b,c) DB_PR((debug.d_smt&8),a,b,c)
85 #define DB_PCMN(n,a,b,c) DB_PR((debug.d_pcm >=(n)),a,b,c)
86 #define DB_SMT(a,b,c) DB_PR((debug.d_smtf),a,b,c)
87 #define DB_SMTN(n,a,b,c) DB_PR((debug.d_smtf >=(n)),a,b,c)
88 #define DB_SBA(a,b,c) DB_PR((debug.d_sba),a,b,c)
89 #define DB_SBAN(n,a,b,c) DB_PR((debug.d_sba >=(n)),a,b,c)
90 #define DB_ESS(a,b,c) DB_PR((debug.d_ess),a,b,c)
91 #define DB_ESSN(n,a,b,c) DB_PR((debug.d_ess >=(n)),a,b,c)
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfad_debugfs.c29 * mount -t debugfs none /sys/kernel/debug
54 struct bfad_debug_info *debug; bfad_debugfs_open_drvtrc() local
56 debug = kzalloc(sizeof(struct bfad_debug_info), GFP_KERNEL); bfad_debugfs_open_drvtrc()
57 if (!debug) bfad_debugfs_open_drvtrc()
60 debug->debug_buffer = (void *) bfad->trcmod; bfad_debugfs_open_drvtrc()
61 debug->buffer_len = sizeof(struct bfa_trc_mod_s); bfad_debugfs_open_drvtrc()
63 file->private_data = debug; bfad_debugfs_open_drvtrc()
176 struct bfad_debug_info *debug = file->private_data; bfad_debugfs_lseek() local
178 debug->buffer_len); bfad_debugfs_lseek()
185 struct bfad_debug_info *debug = file->private_data; bfad_debugfs_read() local
187 if (!debug || !debug->debug_buffer) bfad_debugfs_read()
191 debug->debug_buffer, debug->buffer_len); bfad_debugfs_read()
320 struct bfad_debug_info *debug = file->private_data; bfad_debugfs_write_regwr() local
321 struct bfad_port_s *port = (struct bfad_port_s *)debug->i_private; bfad_debugfs_write_regwr()
366 struct bfad_debug_info *debug = file->private_data; bfad_debugfs_release() local
368 if (!debug) bfad_debugfs_release()
372 kfree(debug); bfad_debugfs_release()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbnad_debugfs.c29 * mount -t debugfs none /sys/kernel/debug
234 struct bnad_debug_info *debug = file->private_data; bnad_debugfs_lseek() local
236 if (!debug) bnad_debugfs_lseek()
239 return fixed_size_llseek(file, offset, orig, debug->buffer_len); bnad_debugfs_lseek()
246 struct bnad_debug_info *debug = file->private_data; bnad_debugfs_read() local
248 if (!debug || !debug->debug_buffer) bnad_debugfs_read()
252 debug->debug_buffer, debug->buffer_len); bnad_debugfs_read()
383 struct bnad_debug_info *debug = file->private_data; bnad_debugfs_write_regwr() local
384 struct bnad *bnad = (struct bnad *)debug->i_private; bnad_debugfs_write_regwr()
431 struct bnad_debug_info *debug = file->private_data; bnad_debugfs_release() local
433 if (!debug) bnad_debugfs_release()
437 kfree(debug); bnad_debugfs_release()
444 struct bnad_debug_info *debug = file->private_data; bnad_debugfs_buffer_release() local
446 if (!debug) bnad_debugfs_buffer_release()
449 kfree(debug->debug_buffer); bnad_debugfs_buffer_release()
452 kfree(debug); bnad_debugfs_buffer_release()
453 debug = NULL; bnad_debugfs_buffer_release()
/linux-4.1.27/scripts/package/
H A Dbuilddeb157 mkdir -p $(dirname $dbg_dir/usr/lib/debug/$module)
158 # only keep debug symbols in the debug file
159 $OBJCOPY --only-keep-debug $tmpdir/$module $dbg_dir/usr/lib/debug/$module
160 # strip original module from debug symbols
161 $OBJCOPY --strip-debug $tmpdir/$module
163 $OBJCOPY --add-gnu-debuglink=$dbg_dir/usr/lib/debug/$module $tmpdir/$module
361 # Build debug package
364 mkdir -p $dbg_dir/usr/lib/debug/lib/modules/$version/
365 cp vmlinux $dbg_dir/usr/lib/debug/lib/modules/$version/
367 mkdir -p $dbg_dir/usr/lib/debug/boot/
368 ln -s ../lib/modules/$version/vmlinux $dbg_dir/usr/lib/debug/boot/vmlinux-$version
370 ln -s lib/modules/$version/vmlinux $dbg_dir/usr/lib/debug/vmlinux-$version
375 Section: debug
376 Provides: linux-debug, linux-debug-$version
379 This package will come in handy if you need to debug the kernel. It provides
380 all the necessary debug symbols for the kernel and its modules.
/linux-4.1.27/drivers/isdn/hardware/mISDN/
H A Dhfcmulti.c82 * debug:
83 * NOTE: only one debug value must be given for all cards
84 * enable debugging (see hfc_multi.h for debug options)
161 * debug register access (never use this, it will flood your system log)
223 static uint debug; variable
240 module_param(debug, uint, S_IRUGO | S_IWUSR);
936 if (debug & DEBUG_HFCMULTI_PLXSD) hfcmulti_resync()
942 if (debug & DEBUG_HFCMULTI_PLXSD) hfcmulti_resync()
965 if (debug & DEBUG_HFCMULTI_PLXSD) hfcmulti_resync()
976 if (debug & DEBUG_HFCMULTI_PLXSD) hfcmulti_resync()
987 if (debug & DEBUG_HFCMULTI_PLXSD) hfcmulti_resync()
994 if (debug & DEBUG_HFCMULTI_PLXSD) hfcmulti_resync()
1001 if (debug & DEBUG_HFCMULTI_PLXSD) hfcmulti_resync()
1006 if (debug & DEBUG_HFCMULTI_PLXSD) hfcmulti_resync()
1032 if (debug & DEBUG_HFCMULTI_PLXSD) plxsd_checksync()
1040 if (debug & DEBUG_HFCMULTI_PLXSD) plxsd_checksync()
1060 if (debug & DEBUG_HFCMULTI_INIT) release_io_hfcmulti()
1073 if (debug & DEBUG_HFCMULTI_PLXSD) release_io_hfcmulti()
1089 if (debug & DEBUG_HFCMULTI_INIT) release_io_hfcmulti()
1112 if (debug & DEBUG_HFCMULTI_INIT) release_io_hfcmulti()
1138 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1173 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1184 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1206 if (debug & DEBUG_HFCMULTI_PLXSD) init_chip()
1223 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1241 if (debug & DEBUG_HFCMULTI_PLXSD) init_chip()
1251 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1269 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1274 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1279 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1314 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1320 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1354 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1376 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1385 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1432 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1444 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1467 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1496 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1543 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1555 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1584 if (debug & DEBUG_HFCMULTI_INIT) init_chip()
1852 if (debug & DEBUG_HFCMULTI_DTMF) hfcmulti_dtmf()
1863 if (debug & DEBUG_HFCMULTI_DTMF) hfcmulti_dtmf()
1877 if (debug & DEBUG_HFCMULTI_DTMF) hfcmulti_dtmf()
1896 if (debug & DEBUG_HFCMULTI_DTMF) hfcmulti_dtmf()
1912 if (debug & DEBUG_HFCMULTI_DTMF) hfcmulti_dtmf()
2003 if (debug & DEBUG_HFCMULTI_FIFO) hfcmulti_tx()
2036 if (debug & DEBUG_HFCMULTI_FIFO) hfcmulti_tx()
2060 if (debug & DEBUG_HFCMULTI_MODE) hfcmulti_tx()
2094 if (debug & DEBUG_HFCMULTI_FILL) hfcmulti_tx()
2105 if (debug & DEBUG_HFCMULTI_MODE) hfcmulti_tx()
2145 if (debug & DEBUG_HFCMULTI_FIFO) hfcmulti_tx()
2236 if (debug & DEBUG_HFCMULTI_FIFO) hfcmulti_rx()
2246 if (debug & DEBUG_HFCMULTI_FIFO) hfcmulti_rx()
2289 if (debug & DEBUG_HFCMULTI_FIFO) hfcmulti_rx()
2297 if (debug & DEBUG_HFCMULTI_FIFO) hfcmulti_rx()
2315 if (debug & DEBUG_HFCMULTI_FIFO) hfcmulti_rx()
2324 if (debug & DEBUG_HFCMULTI_CRC) hfcmulti_rx()
2347 if (debug & DEBUG_HFCMULTI_FIFO) { hfcmulti_rx()
2367 if (debug & DEBUG_HFCMULTI_FIFO) hfcmulti_rx()
2387 if (debug & DEBUG_HFCMULTI_STATE) signal_state_up()
2411 if (debug & DEBUG_HFCMULTI_PLXSD) handle_timer_irq()
2419 if (debug & DEBUG_HFCMULTI_PLXSD) handle_timer_irq()
2424 if (debug & DEBUG_HFCMULTI_PLXSD) handle_timer_irq()
2449 if (debug & handle_timer_irq()
2512 if (debug & DEBUG_HFCMULTI_SYNC) handle_timer_irq()
2527 if (debug & DEBUG_HFCMULTI_SYNC) handle_timer_irq()
2538 if (debug & DEBUG_HFCMULTI_SYNC) handle_timer_irq()
2548 if (debug & DEBUG_HFCMULTI_SYNC) handle_timer_irq()
2558 if (debug & DEBUG_HFCMULTI_SYNC) handle_timer_irq()
2597 if (debug & DEBUG_HFCMULTI_STATE) ph_state_irq()
2630 if (debug & DEBUG_HFCMULTI_STATE) ph_state_irq()
2792 if (debug & DEBUG_HFCMULTI_STATE) hfcmulti_interrupt()
2799 if (debug & DEBUG_HFCMULTI_STATE) hfcmulti_interrupt()
2887 if (debug & DEBUG_HFCMULTI_MODE) mode_hfcmulti()
2896 if (debug & DEBUG_HFCMULTI_MODE) mode_hfcmulti()
2906 if (debug & DEBUG_HFCMULTI_MODE) mode_hfcmulti()
2916 if (debug & DEBUG_HFCMULTI_MODE) mode_hfcmulti()
2925 if (debug & DEBUG_HFCMULTI_MODE) mode_hfcmulti()
2949 if (debug & DEBUG_HFCMULTI_MODE) mode_hfcmulti()
2978 if (debug & DEBUG_HFCMULTI_MODE) mode_hfcmulti()
3247 if (debug & DEBUG_HFCMULTI_MSG) hfcm_l1callback()
3268 if (debug & DEBUG_HFCMULTI_MSG) hfcm_l1callback()
3302 if (debug & DEBUG_HFCMULTI_MSG) hfcm_l1callback()
3327 if (dch->debug & DEBUG_HW) hfcm_l1callback()
3372 if (debug & DEBUG_HFCMULTI_MSG) handle_dmsg()
3380 if (debug & DEBUG_HFCMULTI_STATE) handle_dmsg()
3405 if (debug & DEBUG_HFCMULTI_MSG) handle_dmsg()
3412 if (debug & DEBUG_HFCMULTI_MSG) handle_dmsg()
3493 if (debug & DEBUG_HFCMULTI_MSG) handle_bmsg()
3511 if (debug & DEBUG_HFCMULTI_DTMF) handle_bmsg()
3530 if (debug & DEBUG_HFCMULTI_MSG) handle_bmsg()
3537 if (debug & DEBUG_HFCMULTI_MSG) handle_bmsg()
3593 if (debug & DEBUG_HFCMULTI_MSG) channel_bctrl()
3603 if (debug & DEBUG_HFCMULTI_MSG) channel_bctrl()
3626 if (debug & DEBUG_HFCMULTI_MSG) channel_bctrl()
3646 if (debug & DEBUG_HFCMULTI_MSG) channel_bctrl()
3653 if (debug & DEBUG_HFCMULTI_MSG) channel_bctrl()
3666 if (debug & DEBUG_HFCMULTI_MSG) channel_bctrl()
3671 if (debug & DEBUG_HFCMULTI_MSG) channel_bctrl()
3680 if (debug & DEBUG_HFCMULTI_MSG) channel_bctrl()
3703 if (bch->debug & DEBUG_HW) hfcm_bctrl()
3747 if (debug & DEBUG_HFCMULTI_STATE) ph_state_change()
3752 if (debug & DEBUG_HFCMULTI_STATE) ph_state_change()
3785 if (debug & DEBUG_HFCMULTI_STATE) ph_state_change()
3808 if (debug & DEBUG_HFCMULTI_STATE) ph_state_change()
3868 if (debug & DEBUG_HFCMULTI_INIT) hfcmulti_initmode()
3923 if (debug & DEBUG_HFCMULTI_INIT) hfcmulti_initmode()
3929 if (debug & DEBUG_HFCMULTI_INIT) hfcmulti_initmode()
3945 if (debug & DEBUG_HFCMULTI_INIT) hfcmulti_initmode()
3953 if (debug & DEBUG_HFCMULTI_INIT) hfcmulti_initmode()
3960 if (debug & DEBUG_HFCMULTI_INIT) hfcmulti_initmode()
4005 if (debug & DEBUG_HFCMULTI_INIT) hfcmulti_initmode()
4014 if (debug & DEBUG_HFCMULTI_INIT) hfcmulti_initmode()
4054 if (debug & DEBUG_HFCMULTI_INIT) hfcmulti_initmode()
4066 if (debug & DEBUG_HW_OPEN) open_dchannel()
4073 if (debug & DEBUG_HFCMULTI_MODE) open_dchannel()
4148 if (debug & DEBUG_HFCMULTI_MSG) channel_dctrl()
4168 if (debug & DEBUG_HFCMULTI_MSG) channel_dctrl()
4195 if (dch->debug & DEBUG_HW) hfcm_dctrl()
4225 if (debug & DEBUG_HW_OPEN) hfcm_dctrl()
4237 if (dch->debug & DEBUG_HW) hfcm_dctrl()
4270 if (debug & DEBUG_HFCMULTI_INIT) init_card()
4295 if (debug & DEBUG_HFCMULTI_INIT) init_card()
4316 if (debug & DEBUG_HFCMULTI_INIT) init_card()
4320 if (debug & DEBUG_HFCMULTI_INIT) init_card()
4343 if (debug & DEBUG_HFCMULTI_INIT) init_card()
4350 if (debug & DEBUG_HFCMULTI_INIT) init_card()
4540 if (debug & DEBUG_HFCMULTI_INIT) release_port()
4550 if (debug & DEBUG_HFCMULTI_INIT) release_port()
4582 if (debug & DEBUG_HFCMULTI_INIT) release_port()
4604 if (debug & DEBUG_HFCMULTI_INIT) release_port()
4618 if (debug & DEBUG_HFCMULTI_INIT) release_port()
4635 if (debug & DEBUG_HFCMULTI_INIT) release_port()
4641 if (debug & DEBUG_HFCMULTI_INIT) release_port()
4651 if (debug & DEBUG_HFCMULTI_INIT) release_card()
4665 if (debug & DEBUG_HFCMULTI_INIT) release_card()
4674 if (debug & DEBUG_HFCMULTI_INIT) release_card()
4689 if (debug & DEBUG_HFCMULTI_INIT) release_card()
4694 if (debug & DEBUG_HFCMULTI_INIT) release_card()
4699 if (debug & DEBUG_HFCMULTI_INIT) release_card()
4714 if (debug & DEBUG_HFCMULTI_INIT) init_e1_port_hw()
4727 if (debug & DEBUG_HFCMULTI_INIT) init_e1_port_hw()
4736 if (debug & DEBUG_HFCMULTI_INIT) init_e1_port_hw()
4745 if (debug & DEBUG_HFCMULTI_INIT) init_e1_port_hw()
4755 if (debug & DEBUG_HFCMULTI_INIT) init_e1_port_hw()
4765 if (debug & DEBUG_HFCMULTI_INIT) init_e1_port_hw()
4772 if (debug & DEBUG_HFCMULTI_INIT) init_e1_port_hw()
4779 if (debug & DEBUG_HFCMULTI_INIT) init_e1_port_hw()
4786 if (debug & DEBUG_HFCMULTI_INIT) init_e1_port_hw()
4794 if (debug & DEBUG_HFCMULTI_INIT) init_e1_port_hw()
4803 if (debug & DEBUG_HFCMULTI_INIT) init_e1_port_hw()
4825 dch->debug = debug; init_e1_port()
4857 bch->debug = debug; init_e1_port()
4898 dch->debug = debug; init_multi_port()
4930 bch->debug = debug; init_multi_port()
4943 if (debug & DEBUG_HFCMULTI_INIT) init_multi_port()
4968 if (debug & DEBUG_HFCMULTI_INIT) init_multi_port()
4978 if (debug & DEBUG_HFCMULTI_INIT) init_multi_port()
5030 if (debug & DEBUG_HFCMULTI_INIT) hfcmulti_init()
5165 if (debug & DEBUG_HFCMULTI_INIT) hfcmulti_init()
5282 if (debug) hfc_remove_pci()
5293 if (debug) hfc_remove_pci()
5506 if (debug & DEBUG_HFCMULTI_INIT) HFCmulti_init()
H A Dhfcsusb.c23 * debug=<n>, default=0, with n=0xHHHHGGGG
25 * G - common mISDN debug flags described at mISDNhw.h
40 static unsigned int debug; variable
49 module_param(debug, uint, S_IRUGO | S_IWUSR);
69 if (debug & DBG_HFC_CALL_TRACE) ctrl_start_transfer()
94 if (debug & DBG_HFC_CALL_TRACE) write_reg()
121 if (debug & DBG_HFC_CALL_TRACE) ctrl_complete()
197 if (debug & DBG_HFC_CALL_TRACE) handle_led()
218 if (debug & DBG_HFC_CALL_TRACE) hfcusb_l2l1B()
226 if (debug & DBG_HFC_CALL_TRACE) hfcusb_l2l1B()
296 if (debug & DBG_HFC_CALL_TRACE) hfcusb_l2l1D()
310 if (debug & DBG_HFC_CALL_TRACE) hfcusb_l2l1D()
334 if (debug & DBG_HFC_CALL_TRACE) hfcusb_l2l1D()
379 if (debug & DBG_HFC_CALL_TRACE) hfc_l1callback()
414 if (dch->debug & DEBUG_HW) hfc_l1callback()
429 if (debug & DEBUG_HW_OPEN) open_dchannel()
487 if (debug & DBG_HFC_CALL_TRACE) open_bchannel()
508 if (debug & DBG_HFC_CALL_TRACE) channel_ctrl()
538 if (dch->debug & DEBUG_HW) hfc_dctrl()
554 if (debug & DEBUG_HW_OPEN) hfc_dctrl()
571 if (dch->debug & DEBUG_HW) hfc_dctrl()
587 if (debug & DEBUG_HW) { ph_state_te()
628 if (debug & DEBUG_HW) { ph_state_nt()
698 if (debug & DEBUG_HW) hfcsusb_setup_bch()
729 if (debug & DEBUG_HW) hfcsusb_setup_bch()
769 if (debug & DEBUG_HW) hfcsusb_ph_command()
823 if (debug & DBG_HFC_CALL_TRACE) hfcsusb_rx_frame()
903 if (debug & DBG_HFC_FIFO_VERBOSE) { hfcsusb_rx_frame()
927 if (debug & DBG_HFC_FIFO_VERBOSE) { hfcsusb_rx_frame()
1000 if (debug & DEBUG_HW) rx_iso_complete()
1020 if (iso_status && (debug & DBG_HFC_FIFO_VERBOSE)) { rx_iso_complete()
1028 (debug & DBG_HFC_USB_VERBOSE)) { rx_iso_complete()
1077 if (debug & DEBUG_HW) rx_iso_complete()
1083 if (status && (debug & DBG_HFC_URB_INFO)) rx_iso_complete()
1111 if (debug & DBG_HFC_URB_ERROR) rx_int_complete()
1124 if ((fifon == HFCUSB_D_RX) && (debug & DBG_HFC_USB_VERBOSE)) { rx_int_complete()
1156 if (debug & DEBUG_HW) rx_int_complete()
1212 if (debug & DBG_HFC_URB_ERROR) tx_iso_complete()
1241 if (debug & DBG_HFC_URB_ERROR) { tx_iso_complete()
1299 (debug & DBG_HFC_USB_VERBOSE)) { tx_iso_complete()
1331 if (debug & DBG_HFC_FIFO_VERBOSE) { tx_iso_complete()
1354 if (debug & DEBUG_HW) tx_iso_complete()
1372 if (status && (debug & DBG_HFC_URB_ERROR)) tx_iso_complete()
1392 if (debug) start_isoc_chain()
1460 if (debug) stop_iso_gracefull()
1471 if (debug && fifo->stop_gracefull) stop_iso_gracefull()
1485 if (debug) stop_int_gracefull()
1494 if (debug && fifo->stop_gracefull) stop_int_gracefull()
1506 if (debug) start_int_fifo()
1531 if (debug & DEBUG_HW) setPortMode()
1556 if (debug & DEBUG_HW) reset_hfcsusb()
1705 if (debug & DBG_HFC_CALL_TRACE) setup_hfcsusb()
1743 if (debug & DBG_HFC_CALL_TRACE) release_hw()
1783 if (bch->debug & DEBUG_HW) deactivate_bchannel()
1803 if (bch->debug & DEBUG_HW) hfc_bctrl()
1837 if (debug & DBG_HFC_CALL_TRACE) setup_instance()
1844 hw->dch.debug = debug & 0xFFFF; setup_instance()
1860 hw->bch[i].debug = debug; setup_instance()
H A Dspeedfax.c67 static u32 debug; variable
91 card->isac.dch.debug = debug; _set_debug()
92 card->isar.ch[0].bch.debug = debug; _set_debug()
93 card->isar.ch[1].bch.debug = debug; _set_debug()
116 module_param_call(debug, set_debug, param_get_uint, &debug, S_IRUGO | S_IWUSR);
117 MODULE_PARM_DESC(debug, "Speedfax debug mask");
310 if (debug & DEBUG_HW) init_card()
400 if (debug & DEBUG_HW) setup_instance()
H A Dhfcpci.c28 * debug:
30 * See hfc_pci.h for debug flags.
59 static uint debug; variable
66 module_param(debug, uint, S_IRUGO | S_IWUSR);
379 if (hc->bch[fifo].debug & DEBUG_HW_BCHANNEL) hfcpci_clear_fifo_tx()
393 if (hc->bch[fifo].debug & DEBUG_HW_BCHANNEL) hfcpci_clear_fifo_tx()
412 if ((bch->debug & DEBUG_HW_BCHANNEL) && !(bch->debug & DEBUG_HW_BFIFO)) hfcpci_empty_bfifo()
421 if (bch->debug & DEBUG_HW) hfcpci_empty_bfifo()
481 if (dch->debug & DEBUG_HW_DCHANNEL) receive_dmsg()
491 if (dch->debug & DEBUG_HW) receive_dmsg()
634 if (bch->debug & DEBUG_HW_BCHANNEL) main_rec_hfcpci()
643 if (bch->debug & DEBUG_HW_BCHANNEL) main_rec_hfcpci()
683 if ((dch->debug & DEBUG_HW_DCHANNEL) && !(dch->debug & DEBUG_HW_DFIFO)) hfcpci_fill_dfifo()
693 if (dch->debug & DEBUG_HW_DFIFO) hfcpci_fill_dfifo()
701 if (dch->debug & DEBUG_HW_DCHANNEL) hfcpci_fill_dfifo()
715 if (dch->debug & DEBUG_HW_DCHANNEL) hfcpci_fill_dfifo()
719 if (dch->debug & DEBUG_HW_DCHANNEL) hfcpci_fill_dfifo()
762 if ((bch->debug & DEBUG_HW_BCHANNEL) && !(bch->debug & DEBUG_HW_BFIFO)) hfcpci_fill_fifo()
783 if (bch->debug & DEBUG_HW_BCHANNEL) hfcpci_fill_fifo()
801 if (bch->debug & DEBUG_HW_BFIFO) hfcpci_fill_fifo()
837 if (bch->debug & DEBUG_HW_BFIFO) hfcpci_fill_fifo()
860 if (bch->debug & DEBUG_HW_BCHANNEL) hfcpci_fill_fifo()
869 if (bch->debug & DEBUG_HW_BCHANNEL) hfcpci_fill_fifo()
880 if (bch->debug & DEBUG_HW_BCHANNEL) hfcpci_fill_fifo()
885 if (bch->debug & DEBUG_HW_BCHANNEL) hfcpci_fill_fifo()
924 if (dch->debug) ph_state_te()
972 if (dch->debug) ph_state_nt()
1118 if (dch->debug & DEBUG_HW) hfc_l1callback()
1171 if (hc->dch.debug & DEBUG_HW_DCHANNEL) hfcpci_int()
1181 if (hc->dch.debug & DEBUG_HW_DCHANNEL) hfcpci_int()
1186 if (hc->dch.debug & DEBUG_HW_DCHANNEL) hfcpci_int()
1205 else if (hc->dch.debug) hfcpci_int()
1212 else if (hc->dch.debug) hfcpci_int()
1219 else if (hc->dch.debug) hfcpci_int()
1226 else if (hc->dch.debug) hfcpci_int()
1258 if (bch->debug & DEBUG_HW_BCHANNEL) mode_hfcpci()
1448 if (bch->debug & DEBUG_HW_BCHANNEL) set_hfcpci_rxtest()
1546 if (bch->debug & DEBUG_HW) hfc_bctrl()
1894 if (debug & DEBUG_HW_OPEN) open_dchannel()
1971 if (dch->debug & DEBUG_HW) hfc_dctrl()
1984 if (debug & DEBUG_HW_OPEN) hfc_dctrl()
1994 if (dch->debug & DEBUG_HW) hfc_dctrl()
2089 card->dch.debug = debug; setup_card()
2102 card->bch[i].debug = debug; setup_card()
2257 if (debug) hfc_remove_pci()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
H A Ddebug.h69 unsigned int level; /* debug level */
73 * enum ath5k_debug_level - ath5k debug level
86 * @ATH5K_DEBUG_DMA: debug dma start/stop
89 * @ATH5K_DEBUG_ANY: show at any debug level
91 * The debug level is used to control the amount and type of debugging output
92 * we want to see. The debug level is given in calls to ATH5K_DBG to specify
94 * messages he wants to see, either by the module parameter 'debug' on module
95 * load, or dynamically by using debugfs 'ath5k/phyX/debug'. these levels can
117 if (unlikely((_sc)->debug.level & (_m) && net_ratelimit())) \
123 if (unlikely((_sc)->debug.level & (_m))) \
/linux-4.1.27/net/l2tp/
H A Dl2tp_core.h28 L2TP_MSG_DEBUG = (1 << 0), /* verbose debug (if
68 int debug; /* bitmask of debug message member in struct:l2tp_session_cfg
126 int debug; /* bitmask of debug message member in struct:l2tp_session
152 int debug; /* bitmask of debug message member in struct:l2tp_tunnel_cfg
182 int debug; /* bitmask of debug message member in struct:l2tp_tunnel
313 if (((ptr)->debug) & (type)) \
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/
H A Ddebugfs.c25 #include "../wlcore/debug.h"
39 WL18XX_DEBUGFS_FWSTATS_FILE(debug, debug1, "%u");
40 WL18XX_DEBUGFS_FWSTATS_FILE(debug, debug2, "%u");
41 WL18XX_DEBUGFS_FWSTATS_FILE(debug, debug3, "%u");
42 WL18XX_DEBUGFS_FWSTATS_FILE(debug, debug4, "%u");
43 WL18XX_DEBUGFS_FWSTATS_FILE(debug, debug5, "%u");
44 WL18XX_DEBUGFS_FWSTATS_FILE(debug, debug6, "%u");
304 DEBUGFS_FWSTATS_ADD(debug, debug1); wl18xx_debugfs_add_files()
305 DEBUGFS_FWSTATS_ADD(debug, debug2); wl18xx_debugfs_add_files()
306 DEBUGFS_FWSTATS_ADD(debug, debug3); wl18xx_debugfs_add_files()
307 DEBUGFS_FWSTATS_ADD(debug, debug4); wl18xx_debugfs_add_files()
308 DEBUGFS_FWSTATS_ADD(debug, debug5); wl18xx_debugfs_add_files()
309 DEBUGFS_FWSTATS_ADD(debug, debug6); wl18xx_debugfs_add_files()
/linux-4.1.27/include/acpi/
H A Dacoutput.h3 * Name: acoutput.h -- debug output
85 * Raw debug output levels, do not use these in the ACPI_DEBUG_PRINT macros
179 /* Defaults for debug_level, debug and normal */
187 * The module name is used primarily for error and debug messages.
190 * debug output difficult to read.
195 * For the no-debug and no-error-msg cases, we must at least define
211 * These macros are used for both the debug and non-debug versions of the code.
251 * Note: (const char) is used to be compatible with the debug interfaces
263 * Common parameters used for debug output functions:
269 /* Check if debug output is currently dynamically enabled */
275 * Master debug print macros
281 * debug message outside of the print function itself. This improves overall
365 * debug case if code optimzation is disabled.)
418 /* Various object display routines for debug */
428 * This is the non-debug case -- make everything go away,
429 * leaving no executable debug code!
/linux-4.1.27/drivers/message/fusion/
H A Dmptdebug.h16 * debug level can be programmed on the fly via SysFS (hex values)
24 * this allow enabling debug at driver load time (for all iocs)
31 * CONFIG_FUSION_LOGGING - enables compiling debug into driver
36 * Please note most debug prints are set to logging priority = debug
79 * debug macros
/linux-4.1.27/drivers/s390/net/
H A Dctcm_dbug.h14 #include <asm/debug.h>
33 /* define dbf debug levels similar to kernel msg levels */
42 #define CTC_DBF_DEBUG 6 /* debug-level messages */
/linux-4.1.27/arch/s390/kernel/vdso32/
H A Dvdso32.lds.S63 * DWARF debug sections.
68 .debug 0 : { *(.debug) }
/linux-4.1.27/arch/s390/kernel/vdso64/
H A Dvdso64.lds.S63 * DWARF debug sections.
68 .debug 0 : { *(.debug) }
/linux-4.1.27/tools/lib/api/fs/
H A Ddebugfs.c17 #define DEBUGFS_DEFAULT_PATH "/sys/kernel/debug"
24 "/debug",
95 "Hint:\tTry 'sudo mount -t debugfs nodev /sys/kernel/debug'"); debugfs__strerror_open()
/linux-4.1.27/drivers/ide/
H A Dide-gd.h7 /* define to see debug info */
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Daf9005-remote.c27 /* debug */
29 module_param_named(debug, dvb_usb_af9005_remote_debug, int, 0644);
30 MODULE_PARM_DESC(debug,
31 "enable (1) or disable (0) debug messages."
H A Dnova-t-usb2.c14 static int debug; variable
15 module_param(debug, int, 0644);
16 MODULE_PARM_DESC(debug, "set debugging level (1=rc,2=eeprom (|-able))." DVB_USB_DEBUG_STATUS);
20 #define deb_rc(args...) dprintk(debug,0x01,args)
21 #define deb_ee(args...) dprintk(debug,0x02,args)
/linux-4.1.27/fs/jfs/
H A Djfs_debug.h25 * global debug message, data structure/macro definitions
51 * debug ON
73 /* debug message: ad hoc */
92 * debug OFF
/linux-4.1.27/drivers/media/common/b2c2/
H A Dflexcop.h14 /* debug */
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dlnbp22.c39 static int debug; variable
40 module_param(debug, int, 0644);
41 MODULE_PARM_DESC(debug, "Turn on/off debugging (default:off).");
44 #define dprintk(lvl, arg...) if (debug >= (lvl)) printk(arg)
/linux-4.1.27/arch/mn10300/kernel/
H A DMakefile19 mn10300-debug.o
/linux-4.1.27/arch/parisc/kernel/
H A DMakefile15 # Do not profile debug and lowlevel utilities
/linux-4.1.27/arch/arm/include/asm/
H A Ddma-iommu.h8 #include <linux/dma-debug.h>
/linux-4.1.27/tools/lib/lockdep/uinclude/linux/
H A Dkern_levels.h14 #define KERN_DEBUG KERN_SOH "" /* debug-level messages */
/linux-4.1.27/tools/perf/arch/arm/util/
H A Dunwind-libunwind.c6 #include "../../util/debug.h"
/linux-4.1.27/tools/perf/arch/x86/util/
H A Dtsc.c8 #include "../../util/debug.h"
/linux-4.1.27/tools/perf/ui/tui/
H A Dhelpline.c6 #include "../../util/debug.h"
/linux-4.1.27/drivers/net/ppp/
H A Dppp_deflate.c32 int debug; member in struct:ppp_deflate_state
45 int unit, int hdrlen, int debug);
48 int unit, int hdrlen, int mru, int debug);
133 * @debug: debug flag; if non-zero, debug messages are printed.
141 int unit, int hdrlen, int debug) z_comp_init()
155 state->debug = debug; z_comp_init()
231 if (state->debug) z_compress()
348 * @debug: debug flag; if non-zero, debug messages are printed.
356 int unit, int hdrlen, int mru, int debug) z_decomp_init()
370 state->debug = debug; z_decomp_init()
423 if (state->debug) z_decompress()
432 if (state->debug) z_decompress()
465 if (state->debug) z_decompress()
491 if (state->debug) z_decompress()
499 if (state->debug) z_decompress()
548 if (state->debug) { z_incomp()
140 z_comp_init(void *arg, unsigned char *options, int opt_len, int unit, int hdrlen, int debug) z_comp_init() argument
355 z_decomp_init(void *arg, unsigned char *options, int opt_len, int unit, int hdrlen, int mru, int debug) z_decomp_init() argument
/linux-4.1.27/drivers/platform/x86/
H A Dsamsung-laptop.c351 struct samsung_laptop_debug debug; member in struct:samsung_laptop
394 static bool debug; variable
395 module_param(debug, bool, S_IRUGO | S_IWUSR);
396 MODULE_PARM_DESC(debug, "Debug enabled or not");
409 if (debug) { sabi_command()
441 * so we only add a warning in debug mode since we will sabi_command()
444 if (complete != 0xaa || (iface_data == 0xff && debug)) sabi_command()
461 if (debug && out) { sabi_command()
1258 struct sabi_data *sdata = &samsung->debug.data; show_call()
1262 samsung->debug.command, show_call()
1265 ret = sabi_command(samsung, samsung->debug.command, sdata, sdata); show_call()
1269 samsung->debug.command); show_call()
1293 debugfs_remove_recursive(samsung->debug.root); samsung_debugfs_exit()
1300 samsung->debug.root = debugfs_create_dir("samsung-laptop", NULL); samsung_debugfs_init()
1301 if (!samsung->debug.root) { samsung_debugfs_init()
1306 samsung->debug.f0000_wrapper.data = samsung->f0000_segment; samsung_debugfs_init()
1307 samsung->debug.f0000_wrapper.size = 0xffff; samsung_debugfs_init()
1309 samsung->debug.data_wrapper.data = &samsung->debug.data; samsung_debugfs_init()
1310 samsung->debug.data_wrapper.size = sizeof(samsung->debug.data); samsung_debugfs_init()
1312 samsung->debug.sdiag_wrapper.data = samsung->sdiag; samsung_debugfs_init()
1313 samsung->debug.sdiag_wrapper.size = strlen(samsung->sdiag); samsung_debugfs_init()
1316 samsung->debug.root, &samsung->debug.command); samsung_debugfs_init()
1320 dent = debugfs_create_u32("d0", S_IRUGO | S_IWUSR, samsung->debug.root, samsung_debugfs_init()
1321 &samsung->debug.data.d0); samsung_debugfs_init()
1325 dent = debugfs_create_u32("d1", S_IRUGO | S_IWUSR, samsung->debug.root, samsung_debugfs_init()
1326 &samsung->debug.data.d1); samsung_debugfs_init()
1330 dent = debugfs_create_u16("d2", S_IRUGO | S_IWUSR, samsung->debug.root, samsung_debugfs_init()
1331 &samsung->debug.data.d2); samsung_debugfs_init()
1335 dent = debugfs_create_u8("d3", S_IRUGO | S_IWUSR, samsung->debug.root, samsung_debugfs_init()
1336 &samsung->debug.data.d3); samsung_debugfs_init()
1341 samsung->debug.root, samsung_debugfs_init()
1342 &samsung->debug.data_wrapper); samsung_debugfs_init()
1347 samsung->debug.root, samsung_debugfs_init()
1348 &samsung->debug.f0000_wrapper); samsung_debugfs_init()
1353 samsung->debug.root, samsung, samsung_debugfs_init()
1359 samsung->debug.root, samsung_debugfs_init()
1360 &samsung->debug.sdiag_wrapper); samsung_debugfs_init()
1440 if (debug && samsung->sdiag[0]) samsung_sabi_diag()
1455 if (debug || force) samsung_sabi_init()
1473 if (debug || force) samsung_sabi_init()
1490 if (debug) samsung_sabi_init()
/linux-4.1.27/arch/powerpc/kvm/
H A Dbooke_emulate.c158 * can not access debug registers. kvmppc_booke_emulate_mtspr()
169 * can not access debug registers. kvmppc_booke_emulate_mtspr()
181 * can not access debug registers. kvmppc_booke_emulate_mtspr()
192 * can not access debug registers. kvmppc_booke_emulate_mtspr()
204 * can not access debug registers. kvmppc_booke_emulate_mtspr()
215 * can not access debug registers. kvmppc_booke_emulate_mtspr()
226 * can not access debug registers. kvmppc_booke_emulate_mtspr()
241 * can not access debug registers. kvmppc_booke_emulate_mtspr()
252 * can not access debug registers. kvmppc_booke_emulate_mtspr()
263 * can not access debug registers. kvmppc_booke_emulate_mtspr()
384 current->thread.debug = vcpu->arch.dbg_reg; kvmppc_booke_emulate_mtspr()
/linux-4.1.27/drivers/net/wimax/i2400m/
H A Ddebug-levels.h26 /* Maximum compile and run time debug level for all submodules */
30 #include <linux/wimax/debug.h>
H A Dusb-debug-levels.h26 /* Maximum compile and run time debug level for all submodules */
30 #include <linux/wimax/debug.h>
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_debug.h68 * Format for debug message headers
88 /* keep these in sync with lnet/utils/debug.c and lnet/libcfs/debug.c */
121 /* keep these in sync with lnet/utils/debug.c and lnet/libcfs/debug.c */
124 /* keep these in sync with lnet/utils/debug.c and lnet/libcfs/debug.c */
154 /* keep these in sync with lnet/{utils,libcfs}/debug.c */
/linux-4.1.27/drivers/staging/rtl8712/
H A Drtl871x_ioctl.h70 unsigned char dbg; /* 0: without OID debug message
71 * 1: with OID debug message */
/linux-4.1.27/drivers/net/wireless/hostap/
H A Dhostap_config.h38 /* Do not include debug messages into the driver */
41 /* Do not include /proc/net/prism2/wlan#/{registers,debug} */
/linux-4.1.27/fs/xfs/
H A Dxfs_super.h48 # define XFS_DBG_STRING "debug"
50 # define XFS_DBG_STRING "no debug"
/linux-4.1.27/include/media/
H A Dv4l2-common.h50 /* These three macros assume that the debug level is set with a module
51 parameter called 'debug'. */
52 #define v4l_dbg(level, debug, client, fmt, arg...) \
54 if (debug >= (level)) \
73 /* These three macros assume that the debug level is set with a module
74 parameter called 'debug'. */
75 #define v4l2_dbg(level, debug, dev, fmt, arg...) \
77 if (debug >= (level)) \
/linux-4.1.27/arch/cris/kernel/
H A Dprocess.c51 * here to freeze the system for e.g. post-mortem debug purpose when
66 * When a process does an "exec", machine state like FPU and debug
/linux-4.1.27/fs/cifs/
H A Dcifs_debug.h44 * debug ON
65 * debug OFF
/linux-4.1.27/mm/
H A DMakefile24 debug.o $(mmu-y)
51 obj-$(CONFIG_PAGE_POISONING) += debug-pagealloc.o
/linux-4.1.27/net/wimax/
H A Ddebug-levels.h26 /* Maximum compile and run time debug level for all submodules */
30 #include <linux/wimax/debug.h>
/linux-4.1.27/tools/time/
H A Dudelay_test.sh5 # Test is executed by writing and reading to /sys/kernel/debug/udelay_test
21 UDELAY_PATH=/sys/kernel/debug/udelay_test
/linux-4.1.27/drivers/media/platform/davinci/
H A Dvpbe_venc.c61 static int debug = 2; variable
62 module_param(debug, int, 0644);
63 MODULE_PARM_DESC(debug, "Debug level 0-2");
128 v4l2_dbg(debug, 1, sd, "Setting output to Composite\n"); venc_set_dac()
132 v4l2_dbg(debug, 1, sd, "Setting output to Component\n"); venc_set_dac()
136 v4l2_dbg(debug, 1, sd, "Setting output to S-video\n"); venc_set_dac()
150 v4l2_dbg(debug, 2, sd, "venc_enabledigitaloutput\n"); venc_enabledigitaloutput()
235 v4l2_dbg(debug, 2, sd, "venc_set_ntsc\n"); venc_set_ntsc()
281 v4l2_dbg(debug, 2, sd, "venc_set_pal\n"); venc_set_pal()
334 v4l2_dbg(debug, 2, sd, "venc_set_480p59_94\n"); venc_set_480p59_94()
382 v4l2_dbg(debug, 2, sd, "venc_set_576p50\n"); venc_set_576p50()
482 v4l2_dbg(debug, 1, sd, "venc_s_std_output\n"); venc_s_std_output()
499 v4l2_dbg(debug, 1, sd, "venc_s_dv_timings\n"); venc_s_dv_timings()
529 v4l2_dbg(debug, 1, sd, "venc_s_routing\n"); venc_s_routing()
/linux-4.1.27/arch/x86/kernel/
H A Dhw_breakpoint.c27 * using the CPU's debug registers.
46 /* Per cpu debug control register value */
50 /* Per cpu debug address registers values */
74 * as stored in debug register 7.
83 * stored in debug register 7. Return the "enabled" status.
98 * We seek a free debug address register and use it for this
99 * breakpoint. Eventually we enable it in the debug control register.
138 * First we search the debug address register it uses and then we disable
336 * Dump the debug register contents to the user.
400 * Handle debug exception notifications.
406 * is a valid one, i.e. not triggered as a result of lazy debug register
409 * as BD, BS or BT) indicating that more than one debug condition is
465 * bp can be NULL due to lazy debug register switching hw_breakpoint_handler()
500 * Handle debug exception notifications.
/linux-4.1.27/arch/arm64/kernel/
H A Dsuspend.c5 #include <asm/debug-monitors.h>
41 * debug exceptions. Code cannot be run from a CPU PM notifier since by the
42 * time the notifier runs debug exceptions might have been enabled already,
68 * From this point debug exceptions are disabled to prevent cpu_suspend()
115 * before debug exceptions are possibly reenabled cpu_suspend()
/linux-4.1.27/lib/
H A Ddebugobjects.c270 * debug output.
355 * debug_object_init - debug checks when an object is initialized
357 * @descr: pointer to an object specific debug description structure
368 * debug_object_init_on_stack - debug checks when an object on stack is
371 * @descr: pointer to an object specific debug description structure
382 * debug_object_activate - debug checks when an object is activated
384 * @descr: pointer to an object specific debug description structure
448 * debug_object_deactivate - debug checks when an object is deactivated
450 * @descr: pointer to an object specific debug description structure
495 * debug_object_destroy - debug checks when an object is destroyed
497 * @descr: pointer to an object specific debug description structure
541 * debug_object_free - debug checks when an object is freed
543 * @descr: pointer to an object specific debug description structure
581 * debug_object_assert_init - debug checks when object should be init-ed
583 * @descr: pointer to an object specific debug description structure
619 * debug_object_active_state - debug checks object usage state machine
621 * @descr: pointer to an object specific debug description structure
1078 * prevents that the debug code is called on kmem_cache_free() for the
1079 * debug tracker objects to avoid recursive calls.
/linux-4.1.27/drivers/crypto/qat/qat_common/
H A Dadf_transport_debug.c175 ring_debug->debug = debugfs_create_file(entry_name, S_IRUSR, adf_ring_debugfs_add()
178 if (!ring_debug->debug) { adf_ring_debugfs_add()
179 pr_err("QAT: Failed to create ring debug entry.\n"); adf_ring_debugfs_add()
190 debugfs_remove(ring->ring_debug->debug); adf_ring_debugfs_rm()
281 struct dentry *parent = accel_dev->transport->debug; adf_bank_debugfs_add()
287 pr_err("QAT: Failed to create bank debug dir.\n"); adf_bank_debugfs_add()
295 pr_err("QAT: Failed to create bank debug entry.\n"); adf_bank_debugfs_add()
/linux-4.1.27/arch/ia64/kernel/
H A Dperfmon_itanium.h62 * we must clear the (instruction) debug registers if pmc13.ta bit is cleared pfm_ita_pmc_check()
69 /* don't mix debug with perfmon */ pfm_ita_pmc_check()
73 * a count of 0 will mark the debug registers as in use and also pfm_ita_pmc_check()
81 * we must clear the (data) debug registers if pmc11.pt bit is cleared pfm_ita_pmc_check()
88 /* don't mix debug with perfmon */ pfm_ita_pmc_check()
92 * a count of 0 will mark the debug registers as in use and also pfm_ita_pmc_check()
112 .use_rr_dbregs = 1, /* debug register are use for range retrictions */
/linux-4.1.27/drivers/net/appletalk/
H A Dltpc.c130 * range. Change debug to mask: 1 for verbose, 2 for higher level stuff
137 * Change source LTALK_LOGGING debug switch to insmod ... debug=2.
150 * Added debug=1 parameter on insmod for debugging prints. Tried
192 * insmod ltpc.o debug=1
200 static int debug; variable
298 if (debug & DEBUG_LOWER) enQ()
316 if ((debug & DEBUG_LOWER) && qel) { deQ()
532 if (debug & DEBUG_LOWER) printk("idle: fc\n"); idle()
537 if(debug & DEBUG_LOWER) printk("idle: fd\n"); idle()
542 if (debug & DEBUG_LOWER) printk("idle: f9\n"); idle()
571 if(debug & DEBUG_LOWER) printk("idle: fa\n"); idle()
576 if (debug>1) { idle()
609 if(debug & DEBUG_LOWER) printk("idle: fb\n"); idle()
825 if(debug & DEBUG_VERBOSE) printk("ltpc_ioctl called\n"); ltpc_ioctl()
876 if(debug & DEBUG_VERBOSE) { ltpc_poll()
912 if(debug & DEBUG_UPPER) { ltpc_xmit()
922 if(debug & DEBUG_UPPER) { ltpc_xmit()
1087 if(debug & DEBUG_VERBOSE) { ltpc_probe()
1153 if(debug & DEBUG_VERBOSE) { ltpc_probe()
1233 module_param(debug, int, 0);
1254 if(debug & DEBUG_VERBOSE) printk("unregister_netdev\n"); ltpc_cleanup()
1261 if(debug & DEBUG_VERBOSE) printk("freeing irq\n"); ltpc_cleanup()
1266 if(debug & DEBUG_VERBOSE) printk("freeing dma\n"); ltpc_cleanup()
1271 if(debug & DEBUG_VERBOSE) printk("freeing ioaddr\n"); ltpc_cleanup()
1278 if(debug & DEBUG_VERBOSE) printk("free_pages\n"); ltpc_cleanup()
1282 if(debug & DEBUG_VERBOSE) printk("returning from cleanup_module\n"); ltpc_cleanup()

Completed in 3850 milliseconds

1234567891011>>