Home
last modified time | relevance | path

Searched refs:debugfs_root (Results 1 – 25 of 106) sorted by relevance

12345

/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_debugfs.c28 static struct dentry *debugfs_root; variable
90 debugfs_root = debugfs_create_dir("kfd", NULL); in kfd_debugfs_init()
91 if (!debugfs_root || debugfs_root == ERR_PTR(-ENODEV)) { in kfd_debugfs_init()
96 ent = debugfs_create_file("mqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
102 ent = debugfs_create_file("hqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
108 ent = debugfs_create_file("rls", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
112 ent = debugfs_create_file("hang_hws", S_IFREG | 0644, debugfs_root, in kfd_debugfs_init()
122 debugfs_remove_recursive(debugfs_root); in kfd_debugfs_fini()
/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_debugfs.c43 static struct dentry *debugfs_root; variable
115 debugfs_root = debugfs_create_dir(DRV_NAME, NULL); in usnic_debugfs_init()
116 if (IS_ERR(debugfs_root)) { in usnic_debugfs_init()
121 flows_dentry = debugfs_create_dir("flows", debugfs_root); in usnic_debugfs_init()
128 debugfs_create_file("build-info", S_IRUGO, debugfs_root, in usnic_debugfs_init()
133 debugfs_remove_recursive(debugfs_root); in usnic_debugfs_init()
135 debugfs_root = NULL; in usnic_debugfs_init()
140 if (!debugfs_root) in usnic_debugfs_exit()
143 debugfs_remove_recursive(debugfs_root); in usnic_debugfs_exit()
144 debugfs_root = NULL; in usnic_debugfs_exit()
/Linux-v4.19/drivers/mmc/core/
Ddebugfs.c241 host->debugfs_root = root; in mmc_add_host_debugfs()
269 host->debugfs_root = NULL; in mmc_add_host_debugfs()
276 debugfs_remove_recursive(host->debugfs_root); in mmc_remove_host_debugfs()
284 if (!host->debugfs_root) in mmc_add_card_debugfs()
287 root = debugfs_create_dir(mmc_card_id(card), host->debugfs_root); in mmc_add_card_debugfs()
296 card->debugfs_root = root; in mmc_add_card_debugfs()
305 card->debugfs_root = NULL; in mmc_add_card_debugfs()
311 debugfs_remove_recursive(card->debugfs_root); in mmc_remove_card_debugfs()
312 card->debugfs_root = NULL; in mmc_remove_card_debugfs()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_debugfs.c139 minor->debugfs_root = debugfs_create_dir(name, root); in drm_debugfs_init()
140 if (!minor->debugfs_root) { in drm_debugfs_init()
146 minor->debugfs_root, minor); in drm_debugfs_init()
148 debugfs_remove(minor->debugfs_root); in drm_debugfs_init()
149 minor->debugfs_root = NULL; in drm_debugfs_init()
226 if (!minor->debugfs_root) in drm_debugfs_cleanup()
231 debugfs_remove_recursive(minor->debugfs_root); in drm_debugfs_cleanup()
232 minor->debugfs_root = NULL; in drm_debugfs_cleanup()
357 if (!minor->debugfs_root) in drm_debugfs_connector_add()
360 root = debugfs_create_dir(connector->name, minor->debugfs_root); in drm_debugfs_connector_add()
[all …]
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_core_perf.c540 debugfs_remove_recursive(perf->debugfs_root); in dpu_core_perf_debugfs_destroy()
541 perf->debugfs_root = NULL; in dpu_core_perf_debugfs_destroy()
559 perf->debugfs_root = debugfs_create_dir("core_perf", parent); in dpu_core_perf_debugfs_init()
560 if (!perf->debugfs_root) { in dpu_core_perf_debugfs_init()
565 debugfs_create_u64("max_core_clk_rate", 0600, perf->debugfs_root, in dpu_core_perf_debugfs_init()
567 debugfs_create_u64("core_clk_rate", 0600, perf->debugfs_root, in dpu_core_perf_debugfs_init()
569 debugfs_create_u32("enable_bw_release", 0600, perf->debugfs_root, in dpu_core_perf_debugfs_init()
571 debugfs_create_u32("threshold_low", 0600, perf->debugfs_root, in dpu_core_perf_debugfs_init()
573 debugfs_create_u32("threshold_high", 0600, perf->debugfs_root, in dpu_core_perf_debugfs_init()
575 debugfs_create_u32("min_core_ib", 0600, perf->debugfs_root, in dpu_core_perf_debugfs_init()
[all …]
Ddpu_dbg.h45 int dpu_dbg_debugfs_register(struct dentry *debugfs_root);
82 static inline int dpu_dbg_debugfs_register(struct dentry *debugfs_root) in dpu_dbg_debugfs_register() argument
Ddpu_vbif.h82 int dpu_debugfs_vbif_init(struct dpu_kms *dpu_kms, struct dentry *debugfs_root);
86 struct dentry *debugfs_root) in dpu_debugfs_vbif_init() argument
Ddpu_kms.c261 dpu_kms->debugfs_root = debugfs_create_dir("debug", in _dpu_debugfs_init()
262 dpu_kms->dev->primary->debugfs_root); in _dpu_debugfs_init()
263 if (IS_ERR_OR_NULL(dpu_kms->debugfs_root)) { in _dpu_debugfs_init()
265 PTR_ERR(dpu_kms->debugfs_root)); in _dpu_debugfs_init()
266 return PTR_ERR(dpu_kms->debugfs_root); in _dpu_debugfs_init()
269 rc = dpu_dbg_debugfs_register(dpu_kms->debugfs_root); in _dpu_debugfs_init()
276 debugfs_create_x32(DPU_DEBUGFS_HWMASKNAME, 0600, dpu_kms->debugfs_root, p); in _dpu_debugfs_init()
278 (void) dpu_debugfs_danger_init(dpu_kms, dpu_kms->debugfs_root); in _dpu_debugfs_init()
279 (void) dpu_debugfs_vbif_init(dpu_kms, dpu_kms->debugfs_root); in _dpu_debugfs_init()
280 (void) dpu_debugfs_core_irq_init(dpu_kms, dpu_kms->debugfs_root); in _dpu_debugfs_init()
[all …]
Ddpu_plane.c115 struct dentry *debugfs_root; member
1701 pdpu->debugfs_root = in _dpu_plane_init_debugfs()
1703 plane->dev->primary->debugfs_root); in _dpu_plane_init_debugfs()
1705 if (!pdpu->debugfs_root) in _dpu_plane_init_debugfs()
1710 pdpu->debugfs_root, &pdpu->features); in _dpu_plane_init_debugfs()
1718 pdpu->debugfs_root, &pdpu->debugfs_src); in _dpu_plane_init_debugfs()
1727 pdpu->debugfs_root, in _dpu_plane_init_debugfs()
1731 pdpu->debugfs_root, in _dpu_plane_init_debugfs()
1742 pdpu->debugfs_root, &pdpu->debugfs_csc); in _dpu_plane_init_debugfs()
1747 pdpu->debugfs_root, in _dpu_plane_init_debugfs()
[all …]
Ddpu_core_perf.h67 struct dentry *debugfs_root; member
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Ddebugfs.c202 vgpu->debugfs = debugfs_create_dir(name, vgpu->gvt->debugfs_root); in intel_gvt_debugfs_add_vgpu()
246 gvt->debugfs_root = debugfs_create_dir("gvt", minor->debugfs_root); in intel_gvt_debugfs_init()
247 if (!gvt->debugfs_root) { in intel_gvt_debugfs_init()
252 ent = debugfs_create_ulong("num_tracked_mmio", 0444, gvt->debugfs_root, in intel_gvt_debugfs_init()
266 debugfs_remove_recursive(gvt->debugfs_root); in intel_gvt_debugfs_clean()
267 gvt->debugfs_root = NULL; in intel_gvt_debugfs_clean()
/Linux-v4.19/drivers/usb/host/
Dxhci-debugfs.c156 xhci->debugfs_root, "%s:%02d", in xhci_debugfs_extcap_regset()
539 xhci->debugfs_root = debugfs_create_dir(dev_name(dev), in xhci_debugfs_init()
547 xhci->debugfs_root, "reg-cap"); in xhci_debugfs_init()
552 xhci->debugfs_root, "reg-op"); in xhci_debugfs_init()
557 xhci->debugfs_root, "reg-runtime"); in xhci_debugfs_init()
576 xhci->debugfs_root); in xhci_debugfs_init()
580 xhci->debugfs_root); in xhci_debugfs_init()
582 xhci->debugfs_slots = debugfs_create_dir("devices", xhci->debugfs_root); in xhci_debugfs_init()
584 xhci_debugfs_create_ports(xhci, xhci->debugfs_root); in xhci_debugfs_init()
591 debugfs_remove_recursive(xhci->debugfs_root); in xhci_debugfs_exit()
[all …]
/Linux-v4.19/arch/s390/pci/
Dpci_debug.c21 static struct dentry *debugfs_root; variable
174 zdev->debugfs_dev = debugfs_create_dir(name, debugfs_root); in zpci_debug_init_device()
208 debugfs_root = debugfs_create_dir("pci", NULL); in zpci_debug_init()
216 debugfs_remove(debugfs_root); in zpci_debug_exit()
/Linux-v4.19/drivers/gpu/drm/armada/
Darmada_debugfs.c117 minor->debugfs_root, minor); in armada_drm_debugfs_init()
122 minor->debugfs_root, minor->dev, &fops_reg_r); in armada_drm_debugfs_init()
127 minor->debugfs_root, minor->dev, &fops_reg_w); in armada_drm_debugfs_init()
/Linux-v4.19/drivers/gpu/drm/omapdrm/
Domap_debugfs.c99 minor->debugfs_root, minor); in omap_debugfs_init()
109 minor->debugfs_root, minor); in omap_debugfs_init()
/Linux-v4.19/drivers/gpu/vga/
Dvga_switcheroo.c154 struct dentry *debugfs_root; member
917 debugfs_remove(priv->debugfs_root); in vga_switcheroo_debugfs_fini()
918 priv->debugfs_root = NULL; in vga_switcheroo_debugfs_fini()
926 if (priv->debugfs_root) in vga_switcheroo_debugfs_init()
928 priv->debugfs_root = debugfs_create_dir("vgaswitcheroo", NULL); in vga_switcheroo_debugfs_init()
930 if (!priv->debugfs_root) { in vga_switcheroo_debugfs_init()
936 priv->debugfs_root, NULL, in vga_switcheroo_debugfs_init()
/Linux-v4.19/drivers/s390/cio/
Dqdio_debug.c19 static struct dentry *debugfs_root; variable
320 debugfs_root); in qdio_setup_debug_entries()
352 debugfs_root = debugfs_create_dir("qdio", NULL); in qdio_debug_init()
369 debugfs_remove(debugfs_root); in qdio_debug_exit()
/Linux-v4.19/drivers/gpu/drm/qxl/
Dqxl_debugfs.c92 minor->debugfs_root, minor); in qxl_debugfs_init()
127 qdev->ddev.primary->debugfs_root, in qxl_debugfs_add_files()
/Linux-v4.19/drivers/gpu/drm/msm/adreno/
Da5xx_debugfs.c173 minor->debugfs_root, minor); in a5xx_debugfs_init()
181 minor->debugfs_root, in a5xx_debugfs_init()
/Linux-v4.19/drivers/gpu/drm/vc4/
Dvc4_debugfs.c39 minor->debugfs_root, minor); in vc4_debugfs_init()
/Linux-v4.19/drivers/gpu/drm/virtio/
Dvirtgpu_debugfs.c54 minor->debugfs_root, minor); in virtio_gpu_debugfs_init()
/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c208 minor->debugfs_root, minor->dev, in nouveau_drm_debugfs_init()
216 minor->debugfs_root, minor); in nouveau_drm_debugfs_init()
/Linux-v4.19/drivers/gpu/drm/msm/
Dmsm_perf.c224 minor->debugfs_root, perf, &perf_debugfs_fops); in msm_perf_debugfs_init()
227 minor->debugfs_root); in msm_perf_debugfs_init()
Dmsm_debugfs.c228 minor->debugfs_root, minor); in msm_debugfs_init()
235 debugfs_create_file("gpu", S_IRUSR, minor->debugfs_root, in msm_debugfs_init()
/Linux-v4.19/drivers/gpu/drm/pl111/
Dpl111_debugfs.c60 minor->debugfs_root, minor); in pl111_debugfs_init()

12345