Home
last modified time | relevance | path

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

/linux-4.4.14/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()
116 if (IS_ERR(debugfs_root)) { in usnic_debugfs_init()
121 flows_dentry = debugfs_create_dir("flows", debugfs_root); in usnic_debugfs_init()
128 debugfs_create_file("build-info", S_IRUGO, debugfs_root, in usnic_debugfs_init()
133 debugfs_remove_recursive(debugfs_root); in usnic_debugfs_init()
135 debugfs_root = NULL; in usnic_debugfs_init()
140 if (!debugfs_root) in usnic_debugfs_exit()
143 debugfs_remove_recursive(debugfs_root); in usnic_debugfs_exit()
144 debugfs_root = NULL; in usnic_debugfs_exit()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_debugfs.c154 minor->debugfs_root = debugfs_create_dir(name, root); in drm_debugfs_init()
155 if (!minor->debugfs_root) { in drm_debugfs_init()
161 minor->debugfs_root, minor); in drm_debugfs_init()
163 debugfs_remove(minor->debugfs_root); in drm_debugfs_init()
164 minor->debugfs_root = NULL; in drm_debugfs_init()
226 if (!minor->debugfs_root) in drm_debugfs_cleanup()
234 debugfs_remove(minor->debugfs_root); in drm_debugfs_cleanup()
235 minor->debugfs_root = NULL; in drm_debugfs_cleanup()
382 if (!minor->debugfs_root) in drm_debugfs_connector_add()
385 root = debugfs_create_dir(connector->name, minor->debugfs_root); in drm_debugfs_connector_add()
/linux-4.4.14/drivers/mmc/core/
Ddebugfs.c249 host->debugfs_root = root; in mmc_add_host_debugfs()
271 host->debugfs_root = NULL; in mmc_add_host_debugfs()
278 debugfs_remove_recursive(host->debugfs_root); in mmc_remove_host_debugfs()
361 if (!host->debugfs_root) in mmc_add_card_debugfs()
364 root = debugfs_create_dir(mmc_card_id(card), host->debugfs_root); in mmc_add_card_debugfs()
373 card->debugfs_root = root; in mmc_add_card_debugfs()
392 card->debugfs_root = NULL; in mmc_add_card_debugfs()
398 debugfs_remove_recursive(card->debugfs_root); in mmc_remove_card_debugfs()
/linux-4.4.14/arch/s390/pci/
Dpci_debug.c20 static struct dentry *debugfs_root; variable
134 debugfs_root); in zpci_debug_init_device()
168 debugfs_root = debugfs_create_dir("pci", NULL); in zpci_debug_init()
176 debugfs_remove(debugfs_root); in zpci_debug_exit()
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_debugfs.c88 minor->debugfs_root, minor); in qxl_debugfs_init()
126 qdev->ddev->control->debugfs_root, in qxl_debugfs_add_files()
129 qdev->ddev->primary->debugfs_root, in qxl_debugfs_add_files()
/linux-4.4.14/drivers/gpu/drm/armada/
Darmada_debugfs.c148 minor->debugfs_root, minor); in armada_drm_debugfs_init()
152 ret = armada_debugfs_create(minor->debugfs_root, minor, in armada_drm_debugfs_init()
157 ret = armada_debugfs_create(minor->debugfs_root, minor, in armada_drm_debugfs_init()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_debugfs.c96 minor->debugfs_root, minor); in omap_debugfs_init()
106 minor->debugfs_root, minor); in omap_debugfs_init()
/linux-4.4.14/drivers/gpu/vga/
Dvga_switcheroo.c137 struct dentry *debugfs_root; member
717 debugfs_remove(priv->debugfs_root); in vga_switcheroo_debugfs_fini()
718 priv->debugfs_root = NULL; in vga_switcheroo_debugfs_fini()
726 if (priv->debugfs_root) in vga_switcheroo_debugfs_init()
728 priv->debugfs_root = debugfs_create_dir("vgaswitcheroo", NULL); in vga_switcheroo_debugfs_init()
730 if (!priv->debugfs_root) { in vga_switcheroo_debugfs_init()
736 priv->debugfs_root, NULL, in vga_switcheroo_debugfs_init()
/linux-4.4.14/drivers/s390/cio/
Dqdio_debug.c18 static struct dentry *debugfs_root; variable
319 debugfs_root); in qdio_setup_debug_entries()
351 debugfs_root = debugfs_create_dir("qdio", NULL); in qdio_debug_init()
368 debugfs_remove(debugfs_root); in qdio_debug_exit()
/linux-4.4.14/drivers/gpu/drm/vc4/
Dvc4_debugfs.c32 minor->debugfs_root, minor); in vc4_debugfs_init()
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_debugfs.c54 minor->debugfs_root, minor); in virtio_gpu_debugfs_init()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c55 minor->debugfs_root, minor); in nouveau_debugfs_init()
/linux-4.4.14/drivers/pinctrl/
Dcore.c1648 static struct dentry *debugfs_root; variable
1655 debugfs_root); in pinctrl_init_device_debugfs()
1682 debugfs_root = debugfs_create_dir("pinctrl", NULL); in pinctrl_init_debugfs()
1683 if (IS_ERR(debugfs_root) || !debugfs_root) { in pinctrl_init_debugfs()
1685 debugfs_root = NULL; in pinctrl_init_debugfs()
1690 debugfs_root, NULL, &pinctrl_devices_ops); in pinctrl_init_debugfs()
1692 debugfs_root, NULL, &pinctrl_maps_ops); in pinctrl_init_debugfs()
1694 debugfs_root, NULL, &pinctrl_ops); in pinctrl_init_debugfs()
/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_perf.c229 minor->debugfs_root, perf, &perf_debugfs_fops); in msm_perf_debugfs_init()
232 minor->debugfs_root->d_name.name); in msm_perf_debugfs_init()
Dmsm_rd.c234 minor->debugfs_root, rd, &rd_debugfs_fops); in msm_rd_debugfs_init()
237 minor->debugfs_root->d_name.name); in msm_rd_debugfs_init()
Dmsm_drv.c681 minor->debugfs_root, minor); in msm_debugfs_init()
/linux-4.4.14/drivers/misc/genwqe/
Dcard_debugfs.c398 cd->debugfs_root = root; in genwqe_init_debugfs()
497 cd->debugfs_root = root; in genwqe_init_debugfs()
507 debugfs_remove_recursive(cd->debugfs_root); in genqwe_exit_debugfs()
Dcard_base.h303 struct dentry *debugfs_root; /* debugfs card root directory */ member
/linux-4.4.14/drivers/usb/musb/
Dmusb_debugfs.c365 musb->debugfs_root = root; in musb_init_debugfs()
378 debugfs_remove_recursive(musb->debugfs_root); in musb_exit_debugfs()
Dmusb_core.h443 struct dentry *debugfs_root; member
/linux-4.4.14/sound/soc/codecs/
Dwm_adsp.h63 struct dentry *debugfs_root; member
Dwm_adsp.c350 if (!codec->component.debugfs_root) { in wm_adsp2_init_debugfs()
360 root = debugfs_create_dir(root_name, codec->component.debugfs_root); in wm_adsp2_init_debugfs()
383 dsp->debugfs_root = root; in wm_adsp2_init_debugfs()
394 debugfs_remove_recursive(dsp->debugfs_root); in wm_adsp2_cleanup_debugfs()
/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_init.c116 debugfs_create_file_size(name, S_IRUSR, hw->debugfs_root, in csio_add_debugfs_mem()
125 if (IS_ERR_OR_NULL(hw->debugfs_root)) in csio_setup_debugfs()
146 hw->debugfs_root = debugfs_create_dir(pci_name(hw->pdev), in csio_dfs_create()
160 if (hw->debugfs_root) in csio_dfs_destroy()
161 debugfs_remove_recursive(hw->debugfs_root); in csio_dfs_destroy()
Dcsio_hw.h496 struct dentry *debugfs_root; /* Debug FS */ member
/linux-4.4.14/drivers/bus/
Dmvebu-mbus.c140 struct dentry *debugfs_root; member
963 s->debugfs_root = debugfs_create_dir("mvebu-mbus", NULL); in mvebu_mbus_debugfs_init()
964 if (s->debugfs_root) { in mvebu_mbus_debugfs_init()
966 s->debugfs_root, NULL, in mvebu_mbus_debugfs_init()
969 s->debugfs_root, NULL, in mvebu_mbus_debugfs_init()
/linux-4.4.14/drivers/memory/
Demif.c70 struct dentry *debugfs_root; member
176 emif->debugfs_root = dentry; in emif_debugfs_init()
179 emif->debugfs_root, emif, &emif_regdump_fops); in emif_debugfs_init()
186 emif->debugfs_root, emif, &emif_mr4_fops); in emif_debugfs_init()
194 debugfs_remove_recursive(emif->debugfs_root); in emif_debugfs_init()
201 debugfs_remove_recursive(emif->debugfs_root); in emif_debugfs_exit()
202 emif->debugfs_root = NULL; in emif_debugfs_exit()
/linux-4.4.14/drivers/mtd/devices/
Ddocg3.h315 struct dentry *debugfs_root; member
Ddocg3.c1810 docg3->debugfs_root = root; in doc_dbg_register()
1820 debugfs_remove_recursive(docg3->debugfs_root); in doc_dbg_unregister()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c2165 BUG_ON(IS_ERR_OR_NULL(adapter->debugfs_root)); in setup_debugfs()
2173 adapter->debugfs_root, in setup_debugfs()
2186 BUG_ON(IS_ERR_OR_NULL(adapter->debugfs_root)); in cleanup_debugfs()
2831 adapter->debugfs_root = in cxgb4vf_pci_probe()
2834 if (IS_ERR_OR_NULL(adapter->debugfs_root)) in cxgb4vf_pci_probe()
2889 if (!IS_ERR_OR_NULL(adapter->debugfs_root)) { in cxgb4vf_pci_probe()
2891 debugfs_remove_recursive(adapter->debugfs_root); in cxgb4vf_pci_probe()
2960 if (!IS_ERR_OR_NULL(adapter->debugfs_root)) { in cxgb4vf_pci_remove()
2962 debugfs_remove_recursive(adapter->debugfs_root); in cxgb4vf_pci_remove()
Dadapter.h380 struct dentry *debugfs_root; member
/linux-4.4.14/drivers/nvdimm/
Dbtt.c197 static struct dentry *debugfs_root; variable
242 debugfs_root); in btt_debugfs_init()
1432 debugfs_root = debugfs_create_dir("btt", NULL); in nd_btt_init()
1433 if (IS_ERR_OR_NULL(debugfs_root)) { in nd_btt_init()
1448 debugfs_remove_recursive(debugfs_root); in nd_btt_exit()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Ddevice.c711 if (!devp->debugfs_root) in setup_debugfs()
714 debugfs_create_file_size("qps", S_IWUSR, devp->debugfs_root, in setup_debugfs()
717 debugfs_create_file_size("stags", S_IWUSR, devp->debugfs_root, in setup_debugfs()
720 debugfs_create_file_size("stats", S_IWUSR, devp->debugfs_root, in setup_debugfs()
723 debugfs_create_file_size("eps", S_IWUSR, devp->debugfs_root, in setup_debugfs()
727 debugfs_create_file_size("wr_log", S_IWUSR, devp->debugfs_root, in setup_debugfs()
1017 devp->debugfs_root = debugfs_create_dir( in c4iw_alloc()
Diw_cxgb4.h259 struct dentry *debugfs_root; member
/linux-4.4.14/drivers/media/platform/coda/
Dcoda-common.c1688 ctx->debugfs_entry = debugfs_create_dir(name, dev->debugfs_root); in coda_open()
1967 dev->debugfs_root); in coda_fw_callback()
2196 dev->debugfs_root = debugfs_create_dir("coda", NULL); in coda_probe()
2197 if (!dev->debugfs_root) in coda_probe()
2204 dev->debugfs_root); in coda_probe()
2212 dev->debugfs_root); in coda_probe()
2227 dev->debugfs_root, in coda_probe()
2278 debugfs_remove_recursive(dev->debugfs_root); in coda_remove()
Dcoda.h97 struct dentry *debugfs_root; member
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h262 struct dentry *debugfs_root; member
/linux-4.4.14/drivers/usb/gadget/udc/
Datmel_usba_udc.h354 struct dentry *debugfs_root; member
Datmel_usba_udc.c208 ep_root = debugfs_create_dir(ep->ep.name, udc->debugfs_root); in usba_ep_init_debugfs()
265 udc->debugfs_root = root; in usba_init_debugfs()
286 udc->debugfs_root = NULL; in usba_init_debugfs()
294 debugfs_remove(udc->debugfs_root); in usba_cleanup_debugfs()
296 udc->debugfs_root = NULL; in usba_cleanup_debugfs()
Dbcm63xx_udc.c337 struct dentry *debugfs_root; member
2301 udc->debugfs_root = root; in bcm63xx_udc_init_debugfs()
2323 debugfs_remove(udc->debugfs_root); in bcm63xx_udc_cleanup_debugfs()
2326 udc->debugfs_root = NULL; in bcm63xx_udc_cleanup_debugfs()
Dpxa27x_udc.h482 struct dentry *debugfs_root; member
Dpxa27x_udc.c266 udc->debugfs_root = root; in pxa_init_debugfs()
286 debugfs_remove(udc->debugfs_root); in pxa_cleanup_debugfs()
290 udc->debugfs_root = NULL; in pxa_cleanup_debugfs()
/linux-4.4.14/sound/soc/intel/common/
Dsst-dsp-priv.h279 struct dentry *debugfs_root; member
/linux-4.4.14/drivers/mtd/
Dmtdswap.c142 struct dentry *debugfs_root; member
1335 d->debugfs_root = root; in mtdswap_add_debugfs()
1342 d->debugfs_root = NULL; in mtdswap_add_debugfs()
1553 debugfs_remove_recursive(d->debugfs_root); in mtdswap_remove_dev()
/linux-4.4.14/include/linux/mmc/
Dhost.h357 struct dentry *debugfs_root; member
Dcard.h313 struct dentry *debugfs_root; member
/linux-4.4.14/drivers/s390/crypto/
Dzcrypt_api.c78 static struct dentry *debugfs_root; variable
1415 debugfs_root = debugfs_create_dir("zcrypt", NULL); in zcrypt_debug_init()
1430 debugfs_remove(debugfs_root); in zcrypt_debug_exit()
/linux-4.4.14/sound/soc/
Dsoc-core.c296 component->debugfs_root = debugfs_create_dir(name, in soc_init_component_debugfs()
301 component->debugfs_root = debugfs_create_dir(component->name, in soc_init_component_debugfs()
305 if (!component->debugfs_root) { in soc_init_component_debugfs()
312 component->debugfs_root); in soc_init_component_debugfs()
320 debugfs_remove_recursive(component->debugfs_root); in soc_cleanup_component_debugfs()
328 codec->component.debugfs_root, in soc_init_codec_debugfs()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c1919 adev->ddev->control->debugfs_root, in amdgpu_debugfs_add_files()
1922 adev->ddev->primary->debugfs_root, in amdgpu_debugfs_add_files()
2017 struct dentry *ent, *root = minor->debugfs_root; in amdgpu_debugfs_regs_init()
Damdgpu_ttm.c1214 struct dentry *ent, *root = minor->debugfs_root; in amdgpu_ttm_debugfs_init()
/linux-4.4.14/drivers/regulator/
Dcore.c59 static struct dentry *debugfs_root; variable
3815 rdev->debugfs = debugfs_create_dir(rname, debugfs_root); in rdev_init_debugfs()
4347 debugfs_root = debugfs_create_dir("regulator", NULL); in regulator_init()
4348 if (!debugfs_root) in regulator_init()
4351 debugfs_create_file("supply_map", 0444, debugfs_root, NULL, in regulator_init()
4354 debugfs_create_file("regulator_summary", 0444, debugfs_root, in regulator_init()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c2632 debugfs_create_file_size(name, S_IRUSR, adap->debugfs_root, in add_debugfs_mem()
2987 adap->debugfs_root, in add_debugfs_files()
3094 de = debugfs_create_file_size("flash", S_IRUSR, adap->debugfs_root, adap, in t4_setup_debugfs()
3097 adap->debugfs_root, &adap->use_bd); in t4_setup_debugfs()
3099 adap->debugfs_root, &adap->trace_rss); in t4_setup_debugfs()
Dcxgb4.h749 struct dentry *debugfs_root; member
Dcxgb4_main.c1450 if (IS_ERR_OR_NULL(adap->debugfs_root)) in setup_debugfs()
4938 adapter->debugfs_root = debugfs_create_dir(pci_name(pdev), in init_one()
5005 debugfs_remove_recursive(adapter->debugfs_root); in remove_one()
/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.h541 struct dentry *debugfs_root; member
/linux-4.4.14/include/drm/
DdrmP.h687 struct dentry *debugfs_root; member
/linux-4.4.14/drivers/gpu/drm/tilcdc/
Dtilcdc_drv.c515 minor->debugfs_root, minor); in tilcdc_debugfs_init()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_device.c1906 rdev->ddev->control->debugfs_root, in radeon_debugfs_add_files()
1909 rdev->ddev->primary->debugfs_root, in radeon_debugfs_add_files()
Dradeon_ttm.c1158 struct dentry *ent, *root = minor->debugfs_root; in radeon_ttm_debugfs_init()
/linux-4.4.14/drivers/gpu/drm/tegra/
Ddrm.c913 minor->debugfs_root, minor); in tegra_debugfs_init()
Dhdmi.c1260 hdmi->debugfs = debugfs_create_dir("hdmi", minor->debugfs_root); in tegra_hdmi_debugfs_init()
Ddsi.c237 dsi->debugfs = debugfs_create_dir(name, minor->debugfs_root); in tegra_dsi_debugfs_init()
Ddc.c1643 dc->debugfs = debugfs_create_dir(name, minor->debugfs_root); in tegra_dc_debugfs_init()
Dsor.c995 sor->debugfs = debugfs_create_dir(name, minor->debugfs_root); in tegra_sor_debugfs_init()
/linux-4.4.14/drivers/mmc/host/
Domap_hsmmc.c1910 if (mmc->debugfs_root) in omap_hsmmc_debugfs()
1911 debugfs_create_file("regs", S_IRUSR, mmc->debugfs_root, in omap_hsmmc_debugfs()
Datmel-mci.c480 root = mmc->debugfs_root; in atmci_init_debugfs()
Ddw_mmc.c195 root = mmc->debugfs_root; in dw_mci_init_debugfs()
/linux-4.4.14/drivers/mmc/card/
Dmmc_test.c2875 if (card->debugfs_root)
2876 file = debugfs_create_file(name, mode, card->debugfs_root,
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_debugfs.c5295 ret = i915_forcewake_create(minor->debugfs_root, minor); in i915_debugfs_init()
5300 ret = i915_pipe_crc_create(minor->debugfs_root, minor, i); in i915_debugfs_init()
5306 ret = i915_debugfs_create(minor->debugfs_root, minor, in i915_debugfs_init()
5315 minor->debugfs_root, minor); in i915_debugfs_init()
/linux-4.4.14/include/sound/
Dsoc.h810 struct dentry *debugfs_root; member