Home
last modified time | relevance | path

Searched refs:debug (Results 1 – 25 of 857) sorted by relevance

12345678910>>...35

/drivers/gpu/drm/msm/dp/
Ddp_debug.c49 struct dp_debug_private *debug = file->private_data; in dp_debug_read_info() local
57 if (!debug) in dp_debug_read_info()
67 drm_mode = &debug->panel->dp_mode.drm_mode; in dp_debug_read_info()
75 debug->panel->max_pclk_khz); in dp_debug_read_info()
81 debug->panel->link_info.rate); in dp_debug_read_info()
87 debug->panel->link_info.num_lanes); in dp_debug_read_info()
93 debug->panel->link_info.capabilities); in dp_debug_read_info()
127 debug->panel->dp_mode.h_active_low, in dp_debug_read_info()
128 debug->panel->dp_mode.v_active_low); in dp_debug_read_info()
152 debug->panel->dp_mode.bpp); in dp_debug_read_info()
[all …]
/drivers/gpu/drm/i915/
Dintel_runtime_pm.c80 spin_lock_init(&rpm->debug.lock); in init_intel_runtime_pm_wakeref()
96 spin_lock_irqsave(&rpm->debug.lock, flags); in track_intel_runtime_pm_wakeref()
98 if (!rpm->debug.count) in track_intel_runtime_pm_wakeref()
99 rpm->debug.last_acquire = stack; in track_intel_runtime_pm_wakeref()
101 stacks = krealloc(rpm->debug.owners, in track_intel_runtime_pm_wakeref()
102 (rpm->debug.count + 1) * sizeof(*stacks), in track_intel_runtime_pm_wakeref()
105 stacks[rpm->debug.count++] = stack; in track_intel_runtime_pm_wakeref()
106 rpm->debug.owners = stacks; in track_intel_runtime_pm_wakeref()
111 spin_unlock_irqrestore(&rpm->debug.lock, flags); in track_intel_runtime_pm_wakeref()
128 spin_lock_irqsave(&rpm->debug.lock, flags); in untrack_intel_runtime_pm_wakeref()
[all …]
/drivers/pci/hotplug/
Dibmphp_ebda.c114 debug("%s - slot_min = %x\n", __func__, ptr->slot_min); in print_bus_info()
115 debug("%s - slot_max = %x\n", __func__, ptr->slot_max); in print_bus_info()
116 debug("%s - slot_count = %x\n", __func__, ptr->slot_count); in print_bus_info()
117 debug("%s - bus# = %x\n", __func__, ptr->busno); in print_bus_info()
118 debug("%s - current_speed = %x\n", __func__, ptr->current_speed); in print_bus_info()
119 debug("%s - controller_id = %x\n", __func__, ptr->controller_id); in print_bus_info()
121 debug("%s - slots_at_33_conv = %x\n", __func__, ptr->slots_at_33_conv); in print_bus_info()
122 debug("%s - slots_at_66_conv = %x\n", __func__, ptr->slots_at_66_conv); in print_bus_info()
123 debug("%s - slots_at_66_pcix = %x\n", __func__, ptr->slots_at_66_pcix); in print_bus_info()
124 debug("%s - slots_at_100_pcix = %x\n", __func__, ptr->slots_at_100_pcix); in print_bus_info()
[all …]
Dibmphp_core.c39 static bool debug; variable
40 module_param(debug, bool, S_IRUGO | S_IWUSR);
41 MODULE_PARM_DESC(debug, "Debugging mode enabled or not");
66 debug("options = %x\n", slot_cur->ctrl->options); in get_cur_bus_info()
67 debug("revision = %x\n", slot_cur->ctrl->revision); in get_cur_bus_info()
82 debug("busstatus = %x, bus_speed = %x, bus_mode = %x\n", in get_cur_bus_info()
148 debug("(*cur_slot)->irq[0] = %x\n", in ibmphp_init_devno()
150 debug("(*cur_slot)->irq[1] = %x\n", in ibmphp_init_devno()
152 debug("(*cur_slot)->irq[2] = %x\n", in ibmphp_init_devno()
154 debug("(*cur_slot)->irq[3] = %x\n", in ibmphp_init_devno()
[all …]
Dibmphp_pci.c81 debug("inside configure_card, func->busno = %x\n", func->busno); in ibmphp_configure_card()
98 debug("inside the loop, cur_func->busno = %x, cur_func->device = %x, cur_func->function = %x\n", in ibmphp_configure_card()
103 debug("vendor_id is %x\n", vendor_id); in ibmphp_configure_card()
106 debug("found valid device, vendor_id = %x\n", vendor_id); in ibmphp_configure_card()
119 debug("hrd_type = %x, class = %x, class_code %x\n", hdr_type, class, class_code); in ibmphp_configure_card()
132debug("single device case.... vendor id = %x, hdr_type = %x, class = %x\n", vendor_id, hdr_type, c… in ibmphp_configure_card()
233 debug("class now is %x\n", class); in ibmphp_configure_card()
242 debug("cur_func->busno b4 configure_bridge is %x\n", cur_func->busno); in ibmphp_configure_card()
256 debug("cur_func->busno = %x, device = %x, function = %x\n", in ibmphp_configure_card()
259 debug("after configuring bridge..., sec_number = %x\n", sec_number); in ibmphp_configure_card()
[all …]
Dibmphp_hpc.c29 #define debug_polling(fmt, arg...) do { if (to_debug) debug(fmt, arg); } while (0)
186 debug("%s - Error : WPG timeout\n", __func__); in i2c_ctrl_read()
202 debug("ctrl_read - Exit Error:I2C timeout\n"); in i2c_ctrl_read()
297 debug("%s - Exit Error:WPG timeout\n", __func__); in i2c_ctrl_write()
314 debug("ctrl_read - Error : I2C timeout\n"); in i2c_ctrl_write()
353 debug("inside pci_ctrl_read\n"); in pci_ctrl_read()
362 debug("inside pci_ctrl_write\n"); in pci_ctrl_write()
691 debug("%s - ctlr id[%x] physical[%lx] logical[%lx] i2c[%x]\n", __func__, in ibmphp_hpc_writeslot()
775 debug("%s - Entry\n", __func__); in ibmphp_unlock_operations()
778 debug("%s - Exit\n", __func__); in ibmphp_unlock_operations()
[all …]
/drivers/net/wireless/st/cw1200/
Ddebug.h35 ++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()
47 priv->debug->tx_multi_frames += count; 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()
[all …]
/drivers/net/wireless/ath/ath9k/
Ddebug.c32 sc->debug.stats.istats.sync_cause_all++; in ath9k_debug_sync_cause()
34 sc->debug.stats.istats.sync_rtc_irq++; in ath9k_debug_sync_cause()
36 sc->debug.stats.istats.sync_mac_irq++; in ath9k_debug_sync_cause()
38 sc->debug.stats.istats.eeprom_illegal_access++; in ath9k_debug_sync_cause()
40 sc->debug.stats.istats.apb_timeout++; in ath9k_debug_sync_cause()
42 sc->debug.stats.istats.pci_mode_conflict++; in ath9k_debug_sync_cause()
44 sc->debug.stats.istats.host1_fatal++; in ath9k_debug_sync_cause()
46 sc->debug.stats.istats.host1_perr++; in ath9k_debug_sync_cause()
48 sc->debug.stats.istats.trcv_fifo_perr++; in ath9k_debug_sync_cause()
50 sc->debug.stats.istats.radm_cpl_ep++; in ath9k_debug_sync_cause()
[all …]
Dhtc_drv_debug.c202 priv->debug.tx_stats.buf_queued); in read_file_xmit()
205 priv->debug.tx_stats.buf_completed); 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()
221 priv->debug.tx_stats.queue_stats[IEEE80211_AC_BE]); in read_file_xmit()
224 priv->debug.tx_stats.queue_stats[IEEE80211_AC_BK]); in read_file_xmit()
227 priv->debug.tx_stats.queue_stats[IEEE80211_AC_VI]); in read_file_xmit()
230 priv->debug.tx_stats.queue_stats[IEEE80211_AC_VO]); in read_file_xmit()
[all …]
/drivers/scsi/mpt3sas/
Dmpt3sas_debugfs.c44 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
61 debug = kzalloc(sizeof(struct mpt3sas_debugfs_buffer), GFP_KERNEL); in _debugfs_iocdump_open()
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
[all …]
/drivers/scsi/megaraid/
Dmegaraid_sas_debugfs.c51 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
68 debug = kzalloc(sizeof(struct megasas_debugfs_buffer), GFP_KERNEL); in megasas_debugfs_raidmap_open()
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
[all …]
/drivers/scsi/fnic/
Dfnic_debugfs.c453 struct stats_debug_info *debug; in fnic_reset_stats_open() local
455 debug = kzalloc(sizeof(struct stats_debug_info), GFP_KERNEL); in fnic_reset_stats_open()
456 if (!debug) in fnic_reset_stats_open()
459 debug->i_private = inode->i_private; in fnic_reset_stats_open()
461 file->private_data = debug; in fnic_reset_stats_open()
485 struct stats_debug_info *debug = file->private_data; in fnic_reset_stats_read() local
486 struct fnic *fnic = (struct fnic *)debug->i_private; in fnic_reset_stats_read()
513 struct stats_debug_info *debug = file->private_data; in fnic_reset_stats_write() local
514 struct fnic *fnic = (struct fnic *)debug->i_private; in fnic_reset_stats_write()
576 struct stats_debug_info *debug = file->private_data; in fnic_reset_stats_release() local
[all …]
/drivers/scsi/lpfc/
Dlpfc_debugfs.c1940 struct lpfc_debug *debug; in lpfc_debugfs_disc_trc_open() local
1949 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_disc_trc_open()
1950 if (!debug) in lpfc_debugfs_disc_trc_open()
1957 debug->buffer = kmalloc(size, GFP_KERNEL); in lpfc_debugfs_disc_trc_open()
1958 if (!debug->buffer) { in lpfc_debugfs_disc_trc_open()
1959 kfree(debug); in lpfc_debugfs_disc_trc_open()
1963 debug->len = lpfc_debugfs_disc_trc_data(vport, debug->buffer, size); in lpfc_debugfs_disc_trc_open()
1964 file->private_data = debug; in lpfc_debugfs_disc_trc_open()
1990 struct lpfc_debug *debug; in lpfc_debugfs_slow_ring_trc_open() local
1999 debug = kmalloc(sizeof(*debug), GFP_KERNEL); in lpfc_debugfs_slow_ring_trc_open()
[all …]
/drivers/scsi/
Dscript_asm.pl39 $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) {
218 printf STDERR "New code : %08x\n", $code[$address] if ($debug);
240 print STDERR "Relative reference $symbol\n" if ($debug);
245 print STDERR "Absolute reference $symbol\n" if ($debug);
249 print STDERR "Referencing symbol $1, length = $length in $_\n" if ($debug);
279 print STDERR "$0 : parsed WHEN\n" if ($debug);
282 print STDERR "$0 : parsed IF\n" if ($debug);
[all …]
/drivers/media/platform/rockchip/rkisp1/
Drkisp1-dev.c427 struct rkisp1_debug *debug = &rkisp1->debug; in rkisp1_debug_init() local
429 debug->debugfs_dir = debugfs_create_dir(dev_name(rkisp1->dev), NULL); in rkisp1_debug_init()
430 debugfs_create_ulong("data_loss", 0444, debug->debugfs_dir, in rkisp1_debug_init()
431 &debug->data_loss); in rkisp1_debug_init()
432 debugfs_create_ulong("outform_size_err", 0444, debug->debugfs_dir, in rkisp1_debug_init()
433 &debug->outform_size_error); in rkisp1_debug_init()
435 debug->debugfs_dir, in rkisp1_debug_init()
436 &debug->img_stabilization_size_error); in rkisp1_debug_init()
437 debugfs_create_ulong("inform_size_error", 0444, debug->debugfs_dir, in rkisp1_debug_init()
438 &debug->inform_size_error); in rkisp1_debug_init()
[all …]
/drivers/net/wireless/ath/ath10k/
Ddebug.c245 ar->debug.fw_stats_done = false; in ath10k_debug_fw_stats_reset()
246 ar->debug.fw_stats.extended = false; in ath10k_debug_fw_stats_reset()
247 ath10k_fw_stats_pdevs_free(&ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_reset()
248 ath10k_fw_stats_vdevs_free(&ar->debug.fw_stats.vdevs); in ath10k_debug_fw_stats_reset()
249 ath10k_fw_stats_peers_free(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_reset()
250 ath10k_fw_extd_stats_peers_free(&ar->debug.fw_stats.peers_extd); in ath10k_debug_fw_stats_reset()
288 if (ar->debug.fw_stats_done) { in ath10k_debug_fw_stats_process()
295 num_peers = ath10k_wmi_fw_stats_num_peers(&ar->debug.fw_stats.peers); in ath10k_debug_fw_stats_process()
296 num_vdevs = ath10k_wmi_fw_stats_num_vdevs(&ar->debug.fw_stats.vdevs); in ath10k_debug_fw_stats_process()
297 is_start = (list_empty(&ar->debug.fw_stats.pdevs) && in ath10k_debug_fw_stats_process()
[all …]
/drivers/net/fddi/skfp/
Dsmtinit.c26 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()
/drivers/net/wireless/ath/ath11k/
Ddebugfs.c86 ar->debug.fw_stats_done = false; in ath11k_debugfs_fw_stats_reset()
87 ath11k_fw_stats_pdevs_free(&ar->debug.fw_stats.pdevs); in ath11k_debugfs_fw_stats_reset()
88 ath11k_fw_stats_vdevs_free(&ar->debug.fw_stats.vdevs); in ath11k_debugfs_fw_stats_reset()
124 list_splice_tail_init(&stats.pdevs, &ar->debug.fw_stats.pdevs); in ath11k_debugfs_fw_stats_process()
125 ar->debug.fw_stats_done = true; in ath11k_debugfs_fw_stats_process()
146 &ar->debug.fw_stats.vdevs); in ath11k_debugfs_fw_stats_process()
149 ar->debug.fw_stats_done = true; in ath11k_debugfs_fw_stats_process()
166 &ar->debug.fw_stats.bcn); in ath11k_debugfs_fw_stats_process()
169 ar->debug.fw_stats_done = true; in ath11k_debugfs_fw_stats_process()
174 complete(&ar->debug.fw_stats_complete); in ath11k_debugfs_fw_stats_process()
[all …]
/drivers/staging/fbtft/
Dfbtft-sysfs.c153 void fbtft_expand_debug_value(unsigned long *debug) in fbtft_expand_debug_value() argument
155 switch (*debug & 0x7) { in fbtft_expand_debug_value()
157 *debug |= DEBUG_LEVEL_1; in fbtft_expand_debug_value()
160 *debug |= DEBUG_LEVEL_2; in fbtft_expand_debug_value()
163 *debug |= DEBUG_LEVEL_3; in fbtft_expand_debug_value()
166 *debug |= DEBUG_LEVEL_4; in fbtft_expand_debug_value()
169 *debug |= DEBUG_LEVEL_5; in fbtft_expand_debug_value()
172 *debug |= DEBUG_LEVEL_6; in fbtft_expand_debug_value()
175 *debug = 0xFFFFFFFF; in fbtft_expand_debug_value()
188 ret = kstrtoul(buf, 10, &par->debug); in store_debug()
[all …]
/drivers/media/i2c/
Dsaa7110.c32 static int debug; variable
33 module_param(debug, int, 0);
34 MODULE_PARM_DESC(debug, "Debug level (0-1)");
191 v4l2_dbg(1, debug, sd, "status=0x%02x (no signal)\n", status); in determine_norm()
197 v4l2_dbg(1, debug, sd, "status=0x%02x (NTSC/no color)\n", status); in determine_norm()
201 v4l2_dbg(1, debug, sd, "status=0x%02x (PAL/no color)\n", status); in determine_norm()
207 v4l2_dbg(1, debug, sd, "status=0x%02x (NTSC)\n", status); in determine_norm()
227 v4l2_dbg(1, debug, sd, "status=0x%02x (SECAM)\n", status); in determine_norm()
231 v4l2_dbg(1, debug, sd, "status=0x%02x (PAL)\n", status); in determine_norm()
241 v4l2_dbg(1, debug, sd, "status=0x%02x norm=%llx\n", in saa7110_g_input_status()
[all …]
Dsaa717x.c34 static int debug; variable
35 module_param(debug, int, 0644);
36 MODULE_PARM_DESC(debug, "Debug level (0-1)");
108 v4l2_dbg(2, debug, sd, "wrote: reg 0x%03x=%08x\n", reg, value); in saa717x_write()
146 v4l2_dbg(2, debug, sd, "read: reg 0x%03x=0x%08x\n", reg, value); in saa717x_read()
721 v4l2_dbg(1, debug, sd, "tvaudio thread status: 0x%x [%s%s%s]\n", in get_inf_dev_status()
725 v4l2_dbg(1, debug, sd, "detailed status: " in get_inf_dev_status()
746 v4l2_dbg(1, debug, sd, "ST!!!\n"); in get_inf_dev_status()
751 v4l2_dbg(1, debug, sd, "DUAL!!!\n"); in get_inf_dev_status()
759 v4l2_dbg(1, debug, sd, "writing registers to set audio mode by set %d\n", in set_audio_mode()
[all …]
Dad9389b.c28 static int debug; variable
29 module_param(debug, int, 0644);
30 MODULE_PARM_DESC(debug, "debug level (0-2)");
145 v4l2_dbg(1, debug, sd, "%s:\n", __func__); in ad9389b_edid_rd()
305 v4l2_dbg(1, debug, sd, in ad9389b_s_ctrl()
440 v4l2_dbg(1, debug, sd, "%s: power %s\n", __func__, on ? "on" : "off"); in ad9389b_s_power()
461 v4l2_dbg(1, debug, sd, "failed to powerup the ad9389b\n"); in ad9389b_s_power()
466 v4l2_dbg(1, debug, sd, in ad9389b_s_power()
540 v4l2_dbg(1, debug, sd, "%s: irq_status 0x%x\n", __func__, irq_status); in ad9389b_isr()
566 v4l2_dbg(1, debug, sd, "%s: %sable\n", __func__, (enable ? "en" : "dis")); in ad9389b_s_stream()
[all …]
/drivers/gpu/drm/i915/display/
Dintel_crtc.c430 crtc->debug.min_vbl = min; in intel_pipe_update_start()
431 crtc->debug.max_vbl = max; in intel_pipe_update_start()
482 crtc->debug.scanline_start = scanline; in intel_pipe_update_start()
483 crtc->debug.start_vbl_time = ktime_get(); in intel_pipe_update_start()
484 crtc->debug.start_vbl_count = intel_crtc_get_vblank_counter(crtc); in intel_pipe_update_start()
496 u64 delta = ktime_to_ns(ktime_sub(end, crtc->debug.start_vbl_time)); in dbg_vblank_evade()
500 if (h >= ARRAY_SIZE(crtc->debug.vbl.times)) in dbg_vblank_evade()
501 h = ARRAY_SIZE(crtc->debug.vbl.times) - 1; in dbg_vblank_evade()
502 crtc->debug.vbl.times[h]++; in dbg_vblank_evade()
504 crtc->debug.vbl.sum += delta; in dbg_vblank_evade()
[all …]
/drivers/isdn/mISDN/
Dl1oip_core.c244 static int debug; variable
258 module_param(debug, uint, S_IRUGO | S_IWUSR);
271 if (debug & DEBUG_L1OIP_MSG) in l1oip_socket_send()
283 if (debug & DEBUG_L1OIP_MSG) in l1oip_socket_send()
288 if (debug & DEBUG_L1OIP_MSG) in l1oip_socket_send()
333 if (debug & DEBUG_L1OIP_MSG) in l1oip_socket_send()
360 if (debug & DEBUG_L1OIP_MSG) in l1oip_socket_recv()
366 if (debug & DEBUG_L1OIP_MSG) in l1oip_socket_recv()
454 if (debug & DEBUG_L1OIP_MSG) in l1oip_socket_parse()
586 if (debug & (DEBUG_L1OIP_MSG | DEBUG_L1OIP_SOCKET)) in l1oip_socket_parse()
[all …]
/drivers/net/wireless/ralink/rt2x00/
Drt2x00debug.c46 const struct rt2x00debug *debug; member
198 if (!try_module_get(intf->debug->owner)) in rt2x00debug_file_open()
208 module_put(intf->debug->owner); in rt2x00debug_file_release()
416 const struct rt2x00debug *debug = intf->debug; \
425 if (index >= debug->__name.word_count) \
428 index += (debug->__name.word_base / \
429 debug->__name.word_size); \
431 if (debug->__name.flags & RT2X00DEBUGFS_OFFSET) \
432 index *= debug->__name.word_size; \
434 value = debug->__name.read(intf->rt2x00dev, index); \
[all …]

12345678910>>...35