/linux/drivers/gpu/drm/msm/dp/ |
A D | dp_debug.c | 41 if (!debug) in dp_debug_show() 48 debug->panel->max_pclk_khz); in dp_debug_show() 217 debug, &dp_debug_fops); in dp_debug_init() 250 debug = devm_kzalloc(dev, sizeof(*debug), GFP_KERNEL); in dp_debug_get() 251 if (!debug) { in dp_debug_get() 257 debug->usbpd = usbpd; in dp_debug_get() 258 debug->link = link; in dp_debug_get() 259 debug->panel = panel; in dp_debug_get() 260 debug->dev = dev; in dp_debug_get() 271 devm_kfree(dev, debug); in dp_debug_get() [all …]
|
/linux/arch/powerpc/kernel/ptrace/ |
A D | ptrace-adv.c | 48 task->thread.debug.dbcr1)) { in user_disable_single_step() 115 task->thread.debug.dbcr1)) { in ptrace_set_debugreg() 241 child->thread.debug.iac1 = 0; in del_instruction_bp() 251 child->thread.debug.iac2 = 0; in del_instruction_bp() 264 child->thread.debug.iac3 = 0; in del_instruction_bp() 274 child->thread.debug.iac4 = 0; in del_instruction_bp() 308 child->thread.debug.dvc1 = in set_dac() 310 child->thread.debug.dbcr2 |= in set_dac() 329 child->thread.debug.dvc2 = in set_dac() 331 child->thread.debug.dbcr2 |= in set_dac() [all …]
|
/linux/tools/testing/selftests/kvm/x86_64/ |
A D | debug_regs.c | 69 #define CLEAR_DEBUG() memset(&debug, 0, sizeof(debug)) 81 struct kvm_guest_debug debug; in main() local 132 run->debug.arch.dr6 == target_dr6, in main() 137 run->debug.arch.dr6, target_dr6); in main() 155 run->debug.arch.dr6 == target_dr6, in main() 160 run->debug.arch.dr6, target_dr6); in main() 176 debug.arch.debugreg[7] = 0x00000400; in main() 182 run->debug.arch.dr6 == target_dr6, in main() 186 run->debug.arch.pc, target_rip, run->debug.arch.dr6, in main() 200 run->debug.arch.dr6 == target_dr6, in main() [all …]
|
/linux/Documentation/s390/ |
A D | s390dbf.rst | 6 - arch/s390/kernel/debug.c 28 debug log for the caller. For each debug log exists a number of debug areas 33 An event-call writes the specified debug entry to the active debug 37 debug area. 45 When an exception is thrown in the last debug area, the following debug 64 ``/sys/kernel/debug`` therefore the debug feature can be accessed under 74 All debug logs have an actual debug level (range from 0 to 6). 99 That prevents the debug feature from overwriting debug information that 228 Flushing debug areas 252 Define 4 pages for the debug areas of debug feature "dasd":: [all …]
|
/linux/drivers/gpu/drm/i915/ |
A D | intel_runtime_pm.c | 88 if (!rpm->debug.count) in track_intel_runtime_pm_wakeref() 96 rpm->debug.owners = stacks; in track_intel_runtime_pm_wakeref() 122 rpm->debug.owners + n + 1, in untrack_intel_runtime_pm_wakeref() 207 *saved = *debug; in __untrack_all_wakerefs() 209 debug->owners = NULL; in __untrack_all_wakerefs() 210 debug->count = 0; in __untrack_all_wakerefs() 217 if (debug->count) { in dump_and_free_wakeref_tracking() 223 kfree(debug->owners); in dump_and_free_wakeref_tracking() 233 &rpm->debug.lock, in __intel_wakeref_dec_and_check_tracking() 266 dbg.count = rpm->debug.count; in print_intel_runtime_pm_wakeref() [all …]
|
/linux/drivers/pci/hotplug/ |
A D | ibmphp_ebda.c | 133 debug("print_lo_info ----\n"); in print_lo_info() 148 debug("%s ---\n", __func__); in print_vg_info() 182 debug("%s ---\n", __func__); in print_opt_vg() 284 debug("hot blk id: %x\n", blk_id); in ibmphp_access_ebda() 345 debug("format: %x\n", format); in ibmphp_access_ebda() 352 debug("now enter io table ---\n"); in ibmphp_access_ebda() 353 debug("rio blk id: %x\n", blk_id); in ibmphp_access_ebda() 724 debug("ctlr id: %x\n", ctlr_id); in ebda_rsrc_controller() 927 debug("now entering rsrc land\n"); in ebda_rsrc_rsrc() 1105 debug("inside ibmphp_probe\n"); in ibmphp_probe() [all …]
|
A D | ibmphp_core.c | 39 static bool debug; variable 176 debug("end of init_devno\n"); in ibmphp_init_devno() 1032 debug("after power_on\n"); in enable_slot() 1149 debug("DISABLING SLOT...\n"); in ibmphp_do_disable_slot() 1242 debug("after slots\n"); in ibmphp_unload() 1244 debug("after resources\n"); in ibmphp_unload() 1246 debug("after bus info\n"); in ibmphp_unload() 1248 debug("after ebda hpc\n"); in ibmphp_unload() 1278 ibmphp_debug = debug; in ibmphp_init() 1320 debug("after polling\n"); in ibmphp_exit() [all …]
|
A D | ibmphp_pci.c | 350 debug("%s - inside\n", __func__); in configure_device() 380 debug("inside IO SPACE\n"); in configure_device() 417 debug("PFMEM SPACE\n"); in configure_device() 481 debug("REGULAR MEM SPACE\n"); in configure_device() 577 debug("%s - enter\n", __func__); in configure_bridge() 803 debug("it doesn't want IO?\n"); in configure_bridge() 900 debug("b4 adding new bus\n"); in configure_bridge() 922 debug("io 32\n"); in configure_bridge() 926 debug("pfmem 64\n"); in configure_bridge() 1323 debug("busno is %x\n", busno); in unconfigure_boot_bridge() [all …]
|
/linux/Documentation/trace/coresight/ |
A D | coresight-cpu-debug.rst | 13 debug module and it is mainly used for two modes: self-hosted debug and 14 external debug. Usually the external debug mode is well known as the external 71 Debug registers', the debug registers are spread into two domains: the debug 90 debug power domain. 183 coresight-cpu-debug 850000.debug: CPU[0]: 184 coresight-cpu-debug 850000.debug: EDPRSR: 00000001 (Power:On DLK:Unlock) 185 coresight-cpu-debug 850000.debug: EDPCSR: handle_IPI+0x174/0x1d8 186 coresight-cpu-debug 850000.debug: EDCIDSR: 00000000 188 coresight-cpu-debug 852000.debug: CPU[1]: 189 coresight-cpu-debug 852000.debug: EDPRSR: 00000001 (Power:On DLK:Unlock) [all …]
|
/linux/drivers/net/wireless/st/cw1200/ |
A D | debug.h | 35 ++priv->debug->tx; in cw1200_debug_txed() 40 ++priv->debug->tx_agg; in cw1200_debug_txed_agg() 46 ++priv->debug->tx_multi; in cw1200_debug_txed_multi() 52 ++priv->debug->rx; in cw1200_debug_rxed() 57 ++priv->debug->rx_agg; in cw1200_debug_rxed_agg() 62 ++priv->debug->tx_cache_miss; in cw1200_debug_tx_cache_miss() 67 ++priv->debug->tx_align; in cw1200_debug_tx_align() 72 ++priv->debug->tx_ttl; in cw1200_debug_tx_ttl() 77 ++priv->debug->tx_burst; in cw1200_debug_tx_burst() 84 priv->debug->ba_cnt = ba_cnt; in cw1200_debug_ba() [all …]
|
/linux/drivers/scsi/mpt3sas/ |
A D | mpt3sas_debugfs.c | 44 struct mpt3sas_debugfs_buffer *debug = filp->private_data; in _debugfs_iocdump_read() local 46 if (!debug || !debug->buf) in _debugfs_iocdump_read() 49 return simple_read_from_buffer(ubuf, cnt, ppos, debug->buf, debug->len); in _debugfs_iocdump_read() 59 struct mpt3sas_debugfs_buffer *debug; in _debugfs_iocdump_open() local 62 if (!debug) in _debugfs_iocdump_open() 65 debug->buf = (void *)ioc; in _debugfs_iocdump_open() 66 debug->len = sizeof(struct MPT3SAS_ADAPTER); in _debugfs_iocdump_open() 67 file->private_data = debug; in _debugfs_iocdump_open() 79 struct mpt3sas_debugfs_buffer *debug = file->private_data; in _debugfs_iocdump_release() local 81 if (!debug) in _debugfs_iocdump_release() [all …]
|
/linux/drivers/scsi/megaraid/ |
A D | megaraid_sas_debugfs.c | 51 struct megasas_debugfs_buffer *debug = filp->private_data; in megasas_debugfs_read() local 53 if (!debug || !debug->buf) in megasas_debugfs_read() 56 return simple_read_from_buffer(ubuf, cnt, ppos, debug->buf, debug->len); in megasas_debugfs_read() 63 struct megasas_debugfs_buffer *debug; in megasas_debugfs_raidmap_open() local 69 if (!debug) in megasas_debugfs_raidmap_open() 72 debug->buf = (void *)fusion->ld_drv_map[(instance->map_id & 1)]; in megasas_debugfs_raidmap_open() 73 debug->len = fusion->drv_map_sz; in megasas_debugfs_raidmap_open() 74 file->private_data = debug; in megasas_debugfs_raidmap_open() 82 struct megasas_debug_buffer *debug = file->private_data; in megasas_debugfs_release() local 84 if (!debug) in megasas_debugfs_release() [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
A D | debug.c | 506 sc->debug.stats.istats.bnr++; in ath_debug_stat_interrupt() 508 sc->debug.stats.istats.cst++; in ath_debug_stat_interrupt() 510 sc->debug.stats.istats.gtt++; in ath_debug_stat_interrupt() 512 sc->debug.stats.istats.tim++; in ath_debug_stat_interrupt() 522 sc->debug.stats.istats.mci++; in ath_debug_stat_interrupt() 900 sc->debug.regidx = regidx; in write_file_regidx() 1423 if (!sc->debug.debugfs_phy) in ath9k_init_debug() 1448 ath9k_cmn_debug_recv(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug() 1449 ath9k_cmn_debug_phy_err(sc->debug.debugfs_phy, &sc->debug.stats.rxstats); in ath9k_init_debug() 1464 sc->debug.debugfs_phy, in ath9k_init_debug() [all …]
|
A D | htc_drv_debug.c | 202 priv->debug.tx_stats.buf_queued); in read_file_xmit() 208 priv->debug.tx_stats.skb_queued); in read_file_xmit() 211 priv->debug.tx_stats.skb_success); in read_file_xmit() 214 priv->debug.tx_stats.skb_failed); in read_file_xmit() 217 priv->debug.tx_stats.cab_queued); in read_file_xmit() 443 #define STXBASE priv->debug.tx_stats 444 #define SRXBASE priv->debug.rx_stats 445 #define SKBTXBASE priv->debug.tx_stats 494 if (!priv->debug.debugfs_phy) in ath9k_htc_init_debug() 510 ath9k_cmn_debug_recv(priv->debug.debugfs_phy, &priv->debug.rx_stats); in ath9k_htc_init_debug() [all …]
|
/linux/drivers/scsi/fnic/ |
A D | fnic_debugfs.c | 455 if (!debug) in fnic_reset_stats_open() 460 file->private_data = debug; in fnic_reset_stats_open() 576 kfree(debug); in fnic_reset_stats_release() 602 if (!debug) in fnic_stats_debugfs_open() 606 if (!debug->debug_buffer) { in fnic_stats_debugfs_open() 607 kfree(debug); in fnic_stats_debugfs_open() 611 debug->buf_size = buf_size; in fnic_stats_debugfs_open() 613 debug->buffer_len = fnic_get_stats_data(debug, fnic_stats); in fnic_stats_debugfs_open() 644 debug->debug_buffer, in fnic_stats_debugfs_read() 645 debug->buffer_len); in fnic_stats_debugfs_read() [all …]
|
/linux/Documentation/driver-api/usb/ |
A D | usb3-debug-port.rst | 2 USB3 debug port 14 debug port, you need to:: 16 1) check whether any USB3 debug port is available in 29 device through the debug port (normally the first USB3 33 (the system under debugging) and a debug host. 60 Before starting the debug target, you should connect the debug 67 to enumerate the debug device in debug target. The debug host 72 to see below kernel messages on the debug host:: 106 debug device provided by the DbC at runtime. 125 Connect the debug target to the debug host with a USB 3.0 super- [all …]
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_debugfs.c | 1949 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_disc_trc_open() 1999 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_slow_ring_trc_open() 2043 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_hbqinfo_open() 2085 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_multixripools_open() 2130 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_lockstat_open() 2259 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_ras_log_open() 2307 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_dumpHBASlim_open() 2349 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_dumpHostSlim_open() 2489 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_nodelist_open() 2655 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_nvmestat_open() [all …]
|
/linux/drivers/scsi/ |
A D | script_asm.pl | 39 $debug = 0; # Print general debugging messages 152 print STDERR "value regex = $value\n" if ($debug); 155 print STDERR "phase regex = $phase\n" if ($debug); 207 if ($debug) { 294 print STDERR "$0 : parsed NOT\n" if ($debug); 308 print STDERR "$0 : parsed ATN\n" if ($debug); 335 print STDERR "$0 : parsed $1\n" if ($debug); 491 ($debug); 524 print STDERR "register source\n" if ($debug); 533 print STDERR "data8 source\n" if ($debug); [all …]
|
/linux/Documentation/ABI/testing/ |
A D | debugfs-hisi-hpre | 1 What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/regs 4 Description: Dump debug registers from the HPRE cluster. 11 and then we can read the debug information of the core. 14 What: /sys/kernel/debug/hisi_hpre/<bdf>/rdclr_en 23 What: /sys/kernel/debug/hisi_hpre/<bdf>/current_qm 30 What: /sys/kernel/debug/hisi_hpre/<bdf>/regs 33 Description: Dump debug registers from the HPRE. 36 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/regs 39 Description: Dump debug registers from the QM. 41 has one debug register. [all …]
|
A D | debugfs-hisi-zip | 1 What: /sys/kernel/debug/hisi_zip/<bdf>/comp_core[01]/regs 4 Description: Dump of compression cores related debug registers. 13 What: /sys/kernel/debug/hisi_zip/<bdf>/clear_enable 22 What: /sys/kernel/debug/hisi_zip/<bdf>/current_qm 29 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/regs 32 Description: Dump of QM related debug registers. 34 has one debug register. 40 show its debug registers in above regs. 52 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/err_irq 77 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/mb_err [all …]
|
/linux/Documentation/devicetree/bindings/arm/ |
A D | coresight-cpu-debug.txt | 3 CoreSight CPU debug component are compliant with the ARMv8 architecture 4 reference manual (ARM DDI 0487A.k) Chapter 'Part H: External debug'. The 5 external debug module is mainly used for two modes: self-hosted debug and 6 external debug, and it can be accessed from mmio region from Coresight 7 and eventually the debug module connects with CPU for debugging. And the 8 debug module provides sample-based profiling extension, which can be used 10 usually every CPU has one dedicated debug module to be connected. 14 - compatible : should be "arm,coresight-cpu-debug"; supplemented with 25 mandatory. The interface between the debug logic and the 43 debug@f6590000 { [all …]
|
/linux/Documentation/fault-injection/ |
A D | fault-injection.rst | 65 - /sys/kernel/debug/fail*/probability: 75 - /sys/kernel/debug/fail*/interval: 83 - /sys/kernel/debug/fail*/times: 90 - /sys/kernel/debug/fail*/space: 96 - /sys/kernel/debug/fail*/verbose 105 - /sys/kernel/debug/fail*/task-filter: 113 - /sys/kernel/debug/fail*/require-start, 114 /sys/kernel/debug/fail*/require-end, 115 /sys/kernel/debug/fail*/reject-start, 116 /sys/kernel/debug/fail*/reject-end: [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
A D | debug.c | 288 if (ar->debug.fw_stats_done) { in ath10k_debug_fw_stats_process() 642 reg_addr = ar->debug.reg_addr; in ath10k_reg_addr_read() 1027 ar->debug.fw_dbglog_mask, ar->debug.fw_dbglog_level); in ath10k_read_fw_dbglog() 1308 ar->debug.cal_data, in ath10k_debug_cal_data_read() 1473 kfree(ar->debug.tpc_stats); in ath10k_debug_tpc_stats_process() 1789 ar->debug.dfs_stats.p)) 1812 ar->debug.dfs_pool_stats = in ath10k_read_dfs_stats() 2518 if (!ar->debug.cal_data) in ath10k_debug_create() 2531 vfree(ar->debug.cal_data); in ath10k_debug_destroy() 2532 ar->debug.cal_data = NULL; in ath10k_debug_destroy() [all …]
|
/linux/drivers/net/fddi/skfp/ |
A D | smtinit.c | 26 struct smt_debug debug; variable 66 debug.d_smt = 0 ; in init_smt() 67 debug.d_smtf = 0 ; in init_smt() 68 debug.d_rmt = 0 ; in init_smt() 69 debug.d_ecm = 0 ; in init_smt() 70 debug.d_pcm = 0 ; in init_smt() 71 debug.d_cfm = 0 ; in init_smt() 73 debug.d_plc = 0 ; in init_smt() 75 debug.d_ess = 0 ; in init_smt() 78 debug.d_sba = 0 ; in init_smt()
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
A D | rkisp1-dev.c | 463 struct rkisp1_debug *debug = &rkisp1->debug; in rkisp1_debug_init() local 467 &debug->data_loss); in rkisp1_debug_init() 469 &debug->outform_size_error); in rkisp1_debug_init() 471 debug->debugfs_dir, in rkisp1_debug_init() 472 &debug->img_stabilization_size_error); in rkisp1_debug_init() 474 &debug->inform_size_error); in rkisp1_debug_init() 476 &debug->irq_delay); in rkisp1_debug_init() 478 &debug->mipi_error); in rkisp1_debug_init() 480 &debug->stats_error); in rkisp1_debug_init() 486 &debug->frame_drop[RKISP1_MAINPATH]); in rkisp1_debug_init() [all …]
|