Home
last modified time | relevance | path

Searched refs:dbg (Results 1 – 25 of 264) sorted by relevance

1234567891011

/Linux-v6.6/drivers/media/platform/st/sti/hva/
Dhva-debugfs.c18 struct hva_ctx_dbg *dbg = &ctx->dbg; in format_ctx() local
101 dbg->cnt_duration, in format_ctx()
102 dbg->avg_duration, in format_ctx()
103 dbg->min_duration, in format_ctx()
104 dbg->max_duration, in format_ctx()
105 dbg->avg_period, in format_ctx()
106 dbg->min_period, in format_ctx()
107 dbg->max_period, in format_ctx()
108 dbg->avg_fps, in format_ctx()
109 dbg->max_fps, in format_ctx()
[all …]
/Linux-v6.6/drivers/hid/
Dhid-wiimote-debug.c26 struct wiimote_debug *dbg = f->private_data; in wiidebug_eeprom_read() local
27 struct wiimote_data *wdata = dbg->wdata; in wiidebug_eeprom_read()
100 struct wiimote_debug *dbg = f->private; in wiidebug_drm_show() local
105 spin_lock_irqsave(&dbg->wdata->state.lock, flags); in wiidebug_drm_show()
106 drm = dbg->wdata->state.drm; in wiidebug_drm_show()
107 spin_unlock_irqrestore(&dbg->wdata->state.lock, flags); in wiidebug_drm_show()
128 struct wiimote_debug *dbg = sf->private; in wiidebug_drm_write() local
153 spin_lock_irqsave(&dbg->wdata->state.lock, flags); in wiidebug_drm_write()
154 dbg->wdata->state.flags &= ~WIIPROTO_FLAG_DRM_LOCKED; in wiidebug_drm_write()
155 wiiproto_req_drm(dbg->wdata, (__u8) i); in wiidebug_drm_write()
[all …]
/Linux-v6.6/sound/soc/fsl/
Dfsl_ssi_dbg.c15 void fsl_ssi_dbg_isr(struct fsl_ssi_dbg *dbg, u32 sisr) in fsl_ssi_dbg_isr() argument
18 dbg->stats.rfrc++; in fsl_ssi_dbg_isr()
21 dbg->stats.tfrc++; in fsl_ssi_dbg_isr()
24 dbg->stats.cmdau++; in fsl_ssi_dbg_isr()
27 dbg->stats.cmddu++; in fsl_ssi_dbg_isr()
30 dbg->stats.rxt++; in fsl_ssi_dbg_isr()
33 dbg->stats.rdr1++; in fsl_ssi_dbg_isr()
36 dbg->stats.rdr0++; in fsl_ssi_dbg_isr()
39 dbg->stats.tde1++; in fsl_ssi_dbg_isr()
42 dbg->stats.tde0++; in fsl_ssi_dbg_isr()
[all …]
/Linux-v6.6/drivers/bluetooth/
Dbtmrvl_debugfs.c142 struct btmrvl_debugfs_data *dbg; in btmrvl_debugfs_init() local
147 dbg = kzalloc(sizeof(*dbg), GFP_KERNEL); in btmrvl_debugfs_init()
148 priv->debugfs_data = dbg; in btmrvl_debugfs_init()
150 if (!dbg) { in btmrvl_debugfs_init()
155 dbg->config_dir = debugfs_create_dir("config", hdev->debugfs); in btmrvl_debugfs_init()
157 debugfs_create_u8("psmode", 0644, dbg->config_dir, in btmrvl_debugfs_init()
159 debugfs_create_file("pscmd", 0644, dbg->config_dir, in btmrvl_debugfs_init()
161 debugfs_create_x16("gpiogap", 0644, dbg->config_dir, in btmrvl_debugfs_init()
163 debugfs_create_u8("hsmode", 0644, dbg->config_dir, in btmrvl_debugfs_init()
165 debugfs_create_file("hscmd", 0644, dbg->config_dir, in btmrvl_debugfs_init()
[all …]
/Linux-v6.6/drivers/gpu/drm/i915/
Dintel_runtime_pm.c167 const struct intel_runtime_pm_debug *dbg) in __print_intel_runtime_pm_wakeref() argument
176 if (dbg->last_acquire) { in __print_intel_runtime_pm_wakeref()
177 stack_depot_snprint(dbg->last_acquire, buf, PAGE_SIZE, 2); in __print_intel_runtime_pm_wakeref()
181 if (dbg->last_release) { in __print_intel_runtime_pm_wakeref()
182 stack_depot_snprint(dbg->last_release, buf, PAGE_SIZE, 2); in __print_intel_runtime_pm_wakeref()
186 drm_printf(p, "Wakeref count: %lu\n", dbg->count); in __print_intel_runtime_pm_wakeref()
188 sort(dbg->owners, dbg->count, sizeof(*dbg->owners), cmphandle, NULL); in __print_intel_runtime_pm_wakeref()
190 for (i = 0; i < dbg->count; i++) { in __print_intel_runtime_pm_wakeref()
191 depot_stack_handle_t stack = dbg->owners[i]; in __print_intel_runtime_pm_wakeref()
195 while (i + 1 < dbg->count && dbg->owners[i + 1] == stack) in __print_intel_runtime_pm_wakeref()
[all …]
/Linux-v6.6/drivers/pci/hotplug/
Dcpci_hotplug_core.c32 #define dbg(format, arg...) \ macro
76 dbg("%s - physical_slot = %s", __func__, slot_name(slot)); in enable_slot()
89 dbg("%s - physical_slot = %s", __func__, slot_name(slot)); in disable_slot()
94 dbg("%s - unconfiguring slot %s", __func__, slot_name(slot)); in disable_slot()
101 dbg("%s - finished unconfiguring slot %s", __func__, slot_name(slot)); in disable_slot()
219 dbg("registering slot %s", name); in cpci_hp_register_bus()
225 dbg("slot registered with name: %s", slot_name(slot)); in cpci_hp_register_bus()
258 dbg("deregistering slot %s", slot_name(slot)); in cpci_hp_unregister_bus()
272 dbg("entered cpci_hp_intr"); in cpci_hp_intr()
277 dbg("exited cpci_hp_intr, not our interrupt"); in cpci_hp_intr()
[all …]
Dcpqphp_sysfs.c134 struct ctrl_dbg *dbg; in open() local
138 dbg = kmalloc(sizeof(*dbg), GFP_KERNEL); in open()
139 if (!dbg) in open()
141 dbg->data = kmalloc(MAX_OUTPUT, GFP_KERNEL); in open()
142 if (!dbg->data) { in open()
143 kfree(dbg); in open()
146 dbg->size = spew_debug_info(ctrl, dbg->data, MAX_OUTPUT); in open()
147 file->private_data = dbg; in open()
156 struct ctrl_dbg *dbg = file->private_data; in lseek() local
157 return fixed_size_llseek(file, off, whence, dbg->size); in lseek()
[all …]
Dcpqphp_core.c109 dbg("Discovered SMBIOS Entry point at %p\n", fp); in detect_SMBIOS_pointer()
168 dbg("bus dev func slot\n"); in pci_print_IRQ_route()
173 dbg("%d %d %d %d\n", tbus, tdevice >> 3, tdevice & 0x7, tslot); in pci_print_IRQ_route()
315 dbg("%s: %p, %d, %d, %p\n", __func__, bus, bus_num, dev_num, slot); in get_slot_mapping()
425 dbg("%s - physical_slot = %s\n", __func__, slot_name(slot)); in set_attention_status()
432 dbg("bus, dev, fn = %d, %d, %d\n", bus, device, function); in set_attention_status()
452 dbg("%s - physical_slot = %s\n", __func__, slot_name(slot)); in process_SI()
459 dbg("bus, dev, fn = %d, %d, %d\n", bus, device, function); in process_SI()
469 dbg("board_added(%p, %p)\n", slot_func, ctrl); in process_SI()
484 dbg("%s - physical_slot = %s\n", __func__, slot_name(slot)); in process_SS()
[all …]
Dcpcihp_zt5550.c30 #define dbg(format, arg...) \ macro
78 dbg("hc_dev = %p", hc_dev); in zt5550_hc_config()
79 dbg("pci resource start %llx", (unsigned long long)pci_resource_start(hc_dev, 1)); in zt5550_hc_config()
80 dbg("pci resource len %llx", (unsigned long long)pci_resource_len(hc_dev, 1)); in zt5550_hc_config()
107 dbg("disabling host control, fault and serial interrupts"); in zt5550_hc_config()
110 dbg("disabled host control, fault and serial interrupts"); in zt5550_hc_config()
115 dbg("disabling timer0, timer1 and ENUM interrupts"); in zt5550_hc_config()
117 dbg("disabled timer0, timer1 and ENUM interrupts"); in zt5550_hc_config()
196 dbg("returned from zt5550_hc_config"); in zt5550_hc_init_one()
218 dbg("registered controller"); in zt5550_hc_init_one()
[all …]
Dcpcihp_generic.c35 #define dbg(format, arg...) \ macro
80 dbg("bridge_busnr = 0x%02x", bridge_busnr); in validate_parameters()
92 dbg("bridge_slot = 0x%02x", bridge_slot); in validate_parameters()
94 dbg("first_slot = 0x%02x", first_slot); in validate_parameters()
95 dbg("last_slot = 0x%02x", last_slot); in validate_parameters()
105 dbg("port = 0x%04x", port); in validate_parameters()
106 dbg("enum_bit = 0x%02x", enum_bit); in validate_parameters()
157 dbg("registered controller"); in cpcihp_generic_init()
164 dbg("registered bus"); in cpcihp_generic_init()
171 dbg("started cpci hp system"); in cpcihp_generic_init()
/Linux-v6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_debugfs.c139 struct hinic_debug_priv *dbg; in hinic_dbg_cmd_read() local
146 dbg = container_of(desc, struct hinic_debug_priv, field_id[*desc]); in hinic_dbg_cmd_read()
148 switch (dbg->type) { in hinic_dbg_cmd_read()
150 out = hinic_dbg_get_sq_info(dbg->dev, dbg->object, *desc); in hinic_dbg_cmd_read()
154 out = hinic_dbg_get_rq_info(dbg->dev, dbg->object, *desc); in hinic_dbg_cmd_read()
158 out = hinic_dbg_get_func_table(dbg->dev, *desc); in hinic_dbg_cmd_read()
162 netif_warn(dbg->dev, drv, dbg->dev->netdev, "Invalid hinic debug cmd: %d\n", in hinic_dbg_cmd_read()
163 dbg->type); in hinic_dbg_cmd_read()
179 struct dentry *root, struct hinic_debug_priv **dbg, char **field, in create_dbg_files() argument
199 *dbg = tmp; in create_dbg_files()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Ddebugfs.c103 return dev->priv.dbg.dbg_root; in mlx5_debugfs_get_dev_root()
109 dev->priv.dbg.qp_debugfs = debugfs_create_dir("QPs", dev->priv.dbg.dbg_root); in mlx5_qp_debugfs_init()
115 debugfs_remove_recursive(dev->priv.dbg.qp_debugfs); in mlx5_qp_debugfs_cleanup()
121 dev->priv.dbg.eq_debugfs = debugfs_create_dir("EQs", dev->priv.dbg.dbg_root); in mlx5_eq_debugfs_init()
126 debugfs_remove_recursive(dev->priv.dbg.eq_debugfs); in mlx5_eq_debugfs_cleanup()
216 cmd = &dev->priv.dbg.cmdif_debugfs; in mlx5_cmdif_debugfs_init()
217 *cmd = debugfs_create_dir("commands", dev->priv.dbg.dbg_root); in mlx5_cmdif_debugfs_init()
252 debugfs_remove_recursive(dev->priv.dbg.cmdif_debugfs); in mlx5_cmdif_debugfs_cleanup()
260 dev->priv.dbg.cq_debugfs = debugfs_create_dir("CQs", dev->priv.dbg.dbg_root); in mlx5_cq_debugfs_init()
265 debugfs_remove_recursive(dev->priv.dbg.cq_debugfs); in mlx5_cq_debugfs_cleanup()
[all …]
/Linux-v6.6/arch/m68k/include/asm/
Dmcfwdebug.h95 unsigned short *dbg; in wdebug() local
98 dbg = (unsigned short *)((((unsigned long)dbg_spc) + 3) & 0xfffffffc); in wdebug()
101 dbg[0] = 0x2c80 | (reg & 0xf); in wdebug()
102 dbg[1] = (data >> 16) & 0xffff; in wdebug()
103 dbg[2] = data & 0xffff; in wdebug()
104 dbg[3] = 0; in wdebug()
112 :: "g" (dbg) : "a0"); in wdebug()
115 asm( "wdebug (%0)" :: "a" (dbg)); in wdebug()
/Linux-v6.6/tools/usb/usbip/libsrc/
Dvhci_driver.c28 dbg("udev_device_new_from_subsystem_sysname failed: %s", busid); in imported_device_init()
63 dbg("sscanf failed: %d", ret); in parse_status()
67 dbg("hub %s port %d status %d speed %d devid %x", in parse_status()
69 dbg("sockfd %u lbusid %s", sockfd, lbusid); in parse_status()
92 dbg("imported_device_init failed"); in parse_status()
104 dbg("exit"); in parse_status()
128 dbg("controller %d", i); in refresh_imported_device_list()
269 dbg("available ports: %d", nports); in usbip_vhci_driver_open()
281 dbg("available controllers: %d", vhci_driver->ncontrollers); in usbip_vhci_driver_open()
330 dbg("failed to refresh device list"); in usbip_vhci_refresh_device_list()
[all …]
/Linux-v6.6/drivers/media/platform/st/sti/bdisp/
Dbdisp-debug.c16 bdisp->dbg.hw_start = ktime_get(); in bdisp_dbg_perf_begin()
23 time_us = ktime_us_delta(ktime_get(), bdisp->dbg.hw_start); in bdisp_dbg_perf_end()
25 if (!bdisp->dbg.min_duration) in bdisp_dbg_perf_end()
26 bdisp->dbg.min_duration = time_us; in bdisp_dbg_perf_end()
28 bdisp->dbg.min_duration = min(time_us, bdisp->dbg.min_duration); in bdisp_dbg_perf_end()
30 bdisp->dbg.last_duration = time_us; in bdisp_dbg_perf_end()
31 bdisp->dbg.max_duration = max(time_us, bdisp->dbg.max_duration); in bdisp_dbg_perf_end()
32 bdisp->dbg.tot_duration += time_us; in bdisp_dbg_perf_end()
325 if (!bdisp->dbg.copy_node[0]) { in last_nodes_show()
331 node = bdisp->dbg.copy_node[i]; in last_nodes_show()
[all …]
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/
Diwl-dbg-tlv.c109 return iwl_dbg_tlv_add(tlv, &trans->dbg.debug_info_tlv_list); in iwl_dbg_tlv_alloc_debug_info()
147 trans->dbg.fw_mon_cfg[alloc_id] = *alloc; in iwl_dbg_tlv_alloc_buf_alloc()
178 return iwl_dbg_tlv_add(tlv, &trans->dbg.time_point[tp].hcmd_list); in iwl_dbg_tlv_alloc_hcmd()
222 trans->dbg.imr_data.sram_addr = in iwl_dbg_tlv_alloc_region()
224 trans->dbg.imr_data.sram_size = in iwl_dbg_tlv_alloc_region()
229 active_reg = &trans->dbg.active_regions[id]; in iwl_dbg_tlv_alloc_region()
269 trans->dbg.last_tp_resetfw = 0xFF; in iwl_dbg_tlv_alloc_trigger()
280 ret = iwl_dbg_tlv_add(tlv, &trans->dbg.time_point[tp].trig_list); in iwl_dbg_tlv_alloc_trigger()
307 return iwl_dbg_tlv_add(tlv, &trans->dbg.time_point[tp].config_list); in iwl_dbg_tlv_config_set()
324 &trans->dbg.external_ini_cfg : &trans->dbg.internal_ini_cfg; in iwl_dbg_tlv_alloc()
[all …]
/Linux-v6.6/drivers/net/wireless/marvell/mwifiex/
Dutil.c194 = adapter->dbg.num_cmd_host_to_card_failure; in mwifiex_get_debug_info()
196 = adapter->dbg.num_cmd_sleep_cfm_host_to_card_failure; in mwifiex_get_debug_info()
198 = adapter->dbg.num_tx_host_to_card_failure; in mwifiex_get_debug_info()
199 info->num_event_deauth = adapter->dbg.num_event_deauth; in mwifiex_get_debug_info()
200 info->num_event_disassoc = adapter->dbg.num_event_disassoc; in mwifiex_get_debug_info()
201 info->num_event_link_lost = adapter->dbg.num_event_link_lost; in mwifiex_get_debug_info()
202 info->num_cmd_deauth = adapter->dbg.num_cmd_deauth; in mwifiex_get_debug_info()
204 adapter->dbg.num_cmd_assoc_success; in mwifiex_get_debug_info()
206 adapter->dbg.num_cmd_assoc_failure; in mwifiex_get_debug_info()
207 info->num_tx_timeout = adapter->dbg.num_tx_timeout; in mwifiex_get_debug_info()
[all …]
/Linux-v6.6/arch/powerpc/platforms/ps3/
Dgelic_udbg.c68 static __iomem struct debug_block dbg __attribute__((aligned(32))); variable
127 map_dma_mem(GELIC_BUS_ID, GELIC_DEVICE_ID, &dbg, sizeof(dbg), in gelic_debug_init()
130 memset(&dbg, 0, sizeof(dbg)); in gelic_debug_init()
132 dbg.descr.buf_addr = bus_addr + offsetof(struct debug_block, pkt); in gelic_debug_init()
144 h_eth = (struct ethhdr *)dbg.pkt; in gelic_debug_init()
188 bus_addr, sizeof(dbg)); in gelic_debug_shutdown()
198 dbg.descr.buf_size = header_size + msgsize; in gelic_sendbuf()
210 dbg.descr.dmac_cmd_status = GELIC_DESCR_DMA_CMD_NO_CHKSUM | in gelic_sendbuf()
212 dbg.descr.result_size = 0; in gelic_sendbuf()
213 dbg.descr.data_status = 0; in gelic_sendbuf()
[all …]
/Linux-v6.6/tools/perf/util/
Dprobe-finder.h32 Dwarf *dbg; member
41 void debuginfo__delete(struct debuginfo *dbg);
44 int debuginfo__find_trace_events(struct debuginfo *dbg,
49 int debuginfo__find_probe_point(struct debuginfo *dbg, u64 addr,
52 int debuginfo__get_text_offset(struct debuginfo *dbg, Dwarf_Addr *offs,
56 int debuginfo__find_line_range(struct debuginfo *dbg, struct line_range *lr);
59 int debuginfo__find_available_vars_at(struct debuginfo *dbg,
69 struct debuginfo *dbg; member
Dprobe-finder.c55 static int debuginfo__init_offline_dwarf(struct debuginfo *dbg, in debuginfo__init_offline_dwarf() argument
65 dbg->dwfl = dwfl_begin(&offline_callbacks); in debuginfo__init_offline_dwarf()
66 if (!dbg->dwfl) in debuginfo__init_offline_dwarf()
69 dwfl_report_begin(dbg->dwfl); in debuginfo__init_offline_dwarf()
70 dbg->mod = dwfl_report_offline(dbg->dwfl, "", "", fd); in debuginfo__init_offline_dwarf()
71 if (!dbg->mod) in debuginfo__init_offline_dwarf()
74 dbg->dbg = dwfl_module_getdwarf(dbg->mod, &dbg->bias); in debuginfo__init_offline_dwarf()
75 if (!dbg->dbg) in debuginfo__init_offline_dwarf()
78 dwfl_module_build_id(dbg->mod, &dbg->build_id, &dummy); in debuginfo__init_offline_dwarf()
80 dwfl_report_end(dbg->dwfl, NULL, NULL); in debuginfo__init_offline_dwarf()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/
Ddebugfs.c166 struct dentry *dbg; in mlx5_ldev_add_debugfs() local
168 dbg = debugfs_create_dir("lag", mlx5_debugfs_get_dev_root(dev)); in mlx5_ldev_add_debugfs()
169 dev->priv.dbg.lag_debugfs = dbg; in mlx5_ldev_add_debugfs()
171 debugfs_create_file("type", 0444, dbg, dev, &type_fops); in mlx5_ldev_add_debugfs()
172 debugfs_create_file("port_sel_mode", 0444, dbg, dev, &port_sel_mode_fops); in mlx5_ldev_add_debugfs()
173 debugfs_create_file("state", 0444, dbg, dev, &state_fops); in mlx5_ldev_add_debugfs()
174 debugfs_create_file("flags", 0444, dbg, dev, &flags_fops); in mlx5_ldev_add_debugfs()
175 debugfs_create_file("mapping", 0444, dbg, dev, &mapping_fops); in mlx5_ldev_add_debugfs()
176 debugfs_create_file("members", 0444, dbg, dev, &members_fops); in mlx5_ldev_add_debugfs()
179 void mlx5_ldev_remove_debugfs(struct dentry *dbg) in mlx5_ldev_remove_debugfs() argument
[all …]
/Linux-v6.6/net/caif/
Dcfdbgl.c22 struct cfsrvl *dbg = kzalloc(sizeof(struct cfsrvl), GFP_ATOMIC); in cfdbgl_create() local
23 if (!dbg) in cfdbgl_create()
26 cfsrvl_init(dbg, channel_id, dev_info, false); in cfdbgl_create()
27 dbg->layer.receive = cfdbgl_receive; in cfdbgl_create()
28 dbg->layer.transmit = cfdbgl_transmit; in cfdbgl_create()
29 snprintf(dbg->layer.name, CAIF_LAYER_NAME_SZ, "dbg%d", channel_id); in cfdbgl_create()
30 return &dbg->layer; in cfdbgl_create()
/Linux-v6.6/drivers/mtd/ubi/
Ddebug.h64 return ubi->dbg.disable_bgt; in ubi_dbg_is_bgt_disabled()
75 if (ubi->dbg.emulate_bitflips) in ubi_dbg_is_bitflip()
89 if (ubi->dbg.emulate_io_failures) in ubi_dbg_is_write_failure()
103 if (ubi->dbg.emulate_io_failures) in ubi_dbg_is_erase_failure()
110 return ubi->dbg.chk_io; in ubi_dbg_chk_io()
115 return ubi->dbg.chk_gen; in ubi_dbg_chk_gen()
120 return ubi->dbg.chk_fastmap; in ubi_dbg_chk_fastmap()
125 ubi->dbg.chk_fastmap = 1; in ubi_enable_dbg_chk_fastmap()
/Linux-v6.6/arch/s390/kernel/vdso32/
DMakefile12 targets := $(obj-vdso32) vdso32.so vdso32.so.dbg
25 LDFLAGS_vdso32.so.dbg += -fPIC -shared -soname=linux-vdso32.so.1 \
28 $(targets:%=$(obj)/%.dbg): KBUILD_CFLAGS = $(KBUILD_CFLAGS_32)
29 $(targets:%=$(obj)/%.dbg): KBUILD_AFLAGS = $(KBUILD_AFLAGS_32)
47 $(obj)/vdso32.so.dbg: $(src)/vdso32.lds $(obj-vdso32) FORCE
52 $(obj)/%.so: $(obj)/%.so.dbg FORCE
66 cmd_vdso_install = cp $(obj)/$@.dbg $(MODLIB)/vdso/$@
68 vdso32.so: $(obj)/vdso32.so.dbg
79 include/generated/vdso32-offsets.h: $(obj)/vdso32.so.dbg FORCE
/Linux-v6.6/tools/usb/usbip/src/
Dusbipd.c105 dbg("usbip_net_recv failed: import request"); in recv_request_import()
134 dbg("usbip_net_send_op_common failed: %#0x", OP_REP_IMPORT); in recv_request_import()
139 dbg("import request busid %s: failed", req.busid); in recv_request_import()
148 dbg("usbip_net_send failed: devinfo"); in recv_request_import()
152 dbg("import request busid %s: complete", req.busid); in recv_request_import()
186 dbg("usbip_net_send_op_common failed: %#0x", OP_REP_DEVLIST); in send_reply_devlist()
193 dbg("usbip_net_send failed: %#0x", OP_REP_DEVLIST); in send_reply_devlist()
208 dbg("usbip_net_send failed: pdu_udev"); in send_reply_devlist()
238 dbg("usbip_net_recv failed: devlist request"); in recv_request_devlist()
244 dbg("send_reply_devlist failed"); in recv_request_devlist()
[all …]

1234567891011