Home
last modified time | relevance | path

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

12345678

/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
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-6.6.21/drivers/gpu/drm/i915/gvt/
Ddebugfs.c179 vgpu->debugfs = debugfs_create_dir(name, vgpu->gvt->debugfs_root); in intel_gvt_debugfs_add_vgpu()
198 if (minor->debugfs_root && gvt->debugfs_root) { in intel_gvt_debugfs_remove_vgpu()
212 gvt->debugfs_root = debugfs_create_dir("gvt", minor->debugfs_root); in intel_gvt_debugfs_init()
214 debugfs_create_ulong("num_tracked_mmio", 0444, gvt->debugfs_root, in intel_gvt_debugfs_init()
226 if (minor->debugfs_root) { in intel_gvt_debugfs_clean()
227 debugfs_remove_recursive(gvt->debugfs_root); in intel_gvt_debugfs_clean()
228 gvt->debugfs_root = NULL; in intel_gvt_debugfs_clean()
/linux-6.6.21/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-6.6.21/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()
/linux-6.6.21/drivers/media/test-drivers/visl/
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-6.6.21/drivers/gpu/drm/msm/
Dmsm_debugfs.c312 minor->debugfs_root, minor); in msm_debugfs_init()
314 debugfs_create_file("gpu", S_IRUSR, minor->debugfs_root, in msm_debugfs_init()
317 debugfs_create_file("kms", S_IRUSR, minor->debugfs_root, in msm_debugfs_init()
320 debugfs_create_u32("hangcheck_period_ms", 0600, minor->debugfs_root, in msm_debugfs_init()
323 debugfs_create_bool("disable_err_irq", 0600, minor->debugfs_root, in msm_debugfs_init()
326 debugfs_create_file("shrink", S_IRWXU, minor->debugfs_root, in msm_debugfs_init()
329 gpu_devfreq = debugfs_create_dir("devfreq", minor->debugfs_root); in msm_debugfs_init()
344 fault_create_debugfs_attr("fail_gem_alloc", minor->debugfs_root, in msm_debugfs_init()
346 fault_create_debugfs_attr("fail_gem_iova", minor->debugfs_root, in msm_debugfs_init()
/linux-6.6.21/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()
/linux-6.6.21/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-6.6.21/sound/soc/intel/avs/
Ddebugfs.c412 adev->debugfs_root = debugfs_create_dir("avs", snd_soc_debugfs_root); in avs_debugfs_init()
418 debugfs_create_file("strace", 0444, adev->debugfs_root, adev, &strace_fops); in avs_debugfs_init()
419 debugfs_create_file("trace_control", 0644, adev->debugfs_root, adev, &trace_control_fops); in avs_debugfs_init()
420 debugfs_create_file("fw_regs", 0444, adev->debugfs_root, adev, &fw_regs_fops); in avs_debugfs_init()
421 debugfs_create_file("debug_window", 0444, adev->debugfs_root, adev, &debug_window_fops); in avs_debugfs_init()
423 debugfs_create_u32("trace_aging_period", 0644, adev->debugfs_root, in avs_debugfs_init()
425 debugfs_create_u32("trace_fifo_full_period", 0644, adev->debugfs_root, in avs_debugfs_init()
428 debugfs_create_file("probe_points", 0644, adev->debugfs_root, adev, &probe_points_fops); in avs_debugfs_init()
429 debugfs_create_file("probe_points_disconnect", 0200, adev->debugfs_root, adev, in avs_debugfs_init()
435 debugfs_remove_recursive(adev->debugfs_root); in avs_debugfs_exit()
/linux-6.6.21/drivers/accel/ivpu/
Divpu_debugfs.c278 minor->debugfs_root, minor); in ivpu_debugfs_init()
280 debugfs_create_file("force_recovery", 0200, minor->debugfs_root, vdev, in ivpu_debugfs_init()
283 debugfs_create_file("fw_log", 0644, minor->debugfs_root, vdev, in ivpu_debugfs_init()
285 debugfs_create_file("fw_trace_destination_mask", 0200, minor->debugfs_root, vdev, in ivpu_debugfs_init()
287 debugfs_create_file("fw_trace_hw_comp_mask", 0200, minor->debugfs_root, vdev, in ivpu_debugfs_init()
289 debugfs_create_file("fw_trace_level", 0200, minor->debugfs_root, vdev, in ivpu_debugfs_init()
292 debugfs_create_file("reset_engine", 0200, minor->debugfs_root, vdev, in ivpu_debugfs_init()
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/
Ddrm_debugfs.c274 minor->debugfs_root = debugfs_create_dir(name, root); in drm_debugfs_init()
294 minor->debugfs_root, entry, &drm_debugfs_entry_fops); in drm_debugfs_init()
311 minor->debugfs_root, entry, &drm_debugfs_entry_fops); in drm_debugfs_late_register()
354 if (!minor->debugfs_root) in drm_debugfs_cleanup()
359 debugfs_remove_recursive(minor->debugfs_root); in drm_debugfs_cleanup()
360 minor->debugfs_root = NULL; in drm_debugfs_cleanup()
548 if (!minor->debugfs_root) in drm_debugfs_connector_add()
551 root = debugfs_create_dir(connector->name, minor->debugfs_root); in drm_debugfs_connector_add()
594 root = debugfs_create_dir(name, minor->debugfs_root); in drm_debugfs_crtc_add()
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/media/platform/nxp/imx8-isi/
Dimx8-isi-debug.c94 isi->debugfs_root = debugfs_create_dir(dev_name(isi->dev), NULL); in mxc_isi_debug_init()
101 debugfs_create_file(name, 0444, isi->debugfs_root, pipe, in mxc_isi_debug_init()
108 debugfs_remove_recursive(isi->debugfs_root); in mxc_isi_debug_cleanup()
/linux-6.6.21/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()
/linux-6.6.21/drivers/gpu/drm/i915/pxp/
Dintel_pxp_debugfs.c79 if (!minor->debugfs_root) in intel_pxp_debugfs_register()
82 pxproot = debugfs_create_dir("pxp", minor->debugfs_root); in intel_pxp_debugfs_register()
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_sspp.c623 struct dentry *debugfs_root; in _dpu_hw_sspp_init_debugfs() local
629 debugfs_root = in _dpu_hw_sspp_init_debugfs()
634 debugfs_root, (unsigned long *)&hw_pipe->cap->features); in _dpu_hw_sspp_init_debugfs()
638 debugfs_root, in _dpu_hw_sspp_init_debugfs()
648 debugfs_root, in _dpu_hw_sspp_init_debugfs()
656 debugfs_root, in _dpu_hw_sspp_init_debugfs()
663 debugfs_root, in _dpu_hw_sspp_init_debugfs()
667 debugfs_root, in _dpu_hw_sspp_init_debugfs()
/linux-6.6.21/drivers/gpu/drm/omapdrm/
Domap_debugfs.c88 minor->debugfs_root, minor); in omap_debugfs_init()
93 minor->debugfs_root, minor); in omap_debugfs_init()
/linux-6.6.21/sound/soc/sof/
Dsof-client-ipc-flood-test.c299 struct dentry *debugfs_root = sof_client_get_debugfs_root(cdev); in sof_ipc_flood_probe() local
315 priv->dfs_root = debugfs_create_dir(dev_name(dev), debugfs_root); in sof_ipc_flood_probe()
336 debugfs_root, target); in sof_ipc_flood_probe()
342 debugfs_root, target); in sof_ipc_flood_probe()
Ddebug.c165 debugfs_create_file(name, 0444, sdev->debugfs_root, dfse, in snd_sof_debugfs_io_item()
208 debugfs_create_file(name, mode, sdev->debugfs_root, dfse, in snd_sof_debugfs_buf_item()
323 debugfs_create_file("memory_info", 0444, sdev->debugfs_root, dfse, &memory_info_fops); in snd_sof_dbg_memory_info_init()
339 sdev->debugfs_root = debugfs_create_dir("sof", NULL); in snd_sof_dbg_init()
364 debugfs_remove_recursive(sdev->debugfs_root); in snd_sof_free_debug()
/linux-6.6.21/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()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_gt_debugfs.c88 if (!gt->i915->drm.primary->debugfs_root) in intel_gt_debugfs_register()
92 root = debugfs_create_dir(gtname, gt->i915->drm.primary->debugfs_root); in intel_gt_debugfs_register()
/linux-6.6.21/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()

12345678