Home
last modified time | relevance | path

Searched full:dbg (Results 1 – 25 of 1240) sorted by relevance

12345678910>>...50

/kernel/linux/linux-5.10/drivers/media/platform/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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dsignal32.c28 #define DBG(LEVEL, ...) \ macro
32 #define DBG(LEVEL, ...) macro
46 DBG(2,"restore_sigcontext32: PER_LINUX32 process\n"); in restore_sigcontext32()
47 DBG(2,"restore_sigcontext32: sc = 0x%p, rf = 0x%p, regs = 0x%p\n", sc, rf, regs); in restore_sigcontext32()
48 DBG(2,"restore_sigcontext32: compat_sigcontext is %#lx bytes\n", sizeof(*sc)); in restore_sigcontext32()
55 DBG(3,"restore_sigcontext32: gr%02d = %#lx (%#x / %#x)\n", in restore_sigcontext32()
58 DBG(2,"restore_sigcontext32: sc->sc_fr = 0x%p (%#lx)\n",sc->sc_fr, sizeof(sc->sc_fr)); in restore_sigcontext32()
69 DBG(2,"restore_sigcontext32: upper half of iaoq[0] = %#lx\n", compat_regt); in restore_sigcontext32()
70 DBG(2,"restore_sigcontext32: sc->sc_iaoq[0] = %p => %#x\n", in restore_sigcontext32()
77 DBG(2,"restore_sigcontext32: upper half of iaoq[1] = %#lx\n", compat_regt); in restore_sigcontext32()
[all …]
/kernel/linux/linux-6.6/arch/parisc/kernel/
Dsignal32.c28 #define DBG(LEVEL, ...) \ macro
32 #define DBG(LEVEL, ...) macro
46 DBG(2,"restore_sigcontext32: PER_LINUX32 process\n"); in restore_sigcontext32()
47 DBG(2,"restore_sigcontext32: sc = 0x%p, rf = 0x%p, regs = 0x%p\n", sc, rf, regs); in restore_sigcontext32()
48 DBG(2,"restore_sigcontext32: compat_sigcontext is %#lx bytes\n", sizeof(*sc)); in restore_sigcontext32()
55 DBG(3,"restore_sigcontext32: gr%02d = %#lx (%#x / %#x)\n", in restore_sigcontext32()
58 DBG(2,"restore_sigcontext32: sc->sc_fr = 0x%p (%#lx)\n",sc->sc_fr, sizeof(sc->sc_fr)); in restore_sigcontext32()
69 DBG(2,"restore_sigcontext32: upper half of iaoq[0] = %#lx\n", compat_regt); in restore_sigcontext32()
70 DBG(2,"restore_sigcontext32: sc->sc_iaoq[0] = %p => %#x\n", in restore_sigcontext32()
77 DBG(2,"restore_sigcontext32: upper half of iaoq[1] = %#lx\n", compat_regt); in restore_sigcontext32()
[all …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/drivers/bluetooth/
Dbtmrvl_debugfs.c155 struct btmrvl_debugfs_data *dbg; in btmrvl_debugfs_init() local
160 dbg = kzalloc(sizeof(*dbg), GFP_KERNEL); in btmrvl_debugfs_init()
161 priv->debugfs_data = dbg; in btmrvl_debugfs_init()
163 if (!dbg) { in btmrvl_debugfs_init()
168 dbg->config_dir = debugfs_create_dir("config", hdev->debugfs); in btmrvl_debugfs_init()
170 debugfs_create_u8("psmode", 0644, dbg->config_dir, in btmrvl_debugfs_init()
172 debugfs_create_file("pscmd", 0644, dbg->config_dir, in btmrvl_debugfs_init()
174 debugfs_create_x16("gpiogap", 0644, dbg->config_dir, in btmrvl_debugfs_init()
176 debugfs_create_u8("hsmode", 0644, dbg->config_dir, in btmrvl_debugfs_init()
178 debugfs_create_file("hscmd", 0644, dbg->config_dir, in btmrvl_debugfs_init()
[all …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/arm/plat-omap/
Ddebug-leds.c57 { "dbg:d4", "heartbeat", },
58 { "dbg:d5", "cpu0", },
59 { "dbg:d6", "default-on", },
60 { "dbg:d7", },
61 { "dbg:d8", },
62 { "dbg:d9", },
63 { "dbg:d10", },
64 { "dbg:d11", },
65 { "dbg:d12", },
66 { "dbg:d13", },
[all …]
/kernel/linux/linux-6.6/arch/powerpc/platforms/ps3/
Dmm.c24 #define DBG udbg_printf macro
26 #define DBG pr_devel macro
109 DBG("%s:%d: map.total = %llxh\n", func, line, m->total); in _debug_dump_map()
110 DBG("%s:%d: map.rm.size = %llxh\n", func, line, m->rm.size); in _debug_dump_map()
111 DBG("%s:%d: map.vas_id = %llu\n", func, line, m->vas_id); in _debug_dump_map()
112 DBG("%s:%d: map.htab_size = %llxh\n", func, line, m->htab_size); in _debug_dump_map()
113 DBG("%s:%d: map.r1.base = %llxh\n", func, line, m->r1.base); in _debug_dump_map()
114 DBG("%s:%d: map.r1.offset = %lxh\n", func, line, m->r1.offset); in _debug_dump_map()
115 DBG("%s:%d: map.r1.size = %llxh\n", func, line, m->r1.size); in _debug_dump_map()
152 DBG("%s:%d: lv1_query_logical_partition_address_region_info " in ps3_mm_vas_create()
[all …]
Dsmp.c18 #define DBG udbg_printf macro
20 #define DBG pr_debug macro
36 DBG("%s:%d: bad msg: %d\n", __func__, __LINE__, msg); in ps3_smp_message_pass()
44 DBG("%s:%d: ps3_send_event_locally(%d, %d) failed" in ps3_smp_message_pass()
57 DBG(" -> %s:%d: (%d)\n", __func__, __LINE__, cpu); in ps3_smp_probe()
76 DBG("%s:%d: (%d, %d) => virq %u\n", in ps3_smp_probe()
89 DBG(" <- %s:%d: (%d)\n", __func__, __LINE__, cpu); in ps3_smp_probe()
98 DBG(" -> %s:%d: (%d)\n", __func__, __LINE__, cpu); in ps3_smp_cleanup_cpu()
106 DBG(" <- %s:%d: (%d)\n", __func__, __LINE__, cpu); in ps3_smp_cleanup_cpu()
117 DBG(" -> %s\n", __func__); in smp_init_ps3()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/
Dmm.c25 #define DBG udbg_printf macro
27 #define DBG pr_devel macro
110 DBG("%s:%d: map.total = %llxh\n", func, line, m->total); in _debug_dump_map()
111 DBG("%s:%d: map.rm.size = %llxh\n", func, line, m->rm.size); in _debug_dump_map()
112 DBG("%s:%d: map.vas_id = %llu\n", func, line, m->vas_id); in _debug_dump_map()
113 DBG("%s:%d: map.htab_size = %llxh\n", func, line, m->htab_size); in _debug_dump_map()
114 DBG("%s:%d: map.r1.base = %llxh\n", func, line, m->r1.base); in _debug_dump_map()
115 DBG("%s:%d: map.r1.offset = %lxh\n", func, line, m->r1.offset); in _debug_dump_map()
116 DBG("%s:%d: map.r1.size = %llxh\n", func, line, m->r1.size); in _debug_dump_map()
153 DBG("%s:%d: lv1_query_logical_partition_address_region_info " in ps3_mm_vas_create()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/
Dhdmi_phy_8996.c270 DBG("VCO freq: %llu", pd.vco_freq); in pll_calculate()
271 DBG("fdata: %llu", fdata); in pll_calculate()
272 DBG("pix_clk: %lu", pix_clk); in pll_calculate()
273 DBG("tmds clk: %llu", tmds_clk); in pll_calculate()
274 DBG("HSCLK_SEL: %d", pd.hsclk_divsel); in pll_calculate()
275 DBG("DEC_START: %llu", dec_start); in pll_calculate()
276 DBG("DIV_FRAC_START: %llu", frac_start); in pll_calculate()
277 DBG("PLL_CPCTRL: %u", cpctrl); in pll_calculate()
278 DBG("PLL_RCTRL: %u", rctrl); in pll_calculate()
279 DBG("PLL_CCTRL: %u", cctrl); in pll_calculate()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/hdmi/
Dhdmi_phy_8996.c270 DBG("VCO freq: %llu", pd.vco_freq); in pll_calculate()
271 DBG("fdata: %llu", fdata); in pll_calculate()
272 DBG("pix_clk: %lu", pix_clk); in pll_calculate()
273 DBG("tmds clk: %llu", tmds_clk); in pll_calculate()
274 DBG("HSCLK_SEL: %d", pd.hsclk_divsel); in pll_calculate()
275 DBG("DEC_START: %llu", dec_start); in pll_calculate()
276 DBG("DIV_FRAC_START: %llu", frac_start); in pll_calculate()
277 DBG("PLL_CPCTRL: %u", cpctrl); in pll_calculate()
278 DBG("PLL_RCTRL: %u", rctrl); in pll_calculate()
279 DBG("PLL_CCTRL: %u", cctrl); in pll_calculate()
[all …]
/kernel/linux/linux-6.6/rust/kernel/
Dstd_vendor.rs8 /// [`std::dbg`], but using [`pr_info`] instead of [`eprintln`].
18 /// let b = dbg!(a * 2) + 1;
31 /// to give up ownership, you can instead borrow with `dbg!(&expr)`
34 /// The `dbg!` macro works exactly the same in release builds.
39 /// used during development. Therefore, avoid committing `dbg!` macro
57 /// if dbg!(n.checked_sub(4)).is_some() {
77 /// if dbg!(n <= 1) {
78 /// dbg!(1)
80 /// dbg!(n * factorial(n - 1))
84 /// dbg!(factorial(4));
[all …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Dintel_runtime_pm.c176 const struct intel_runtime_pm_debug *dbg) in __print_intel_runtime_pm_wakeref() argument
185 if (dbg->last_acquire) { in __print_intel_runtime_pm_wakeref()
186 __print_depot_stack(dbg->last_acquire, buf, PAGE_SIZE, 2); in __print_intel_runtime_pm_wakeref()
190 if (dbg->last_release) { in __print_intel_runtime_pm_wakeref()
191 __print_depot_stack(dbg->last_release, buf, PAGE_SIZE, 2); in __print_intel_runtime_pm_wakeref()
195 drm_printf(p, "Wakeref count: %lu\n", dbg->count); in __print_intel_runtime_pm_wakeref()
197 sort(dbg->owners, dbg->count, sizeof(*dbg->owners), cmphandle, NULL); in __print_intel_runtime_pm_wakeref()
199 for (i = 0; i < dbg->count; i++) { in __print_intel_runtime_pm_wakeref()
200 depot_stack_handle_t stack = dbg->owners[i]; in __print_intel_runtime_pm_wakeref()
204 while (i + 1 < dbg->count && dbg->owners[i + 1] == stack) in __print_intel_runtime_pm_wakeref()
[all …]

12345678910>>...50