| /drivers/gpu/drm/amd/amdkfd/ |
| A D | kfd_debugfs.c | 29 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()
|
| /drivers/scsi/mpt3sas/ |
| A D | mpt3sas_debugfs.c | 124 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/net/ethernet/mellanox/mlx5/core/esw/ |
| A D | bridge_debugfs.c | 62 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()
|
| /drivers/gpu/drm/i915/gvt/ |
| A D | debugfs.c | 180 vgpu->debugfs = debugfs_create_dir(name, vgpu->gvt->debugfs_root); in intel_gvt_debugfs_add_vgpu() 199 if (minor->debugfs_root && gvt->debugfs_root) { in intel_gvt_debugfs_remove_vgpu() 213 gvt->debugfs_root = debugfs_create_dir("gvt", minor->debugfs_root); in intel_gvt_debugfs_init() 215 debugfs_create_ulong("num_tracked_mmio", 0444, gvt->debugfs_root, in intel_gvt_debugfs_init() 227 if (minor->debugfs_root) { in intel_gvt_debugfs_clean() 228 debugfs_remove_recursive(gvt->debugfs_root); in intel_gvt_debugfs_clean() 229 gvt->debugfs_root = NULL; in intel_gvt_debugfs_clean()
|
| /drivers/accel/ivpu/ |
| A D | ivpu_debugfs.c | 485 struct dentry *debugfs_root = vdev->drm.debugfs_root; in ivpu_debugfs_init() local 489 debugfs_create_file("force_recovery", 0200, debugfs_root, vdev, in ivpu_debugfs_init() 492 debugfs_create_file("dvfs_mode", 0644, debugfs_root, vdev, in ivpu_debugfs_init() 495 debugfs_create_file("fw_dyndbg", 0200, debugfs_root, vdev, in ivpu_debugfs_init() 497 debugfs_create_file("fw_log", 0644, debugfs_root, vdev, in ivpu_debugfs_init() 503 debugfs_create_file("fw_trace_level", 0200, debugfs_root, vdev, in ivpu_debugfs_init() 505 debugfs_create_file("hws_priority_bands", 0200, debugfs_root, vdev, in ivpu_debugfs_init() 508 debugfs_create_file("reset_engine", 0200, debugfs_root, vdev, in ivpu_debugfs_init() 510 debugfs_create_file("resume_engine", 0200, debugfs_root, vdev, in ivpu_debugfs_init() 515 debugfs_root, vdev, &fw_profiling_freq_fops); in ivpu_debugfs_init() [all …]
|
| /drivers/scsi/megaraid/ |
| A D | megaraid_sas_debugfs.c | 132 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/ |
| A D | usnic_debugfs.c | 42 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/media/test-drivers/visl/ |
| A D | visl-debugfs.c | 20 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()
|
| /drivers/gpu/drm/msm/ |
| A D | msm_debugfs.c | 220 minor->debugfs_root, minor); in msm_debugfs_kms_init() 221 debugfs_create_file("kms", 0400, minor->debugfs_root, in msm_debugfs_kms_init() 369 debugfs_create_file("gpu", S_IRUSR, minor->debugfs_root, in msm_debugfs_gpu_init() 372 debugfs_create_u32("hangcheck_period_ms", 0600, minor->debugfs_root, in msm_debugfs_gpu_init() 375 debugfs_create_bool("disable_err_irq", 0600, minor->debugfs_root, in msm_debugfs_gpu_init() 378 debugfs_create_file("stall_reenable_time_us", 0400, minor->debugfs_root, in msm_debugfs_gpu_init() 381 gpu_devfreq = debugfs_create_dir("devfreq", minor->debugfs_root); in msm_debugfs_gpu_init() 400 minor->debugfs_root, minor); in msm_debugfs_init() 408 debugfs_create_file("shrink", S_IRWXU, minor->debugfs_root, in msm_debugfs_init() 411 fault_create_debugfs_attr("fail_gem_alloc", minor->debugfs_root, in msm_debugfs_init() [all …]
|
| /drivers/mmc/core/ |
| A D | debugfs.c | 352 host->debugfs_root = root; in mmc_add_host_debugfs() 377 debugfs_remove_recursive(host->debugfs_root); in mmc_remove_host_debugfs() 385 if (!host->debugfs_root) in mmc_add_card_debugfs() 388 root = debugfs_create_dir(mmc_card_id(card), host->debugfs_root); in mmc_add_card_debugfs() 389 card->debugfs_root = root; in mmc_add_card_debugfs() 397 debugfs_remove_recursive(card->debugfs_root); in mmc_remove_card_debugfs() 398 card->debugfs_root = NULL; in mmc_remove_card_debugfs()
|
| /drivers/ptp/ |
| A D | ptp_qoriq_debugfs.c | 80 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/ |
| A D | drm_debugfs.c | 404 dev->debugfs_root = debugfs_create_dir(dev->unique, accel_debugfs_root); in drm_debugfs_dev_init() 406 dev->debugfs_root = debugfs_create_dir(dev->unique, drm_debugfs_root); in drm_debugfs_dev_init() 417 debugfs_remove_recursive(dev->debugfs_root); in drm_debugfs_dev_fini() 418 dev->debugfs_root = NULL; in drm_debugfs_dev_fini() 443 minor->debugfs_root = dev->debugfs_root; in drm_debugfs_register() 480 debugfs_create_file(name, 0444, dev->debugfs_root, entry, in drm_debugfs_add_file() 789 if (!dev->debugfs_root) in drm_debugfs_connector_add() 792 root = debugfs_create_dir(connector->name, dev->debugfs_root); in drm_debugfs_connector_add() 837 root = debugfs_create_dir(name, dev->debugfs_root); in drm_debugfs_crtc_add() 861 root = debugfs_create_dir(name, minor->debugfs_root); in drm_debugfs_encoder_add()
|
| /drivers/usb/host/ |
| A D | xhci-debugfs.c | 158 xhci->debugfs_root, "%s:%02d", in xhci_debugfs_extcap_regset() 744 xhci->debugfs_root = debugfs_create_dir(dev_name(dev), in xhci_debugfs_init() 752 xhci->debugfs_root, "reg-cap"); in xhci_debugfs_init() 757 xhci->debugfs_root, "reg-op"); in xhci_debugfs_init() 762 xhci->debugfs_root, "reg-runtime"); in xhci_debugfs_init() 781 xhci->debugfs_root); in xhci_debugfs_init() 785 xhci->debugfs_root); in xhci_debugfs_init() 789 xhci_debugfs_create_ports(xhci, xhci->debugfs_root); in xhci_debugfs_init() 791 xhci_debugfs_create_bandwidth(xhci, xhci->debugfs_root); in xhci_debugfs_init() 798 debugfs_remove_recursive(xhci->debugfs_root); in xhci_debugfs_exit() [all …]
|
| /drivers/accel/qaic/ |
| A D | qaic_debugfs.c | 101 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()
|
| /drivers/net/ethernet/freescale/enetc/ |
| A D | enetc4_debugfs.c | 81 si->debugfs_root = root; in enetc_create_debugfs() 88 debugfs_remove(si->debugfs_root); in enetc_remove_debugfs() 89 si->debugfs_root = NULL; in enetc_remove_debugfs()
|
| /drivers/ufs/core/ |
| A D | ufs-debugfs.c | 224 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()
|
| A D | ufs-fault-injection.c | 69 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()
|
| /drivers/media/platform/nxp/imx8-isi/ |
| A D | imx8-isi-debug.c | 115 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()
|
| /drivers/accel/ |
| A D | drm_accel.c | 84 minor->debugfs_root = dev->debugfs_root; in accel_debugfs_register() 87 dev->debugfs_root, minor); in accel_debugfs_register()
|
| /drivers/gpu/drm/msm/disp/dpu1/ |
| A D | dpu_hw_sspp.c | 627 struct dentry *debugfs_root; in _dpu_hw_sspp_init_debugfs() local 633 debugfs_root = in _dpu_hw_sspp_init_debugfs() 638 debugfs_root, (unsigned long *)&hw_pipe->cap->features); in _dpu_hw_sspp_init_debugfs() 642 debugfs_root, in _dpu_hw_sspp_init_debugfs() 649 debugfs_root, in _dpu_hw_sspp_init_debugfs() 657 debugfs_root, in _dpu_hw_sspp_init_debugfs() 664 debugfs_root, in _dpu_hw_sspp_init_debugfs() 668 debugfs_root, in _dpu_hw_sspp_init_debugfs()
|
| /drivers/s390/cio/ |
| A D | qdio_debug.c | 18 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()
|
| /drivers/gpu/drm/i915/pxp/ |
| A D | intel_pxp_debugfs.c | 79 if (!minor->debugfs_root) in intel_pxp_debugfs_register() 82 pxproot = debugfs_create_dir("pxp", minor->debugfs_root); in intel_pxp_debugfs_register()
|
| /drivers/gpu/drm/arm/display/komeda/ |
| A D | komeda_dev.c | 49 mdev->debugfs_root = debugfs_create_dir("komeda", NULL); in komeda_debugfs_init() 50 debugfs_create_file("register", 0444, mdev->debugfs_root, in komeda_debugfs_init() 52 debugfs_create_x16("err_verbosity", 0664, mdev->debugfs_root, in komeda_debugfs_init() 283 debugfs_remove_recursive(mdev->debugfs_root); in komeda_dev_destroy()
|
| /drivers/gpu/drm/omapdrm/ |
| A D | omap_debugfs.c | 88 minor->debugfs_root, minor); in omap_debugfs_init() 93 minor->debugfs_root, minor); in omap_debugfs_init()
|
| /drivers/gpu/vga/ |
| A D | vga_switcheroo.c | 154 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()
|