Home
last modified time | relevance | path

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

123456

/linux/drivers/gpu/drm/i915/gvt/
H A Ddebugfs.c182 vgpu->debugfs = debugfs_create_dir(name, vgpu->gvt->debugfs_root); in intel_gvt_debugfs_add_vgpu()
199 struct dentry *debugfs_root = gvt->gt->i915->drm.debugfs_root; in intel_gvt_debugfs_remove_vgpu() local
201 if (debugfs_root && gvt->debugfs_root) { in intel_gvt_debugfs_remove_vgpu()
213 struct dentry *debugfs_root = gvt->gt->i915->drm.debugfs_root; in intel_gvt_debugfs_init() local
215 gvt->debugfs_root = debugfs_create_dir("gvt", debugfs_root); in intel_gvt_debugfs_init()
217 debugfs_create_ulong("num_tracked_mmio", 0444, gvt->debugfs_root, in intel_gvt_debugfs_init()
227 struct dentry *debugfs_root = gvt->gt->i915->drm.debugfs_root; in intel_gvt_debugfs_clean() local
229 if (debugfs_root) { in intel_gvt_debugfs_clean()
230 debugfs_remove_recursive(gvt->debugfs_root); in intel_gvt_debugfs_clean()
231 gvt->debugfs_root = NULL; in intel_gvt_debugfs_clean()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debugfs.c29 static struct dentry *debugfs_root; variable
104 debugfs_root = debugfs_create_dir("kfd", NULL); in kfd_debugfs_init()
105 debugfs_proc = debugfs_create_dir("proc", debugfs_root); in kfd_debugfs_init()
108 debugfs_create_file("mqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
110 debugfs_create_file("hqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
112 debugfs_create_file("rls", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
114 debugfs_create_file("hang_hws", S_IFREG | 0200, debugfs_root, in kfd_debugfs_init()
116 debugfs_create_file("mem_limit", S_IFREG | 0200, debugfs_root, in kfd_debugfs_init()
123 debugfs_remove_recursive(debugfs_root); in kfd_debugfs_fini()
/linux/drivers/scsi/mpt3sas/
H A 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge_debugfs.c62 if (!bridge->br_offloads->debugfs_root) in mlx5_esw_bridge_debugfs_init()
66 bridge->br_offloads->debugfs_root); in mlx5_esw_bridge_debugfs_init()
79 if (!br_offloads->esw->debugfs_root) in mlx5_esw_bridge_debugfs_offloads_init()
82 br_offloads->debugfs_root = debugfs_create_dir("bridge", br_offloads->esw->debugfs_root); in mlx5_esw_bridge_debugfs_offloads_init()
87 debugfs_remove_recursive(br_offloads->debugfs_root); in mlx5_esw_bridge_debugfs_offloads_cleanup()
88 br_offloads->debugfs_root = NULL; in mlx5_esw_bridge_debugfs_offloads_cleanup()
/linux/drivers/scsi/megaraid/
H A 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/drivers/infiniband/hw/usnic/
H A 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()
/linux/drivers/media/test-drivers/visl/
H A Dvisl-debugfs.c20 dev->debugfs_root = debugfs_create_dir("visl", NULL); in visl_debugfs_init()
24 if (IS_ERR(dev->debugfs_root)) in visl_debugfs_init()
25 return PTR_ERR(dev->debugfs_root); in visl_debugfs_init()
33 dev->debugfs_root); in visl_debugfs_bitstream_init()
110 debugfs_remove_recursive(dev->debugfs_root); in visl_debugfs_deinit()
111 dev->debugfs_root = NULL; in visl_debugfs_deinit()
/linux/drivers/gpu/drm/msm/
H A Dmsm_debugfs.c220 minor->debugfs_root, minor); in msm_debugfs_kms_init()
221 debugfs_create_file("kms", 0400, minor->debugfs_root, in msm_debugfs_kms_init()
372 debugfs_create_file("gpu", S_IRUSR, minor->debugfs_root, in msm_debugfs_gpu_init()
375 debugfs_create_u32("hangcheck_period_ms", 0600, minor->debugfs_root, in msm_debugfs_gpu_init()
378 debugfs_create_bool("disable_err_irq", 0600, minor->debugfs_root, in msm_debugfs_gpu_init()
381 debugfs_create_file("stall_reenable_time_us", 0400, minor->debugfs_root, in msm_debugfs_gpu_init()
384 gpu_devfreq = debugfs_create_dir("devfreq", minor->debugfs_root); in msm_debugfs_gpu_init()
403 minor->debugfs_root, minor); in msm_debugfs_init()
411 debugfs_create_file("shrink", S_IRWXU, minor->debugfs_root, in msm_debugfs_init()
414 fault_create_debugfs_attr("fail_gem_alloc", minor->debugfs_root, in msm_debugfs_init()
[all …]
/linux/kernel/liveupdate/
H A Dkexec_handover_debugfs.c18 static struct dentry *debugfs_root; variable
121 dir = debugfs_create_dir("in", debugfs_root); in kho_in_debugfs_init()
183 dir = debugfs_create_dir("out", debugfs_root); in kho_out_debugfs_init()
217 debugfs_root = debugfs_create_dir("kho", NULL); in kho_debugfs_init()
218 if (IS_ERR(debugfs_root)) in kho_debugfs_init()
/linux/drivers/accel/qaic/
H A Dqaic_debugfs.c101 struct dentry *debugfs_root; in qaic_debugfs_init() local
106 debugfs_root = to_drm(qddev)->debugfs_root; in qaic_debugfs_init()
108 debugfs_create_file("bootlog", 0400, debugfs_root, qdev, &bootlog_fops); in qaic_debugfs_init()
115 debugfs_dir = debugfs_create_dir(name, debugfs_root); in qaic_debugfs_init()
/linux/drivers/usb/host/
H A Dxhci-debugfs.c158 xhci->debugfs_root, "%s:%02d", in xhci_debugfs_extcap_regset()
771 xhci->debugfs_root = debugfs_create_dir(dev_name(dev), in xhci_debugfs_init()
779 xhci->debugfs_root, "reg-cap"); in xhci_debugfs_init()
784 xhci->debugfs_root, "reg-op"); in xhci_debugfs_init()
789 xhci->debugfs_root, "reg-runtime"); in xhci_debugfs_init()
808 xhci->debugfs_root); in xhci_debugfs_init()
812 xhci->debugfs_root); in xhci_debugfs_init()
814 xhci->debugfs_slots = debugfs_create_dir("devices", xhci->debugfs_root); in xhci_debugfs_init()
816 xhci_debugfs_create_ports(xhci, xhci->debugfs_root); in xhci_debugfs_init()
818 xhci_debugfs_create_bandwidth(xhci, xhci->debugfs_root); in xhci_debugfs_init()
[all …]
/linux/drivers/ufs/core/
H A 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()
H A Dufs-fault-injection.c69 fault_create_debugfs_attr("trigger_eh_inject", hba->debugfs_root, &hba->trigger_eh_attr); in ufs_fault_inject_hba_init()
70 fault_create_debugfs_attr("timeout_inject", hba->debugfs_root, &hba->timeout_attr); in ufs_fault_inject_hba_init()
/linux/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-debug.c115 isi->debugfs_root = debugfs_create_dir(dev_name(isi->dev), NULL); in mxc_isi_debug_init()
122 debugfs_create_file(name, 0444, isi->debugfs_root, pipe, in mxc_isi_debug_init()
129 debugfs_remove_recursive(isi->debugfs_root); in mxc_isi_debug_cleanup()
/linux/sound/soc/sof/
H A Ddebug.c146 debugfs_create_file(name, 0444, sdev->debugfs_root, dfse, in snd_sof_debugfs_io_item()
189 debugfs_create_file(name, mode, sdev->debugfs_root, dfse, in snd_sof_debugfs_buf_item()
308 debugfs_create_file("memory_info", 0444, sdev->debugfs_root, dfse, &memory_info_fops); in snd_sof_dbg_memory_info_init()
326 sdev->debugfs_root = debugfs_create_dir("sof", NULL); in snd_sof_dbg_init()
329 fw_profile = debugfs_create_dir("fw_profile", sdev->debugfs_root); in snd_sof_dbg_init()
386 debugfs_remove_recursive(sdev->debugfs_root);
H A Dsof-client-ipc-flood-test.c289 struct dentry *debugfs_root = sof_client_get_debugfs_root(cdev); in sof_ipc_flood_probe()
305 priv->dfs_root = debugfs_create_dir(dev_name(dev), debugfs_root); in sof_ipc_flood_probe()
326 debugfs_root, target); in sof_ipc_flood_probe()
332 debugfs_root, target); in sof_ipc_flood_probe()
288 struct dentry *debugfs_root = sof_client_get_debugfs_root(cdev); sof_ipc_flood_probe() local
H A Dsof-client-ipc-kernel-injector.c96 struct dentry *debugfs_root = sof_client_get_debugfs_root(cdev); in sof_msg_inject_probe()
116 debugfs_root, cdev, in sof_msg_inject_probe()
94 struct dentry *debugfs_root = sof_client_get_debugfs_root(cdev); sof_msg_inject_probe() local
/linux/drivers/s390/cio/
H A Dqdio_debug.c18 static struct dentry *debugfs_root; variable
299 debugfs_root); in qdio_setup_debug_entries()
318 debugfs_root = debugfs_create_dir("qdio", NULL); in qdio_debug_init()
335 debugfs_remove_recursive(debugfs_root); in qdio_debug_exit()
/linux/drivers/gpu/vga/
H A 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/drivers/mtd/spi-nor/
H A Ddebugfs.c226 debugfs_remove(nor->debugfs_root); in spi_nor_debugfs_unregister()
227 nor->debugfs_root = NULL; in spi_nor_debugfs_unregister()
245 nor->debugfs_root = d; in spi_nor_debugfs_register()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_debugfs.c276 minor->debugfs_root, minor->dev, in nouveau_drm_debugfs_init()
282 minor->debugfs_root, minor); in nouveau_drm_debugfs_init()
287 dentry = debugfs_lookup("vbios.rom", minor->debugfs_root); in nouveau_drm_debugfs_init()
/linux/drivers/i3c/master/mipi-i3c-hci/
H A Dmipi-i3c-hci-pci.c64 struct dentry *debugfs_root; member
132 host->debugfs_root = dir; in intel_add_debugfs()
141 debugfs_remove_recursive(host->debugfs_root); in intel_remove_debugfs()
/linux/drivers/misc/genwqe/
H A 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/drivers/gpu/drm/qxl/
H A Dqxl_ttm.c240 qdev->ddev.primary->debugfs_root, "qxl_mem_mm"); in qxl_ttm_debugfs_init()
243 qdev->ddev.primary->debugfs_root, "qxl_surf_mm"); in qxl_ttm_debugfs_init()
/linux/drivers/soc/qcom/
H A Dqcom_aoss.c94 struct dentry *debugfs_root; member
564 qmp->debugfs_root = debugfs_create_dir("qcom_aoss", NULL); in qmp_debugfs_create()
570 qmp->debugfs_root, in qmp_debugfs_create()
640 debugfs_remove_recursive(qmp->debugfs_root); in qmp_remove()

123456