Home
last modified time | relevance | path

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

12345

/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_debugfs.c28 static struct dentry *debugfs_root; variable
88 debugfs_root = debugfs_create_dir("kfd", NULL); in kfd_debugfs_init()
90 debugfs_create_file("mqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
92 debugfs_create_file("hqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
94 debugfs_create_file("rls", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
96 debugfs_create_file("hang_hws", S_IFREG | 0644, debugfs_root, in kfd_debugfs_init()
102 debugfs_remove_recursive(debugfs_root); in kfd_debugfs_fini()
/Linux-v5.4/drivers/scsi/megaraid/
Dmegaraid_sas_debugfs.c132 if (!instance->debugfs_root) { in megasas_setup_debugfs()
133 instance->debugfs_root = in megasas_setup_debugfs()
135 if (!instance->debugfs_root) { in megasas_setup_debugfs()
145 instance->debugfs_root, instance, in megasas_setup_debugfs()
150 debugfs_remove(instance->debugfs_root); in megasas_setup_debugfs()
163 debugfs_remove_recursive(instance->debugfs_root); in megasas_destroy_debugfs()
/Linux-v5.4/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()
117 flows_dentry = debugfs_create_dir("flows", debugfs_root); in usnic_debugfs_init()
119 debugfs_create_file("build-info", S_IRUGO, debugfs_root, in usnic_debugfs_init()
125 debugfs_remove_recursive(debugfs_root); in usnic_debugfs_exit()
126 debugfs_root = NULL; in usnic_debugfs_exit()
/Linux-v5.4/drivers/mmc/core/
Ddebugfs.c230 host->debugfs_root = root; in mmc_add_host_debugfs()
249 debugfs_remove_recursive(host->debugfs_root); in mmc_remove_host_debugfs()
257 if (!host->debugfs_root) in mmc_add_card_debugfs()
260 root = debugfs_create_dir(mmc_card_id(card), host->debugfs_root); in mmc_add_card_debugfs()
261 card->debugfs_root = root; in mmc_add_card_debugfs()
268 debugfs_remove_recursive(card->debugfs_root); in mmc_remove_card_debugfs()
269 card->debugfs_root = NULL; in mmc_remove_card_debugfs()
/Linux-v5.4/drivers/gpu/drm/i915/gvt/
Ddebugfs.c198 vgpu->debugfs = debugfs_create_dir(name, vgpu->gvt->debugfs_root); in intel_gvt_debugfs_add_vgpu()
225 gvt->debugfs_root = debugfs_create_dir("gvt", minor->debugfs_root); in intel_gvt_debugfs_init()
227 debugfs_create_ulong("num_tracked_mmio", 0444, gvt->debugfs_root, in intel_gvt_debugfs_init()
237 debugfs_remove_recursive(gvt->debugfs_root); in intel_gvt_debugfs_clean()
238 gvt->debugfs_root = NULL; in intel_gvt_debugfs_clean()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_debugfs.c217 minor->debugfs_root = debugfs_create_dir(name, root); in drm_debugfs_init()
220 minor->debugfs_root, minor); in drm_debugfs_init()
222 debugfs_remove(minor->debugfs_root); in drm_debugfs_init()
223 minor->debugfs_root = NULL; in drm_debugfs_init()
300 if (!minor->debugfs_root) in drm_debugfs_cleanup()
305 debugfs_remove_recursive(minor->debugfs_root); in drm_debugfs_cleanup()
306 minor->debugfs_root = NULL; in drm_debugfs_cleanup()
429 if (!minor->debugfs_root) in drm_debugfs_connector_add()
432 root = debugfs_create_dir(connector->name, minor->debugfs_root); in drm_debugfs_connector_add()
464 root = debugfs_create_dir(name, minor->debugfs_root); in drm_debugfs_crtc_add()
/Linux-v5.4/drivers/ptp/
Dptp_qoriq_debugfs.c80 ptp_qoriq->debugfs_root = root; in ptp_qoriq_create_debugfs()
92 ptp_qoriq->debugfs_root = NULL; in ptp_qoriq_create_debugfs()
99 debugfs_remove_recursive(ptp_qoriq->debugfs_root); in ptp_qoriq_remove_debugfs()
100 ptp_qoriq->debugfs_root = NULL; in ptp_qoriq_remove_debugfs()
/Linux-v5.4/drivers/usb/host/
Dxhci-debugfs.c156 xhci->debugfs_root, "%s:%02d", in xhci_debugfs_extcap_regset()
542 xhci->debugfs_root = debugfs_create_dir(dev_name(dev), in xhci_debugfs_init()
550 xhci->debugfs_root, "reg-cap"); in xhci_debugfs_init()
555 xhci->debugfs_root, "reg-op"); in xhci_debugfs_init()
560 xhci->debugfs_root, "reg-runtime"); in xhci_debugfs_init()
579 xhci->debugfs_root); in xhci_debugfs_init()
583 xhci->debugfs_root); in xhci_debugfs_init()
585 xhci->debugfs_slots = debugfs_create_dir("devices", xhci->debugfs_root); in xhci_debugfs_init()
587 xhci_debugfs_create_ports(xhci, xhci->debugfs_root); in xhci_debugfs_init()
594 debugfs_remove_recursive(xhci->debugfs_root); in xhci_debugfs_exit()
[all …]
/Linux-v5.4/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()
201 debugfs_root = debugfs_create_dir("pci", NULL); in zpci_debug_init()
209 debugfs_remove(debugfs_root); in zpci_debug_exit()
/Linux-v5.4/drivers/gpu/drm/vc4/
Dvc4_debugfs.c30 minor->debugfs_root, &vc4->load_tracker_enabled); in vc4_debugfs_init()
34 minor->debugfs_root, minor); in vc4_debugfs_init()
/Linux-v5.4/drivers/gpu/drm/omapdrm/
Domap_debugfs.c90 minor->debugfs_root, minor); in omap_debugfs_init()
100 minor->debugfs_root, minor); in omap_debugfs_init()
/Linux-v5.4/drivers/s390/cio/
Dqdio_debug.c19 static struct dentry *debugfs_root; variable
307 debugfs_root); in qdio_setup_debug_entries()
339 debugfs_root = debugfs_create_dir("qdio", NULL); in qdio_debug_init()
356 debugfs_remove(debugfs_root); in qdio_debug_exit()
/Linux-v5.4/drivers/gpu/drm/qxl/
Dqxl_debugfs.c91 minor->debugfs_root, minor); in qxl_debugfs_init()
126 qdev->ddev.primary->debugfs_root, in qxl_debugfs_add_files()
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.c107 struct dentry *debugfs_root; member
1323 pdpu->debugfs_root = in _dpu_plane_init_debugfs()
1325 plane->dev->primary->debugfs_root); in _dpu_plane_init_debugfs()
1329 pdpu->debugfs_root, &pdpu->features); in _dpu_plane_init_debugfs()
1337 pdpu->debugfs_root, &pdpu->debugfs_src); in _dpu_plane_init_debugfs()
1346 pdpu->debugfs_root, in _dpu_plane_init_debugfs()
1350 pdpu->debugfs_root, in _dpu_plane_init_debugfs()
1361 pdpu->debugfs_root, &pdpu->debugfs_csc); in _dpu_plane_init_debugfs()
1366 pdpu->debugfs_root, in _dpu_plane_init_debugfs()
1370 pdpu->debugfs_root, in _dpu_plane_init_debugfs()
[all …]
Ddpu_vbif.h73 void dpu_debugfs_vbif_init(struct dpu_kms *dpu_kms, struct dentry *debugfs_root);
Ddpu_core_perf.h70 struct dentry *debugfs_root; member
/Linux-v5.4/sound/soc/sof/
Ddebug.c365 debugfs_create_file(name, 0444, sdev->debugfs_root, dfse, in snd_sof_debugfs_io_item()
405 debugfs_create_file(name, mode, sdev->debugfs_root, dfse, in snd_sof_debugfs_buf_item()
422 sdev->debugfs_root = debugfs_create_dir("sof", NULL); in snd_sof_dbg_init()
463 debugfs_remove_recursive(sdev->debugfs_root); in snd_sof_free_debug()
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c230 minor->debugfs_root, minor->dev, in nouveau_drm_debugfs_init()
238 minor->debugfs_root, minor); in nouveau_drm_debugfs_init()
245 dentry = debugfs_lookup("vbios.rom", minor->debugfs_root); in nouveau_drm_debugfs_init()
/Linux-v5.4/drivers/gpu/vga/
Dvga_switcheroo.c154 struct dentry *debugfs_root; member
910 debugfs_remove_recursive(priv->debugfs_root); in vga_switcheroo_debugfs_fini()
911 priv->debugfs_root = NULL; in vga_switcheroo_debugfs_fini()
917 if (priv->debugfs_root) in vga_switcheroo_debugfs_init()
920 priv->debugfs_root = debugfs_create_dir("vgaswitcheroo", NULL); in vga_switcheroo_debugfs_init()
922 debugfs_create_file("switch", 0644, priv->debugfs_root, NULL, in vga_switcheroo_debugfs_init()
/Linux-v5.4/drivers/gpu/drm/msm/adreno/
Da5xx_debugfs.c163 minor->debugfs_root, minor); in a5xx_debugfs_init()
170 debugfs_create_file("reset", S_IWUGO, minor->debugfs_root, dev, in a5xx_debugfs_init()
/Linux-v5.4/drivers/gpu/drm/arm/display/komeda/
Dkomeda_dev.c56 mdev->debugfs_root = debugfs_create_dir("komeda", NULL); in komeda_debugfs_init()
57 debugfs_create_file("register", 0444, mdev->debugfs_root, in komeda_debugfs_init()
288 debugfs_remove_recursive(mdev->debugfs_root); in komeda_dev_destroy()
/Linux-v5.4/drivers/misc/genwqe/
Dcard_debugfs.c340 cd->debugfs_root = root; in genwqe_init_debugfs()
372 cd->debugfs_root = root; in genwqe_init_debugfs()
377 debugfs_remove_recursive(cd->debugfs_root); in genqwe_exit_debugfs()
/Linux-v5.4/drivers/staging/media/imx/
Dimx7-mipi-csis.c236 struct dentry *debugfs_root; member
920 state->debugfs_root = debugfs_create_dir(dev_name(state->dev), NULL); in mipi_csis_debugfs_init()
921 if (!state->debugfs_root) in mipi_csis_debugfs_init()
924 d = debugfs_create_bool("debug_enable", 0600, state->debugfs_root, in mipi_csis_debugfs_init()
929 d = debugfs_create_file("dump_regs", 0600, state->debugfs_root, in mipi_csis_debugfs_init()
937 debugfs_remove_recursive(state->debugfs_root); in mipi_csis_debugfs_init()
944 debugfs_remove_recursive(state->debugfs_root); in mipi_csis_debugfs_exit()
/Linux-v5.4/drivers/gpu/drm/msm/
Dmsm_debugfs.c229 minor->debugfs_root, minor); in msm_debugfs_init()
236 debugfs_create_file("gpu", S_IRUSR, minor->debugfs_root, in msm_debugfs_init()
/Linux-v5.4/drivers/gpu/drm/pl111/
Dpl111_debugfs.c59 minor->debugfs_root, minor); in pl111_debugfs_init()

12345