Home
last modified time | relevance | path

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

123456

/drivers/gpu/drm/amd/amdkfd/
Dkfd_debugfs.c29 static struct dentry *debugfs_root; variable
94 debugfs_root = debugfs_create_dir("kfd", NULL); in kfd_debugfs_init()
96 debugfs_create_file("mqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
98 debugfs_create_file("hqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
100 debugfs_create_file("rls", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
102 debugfs_create_file("hang_hws", S_IFREG | 0200, debugfs_root, in kfd_debugfs_init()
104 debugfs_create_file("mem_limit", S_IFREG | 0200, debugfs_root, in kfd_debugfs_init()
110 debugfs_remove_recursive(debugfs_root); in kfd_debugfs_fini()
/drivers/scsi/mpt3sas/
Dmpt3sas_debugfs.c124 if (!ioc->debugfs_root) { in mpt3sas_setup_debugfs()
125 ioc->debugfs_root = in mpt3sas_setup_debugfs()
127 if (!ioc->debugfs_root) { in mpt3sas_setup_debugfs()
136 ioc->debugfs_root, ioc, &mpt3sas_debugfs_iocdump_fops); in mpt3sas_setup_debugfs()
140 debugfs_remove(ioc->debugfs_root); in mpt3sas_setup_debugfs()
145 debugfs_create_u8(name, 0444, ioc->debugfs_root, &ioc->shost_recovery); in mpt3sas_setup_debugfs()
155 debugfs_remove_recursive(ioc->debugfs_root); in mpt3sas_destroy_debugfs()
/drivers/gpu/drm/i915/gvt/
Ddebugfs.c163 vgpu->debugfs = debugfs_create_dir(name, vgpu->gvt->debugfs_root); in intel_gvt_debugfs_add_vgpu()
181 if (minor->debugfs_root && gvt->debugfs_root) { in intel_gvt_debugfs_remove_vgpu()
195 gvt->debugfs_root = debugfs_create_dir("gvt", minor->debugfs_root); in intel_gvt_debugfs_init()
197 debugfs_create_ulong("num_tracked_mmio", 0444, gvt->debugfs_root, in intel_gvt_debugfs_init()
209 if (minor->debugfs_root) { in intel_gvt_debugfs_clean()
210 debugfs_remove_recursive(gvt->debugfs_root); in intel_gvt_debugfs_clean()
211 gvt->debugfs_root = NULL; in intel_gvt_debugfs_clean()
/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()
/drivers/infiniband/hw/usnic/
Dusnic_debugfs.c42 static struct dentry *debugfs_root; variable
114 debugfs_root = debugfs_create_dir(DRV_NAME, NULL); in usnic_debugfs_init()
116 flows_dentry = debugfs_create_dir("flows", debugfs_root); in usnic_debugfs_init()
118 debugfs_create_file("build-info", S_IRUGO, debugfs_root, in usnic_debugfs_init()
124 debugfs_remove_recursive(debugfs_root); in usnic_debugfs_exit()
125 debugfs_root = NULL; in usnic_debugfs_exit()
/drivers/gpu/drm/msm/
Dmsm_debugfs.c311 minor->debugfs_root, minor); in msm_debugfs_init()
313 debugfs_create_file("gpu", S_IRUSR, minor->debugfs_root, in msm_debugfs_init()
316 debugfs_create_file("kms", S_IRUSR, minor->debugfs_root, in msm_debugfs_init()
319 debugfs_create_u32("hangcheck_period_ms", 0600, minor->debugfs_root, in msm_debugfs_init()
322 debugfs_create_bool("disable_err_irq", 0600, minor->debugfs_root, in msm_debugfs_init()
325 debugfs_create_file("shrink", S_IRWXU, minor->debugfs_root, in msm_debugfs_init()
332 fault_create_debugfs_attr("fail_gem_alloc", minor->debugfs_root, in msm_debugfs_init()
334 fault_create_debugfs_attr("fail_gem_iova", minor->debugfs_root, in msm_debugfs_init()
/drivers/mmc/core/
Ddebugfs.c306 host->debugfs_root = root; in mmc_add_host_debugfs()
330 debugfs_remove_recursive(host->debugfs_root); in mmc_remove_host_debugfs()
338 if (!host->debugfs_root) in mmc_add_card_debugfs()
341 root = debugfs_create_dir(mmc_card_id(card), host->debugfs_root); in mmc_add_card_debugfs()
342 card->debugfs_root = root; in mmc_add_card_debugfs()
349 debugfs_remove_recursive(card->debugfs_root); in mmc_remove_card_debugfs()
350 card->debugfs_root = NULL; in mmc_remove_card_debugfs()
/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()
/drivers/gpu/drm/
Ddrm_debugfs.c215 minor->debugfs_root = debugfs_create_dir(name, root); in drm_debugfs_init()
218 minor->debugfs_root, minor); in drm_debugfs_init()
275 if (!minor->debugfs_root) in drm_debugfs_cleanup()
280 debugfs_remove_recursive(minor->debugfs_root); in drm_debugfs_cleanup()
281 minor->debugfs_root = NULL; in drm_debugfs_cleanup()
428 if (!minor->debugfs_root) in drm_debugfs_connector_add()
431 root = debugfs_create_dir(connector->name, minor->debugfs_root); in drm_debugfs_connector_add()
474 root = debugfs_create_dir(name, minor->debugfs_root); in drm_debugfs_crtc_add()
/drivers/usb/host/
Dxhci-debugfs.c158 xhci->debugfs_root, "%s:%02d", in xhci_debugfs_extcap_regset()
657 xhci->debugfs_root = debugfs_create_dir(dev_name(dev), in xhci_debugfs_init()
665 xhci->debugfs_root, "reg-cap"); in xhci_debugfs_init()
670 xhci->debugfs_root, "reg-op"); in xhci_debugfs_init()
675 xhci->debugfs_root, "reg-runtime"); in xhci_debugfs_init()
694 xhci->debugfs_root); in xhci_debugfs_init()
698 xhci->debugfs_root); in xhci_debugfs_init()
700 xhci->debugfs_slots = debugfs_create_dir("devices", xhci->debugfs_root); in xhci_debugfs_init()
702 xhci_debugfs_create_ports(xhci, xhci->debugfs_root); in xhci_debugfs_init()
709 debugfs_remove_recursive(xhci->debugfs_root); in xhci_debugfs_exit()
[all …]
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_sspp.c702 struct dentry *debugfs_root; in _dpu_hw_sspp_init_debugfs() local
708 debugfs_root = in _dpu_hw_sspp_init_debugfs()
713 debugfs_root, (unsigned long *)&hw_pipe->cap->features); in _dpu_hw_sspp_init_debugfs()
717 debugfs_root, in _dpu_hw_sspp_init_debugfs()
727 debugfs_root, in _dpu_hw_sspp_init_debugfs()
735 debugfs_root, in _dpu_hw_sspp_init_debugfs()
742 debugfs_root, in _dpu_hw_sspp_init_debugfs()
746 debugfs_root, in _dpu_hw_sspp_init_debugfs()
750 debugfs_root, in _dpu_hw_sspp_init_debugfs()
754 debugfs_root, in _dpu_hw_sspp_init_debugfs()
/drivers/ufs/core/
Dufs-debugfs.c224 hba->debugfs_root = root; in ufs_debugfs_hba_init()
229 debugfs_create_file("exception_event_mask", 0600, hba->debugfs_root, in ufs_debugfs_hba_init()
231 debugfs_create_u32("exception_event_rate_limit_ms", 0600, hba->debugfs_root, in ufs_debugfs_hba_init()
237 debugfs_remove_recursive(hba->debugfs_root); in ufs_debugfs_hba_exit()
/drivers/s390/cio/
Dqdio_debug.c19 static struct dentry *debugfs_root; variable
300 debugfs_root); in qdio_setup_debug_entries()
319 debugfs_root = debugfs_create_dir("qdio", NULL); in qdio_debug_init()
336 debugfs_remove_recursive(debugfs_root); in qdio_debug_exit()
/drivers/gpu/drm/arm/display/komeda/
Dkomeda_dev.c52 mdev->debugfs_root = debugfs_create_dir("komeda", NULL); in komeda_debugfs_init()
53 debugfs_create_file("register", 0444, mdev->debugfs_root, in komeda_debugfs_init()
55 debugfs_create_x16("err_verbosity", 0664, mdev->debugfs_root, in komeda_debugfs_init()
290 debugfs_remove_recursive(mdev->debugfs_root); in komeda_dev_destroy()
/drivers/gpu/drm/omapdrm/
Domap_debugfs.c88 minor->debugfs_root, minor); in omap_debugfs_init()
93 minor->debugfs_root, minor); in omap_debugfs_init()
/drivers/gpu/drm/i915/gt/
Dintel_gt_debugfs.c88 if (!gt->i915->drm.primary->debugfs_root) in intel_gt_debugfs_register()
91 root = debugfs_create_dir("gt", gt->i915->drm.primary->debugfs_root); in intel_gt_debugfs_register()
/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()
/drivers/gpu/drm/qxl/
Dqxl_debugfs.c93 minor->debugfs_root, minor); in qxl_debugfs_init()
123 qdev->ddev.primary->debugfs_root, in qxl_debugfs_add_files()
Dqxl_ttm.c230 qdev->ddev.primary->debugfs_root, "qxl_mem_mm"); in qxl_ttm_debugfs_init()
233 qdev->ddev.primary->debugfs_root, "qxl_surf_mm"); in qxl_ttm_debugfs_init()
/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c236 minor->debugfs_root, minor->dev, in nouveau_drm_debugfs_init()
242 minor->debugfs_root, minor); in nouveau_drm_debugfs_init()
247 dentry = debugfs_lookup("vbios.rom", minor->debugfs_root); in nouveau_drm_debugfs_init()
/drivers/mtd/spi-nor/
Ddebugfs.c227 debugfs_remove(nor->debugfs_root); in spi_nor_debugfs_unregister()
228 nor->debugfs_root = NULL; in spi_nor_debugfs_unregister()
246 nor->debugfs_root = d; in spi_nor_debugfs_register()
/drivers/gpu/drm/msm/adreno/
Da5xx_debugfs.c155 minor->debugfs_root, minor); in a5xx_debugfs_init()
157 debugfs_create_file_unsafe("reset", S_IWUGO, minor->debugfs_root, dev, in a5xx_debugfs_init()
/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()
/drivers/pinctrl/
Dcore.c1889 static struct dentry *debugfs_root; variable
1910 device_root = debugfs_create_dir(debugfs_name, debugfs_root); in pinctrl_init_device_debugfs()
1937 debugfs_root = debugfs_create_dir("pinctrl", NULL); in pinctrl_init_debugfs()
1938 if (IS_ERR(debugfs_root) || !debugfs_root) { in pinctrl_init_debugfs()
1940 debugfs_root = NULL; in pinctrl_init_debugfs()
1945 debugfs_root, NULL, &pinctrl_devices_fops); in pinctrl_init_debugfs()
1947 debugfs_root, NULL, &pinctrl_maps_fops); in pinctrl_init_debugfs()
1949 debugfs_root, NULL, &pinctrl_fops); in pinctrl_init_debugfs()
/drivers/memory/
Demif.c66 struct dentry *debugfs_root; member
145 emif->debugfs_root = debugfs_create_dir(dev_name(emif->dev), NULL); in emif_debugfs_init()
146 debugfs_create_file("regcache_dump", S_IRUGO, emif->debugfs_root, emif, in emif_debugfs_init()
148 debugfs_create_file("mr4", S_IRUGO, emif->debugfs_root, emif, in emif_debugfs_init()
155 debugfs_remove_recursive(emif->debugfs_root); in emif_debugfs_exit()
156 emif->debugfs_root = NULL; in emif_debugfs_exit()

123456