Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/infiniband/hw/usnic/
Dusnic_debugfs.c28 static struct dentry *debugfs_root; variable
100 debugfs_root = debugfs_create_dir(DRV_NAME, NULL); in usnic_debugfs_init()
101 if (IS_ERR(debugfs_root)) { in usnic_debugfs_init()
106 flows_dentry = debugfs_create_dir("flows", debugfs_root); in usnic_debugfs_init()
113 debugfs_create_file("build-info", S_IRUGO, debugfs_root, in usnic_debugfs_init()
118 debugfs_remove_recursive(debugfs_root); in usnic_debugfs_init()
120 debugfs_root = NULL; in usnic_debugfs_init()
125 if (!debugfs_root) in usnic_debugfs_exit()
128 debugfs_remove_recursive(debugfs_root); in usnic_debugfs_exit()
129 debugfs_root = NULL; in usnic_debugfs_exit()
/linux-4.1.27/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.1.27/drivers/mmc/core/
Ddebugfs.c224 host->debugfs_root = root; in mmc_add_host_debugfs()
251 host->debugfs_root = NULL; in mmc_add_host_debugfs()
258 debugfs_remove_recursive(host->debugfs_root); in mmc_remove_host_debugfs()
341 if (!host->debugfs_root) in mmc_add_card_debugfs()
344 root = debugfs_create_dir(mmc_card_id(card), host->debugfs_root); in mmc_add_card_debugfs()
353 card->debugfs_root = root; in mmc_add_card_debugfs()
372 card->debugfs_root = NULL; in mmc_add_card_debugfs()
378 debugfs_remove_recursive(card->debugfs_root); in mmc_remove_card_debugfs()
/linux-4.1.27/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.1.27/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.1.27/drivers/gpu/vga/
Dvga_switcheroo.c53 struct dentry *debugfs_root; member
523 if (priv->debugfs_root) { in vga_switcheroo_debugfs_fini()
524 debugfs_remove(priv->debugfs_root); in vga_switcheroo_debugfs_fini()
525 priv->debugfs_root = NULL; in vga_switcheroo_debugfs_fini()
532 if (priv->debugfs_root) in vga_switcheroo_debugfs_init()
534 priv->debugfs_root = debugfs_create_dir("vgaswitcheroo", NULL); in vga_switcheroo_debugfs_init()
536 if (!priv->debugfs_root) { in vga_switcheroo_debugfs_init()
542 priv->debugfs_root, NULL, &vga_switcheroo_debugfs_fops); in vga_switcheroo_debugfs_init()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/usb/musb/
Dmusb_debugfs.c267 musb->debugfs_root = root; in musb_init_debugfs()
280 debugfs_remove_recursive(musb->debugfs_root); in musb_exit_debugfs()
Dmusb_core.h436 struct dentry *debugfs_root; member
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c55 minor->debugfs_root, minor); in nouveau_debugfs_init()
/linux-4.1.27/drivers/pinctrl/
Dcore.c1614 static struct dentry *debugfs_root; variable
1621 debugfs_root); in pinctrl_init_device_debugfs()
1648 debugfs_root = debugfs_create_dir("pinctrl", NULL); in pinctrl_init_debugfs()
1649 if (IS_ERR(debugfs_root) || !debugfs_root) { in pinctrl_init_debugfs()
1651 debugfs_root = NULL; in pinctrl_init_debugfs()
1656 debugfs_root, NULL, &pinctrl_devices_ops); in pinctrl_init_debugfs()
1658 debugfs_root, NULL, &pinctrl_maps_ops); in pinctrl_init_debugfs()
1660 debugfs_root, NULL, &pinctrl_ops); in pinctrl_init_debugfs()
/linux-4.1.27/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.c615 minor->debugfs_root, minor); in msm_debugfs_init()
/linux-4.1.27/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.1.27/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.1.27/drivers/bus/
Dmvebu-mbus.c139 struct dentry *debugfs_root; member
847 s->debugfs_root = debugfs_create_dir("mvebu-mbus", NULL); in mvebu_mbus_debugfs_init()
848 if (s->debugfs_root) { in mvebu_mbus_debugfs_init()
850 s->debugfs_root, NULL, in mvebu_mbus_debugfs_init()
853 s->debugfs_root, NULL, in mvebu_mbus_debugfs_init()
/linux-4.1.27/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.1.27/drivers/mtd/devices/
Ddocg3.h315 struct dentry *debugfs_root; member
Ddocg3.c1800 docg3->debugfs_root = root; in doc_dbg_register()
1810 debugfs_remove_recursive(docg3->debugfs_root); in doc_dbg_unregister()
/linux-4.1.27/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()
2830 adapter->debugfs_root = in cxgb4vf_pci_probe()
2833 if (IS_ERR_OR_NULL(adapter->debugfs_root)) in cxgb4vf_pci_probe()
2888 if (!IS_ERR_OR_NULL(adapter->debugfs_root)) { in cxgb4vf_pci_probe()
2890 debugfs_remove_recursive(adapter->debugfs_root); in cxgb4vf_pci_probe()
2959 if (!IS_ERR_OR_NULL(adapter->debugfs_root)) { in cxgb4vf_pci_remove()
2961 debugfs_remove_recursive(adapter->debugfs_root); in cxgb4vf_pci_remove()
Dadapter.h380 struct dentry *debugfs_root; member
/linux-4.1.27/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()
1025 devp->debugfs_root = debugfs_create_dir( in c4iw_alloc()
Diw_cxgb4.h261 struct dentry *debugfs_root; member
/linux-4.1.27/drivers/media/platform/coda/
Dcoda-common.c1670 ctx->debugfs_entry = debugfs_create_dir(name, dev->debugfs_root); in coda_open()
1948 dev->debugfs_root); in coda_fw_callback()
2179 dev->debugfs_root = debugfs_create_dir("coda", NULL); in coda_probe()
2180 if (!dev->debugfs_root) in coda_probe()
2187 dev->debugfs_root); in coda_probe()
2195 dev->debugfs_root); in coda_probe()
2210 dev->debugfs_root, in coda_probe()
2261 debugfs_remove_recursive(dev->debugfs_root); in coda_remove()
Dcoda.h97 struct dentry *debugfs_root; member
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h262 struct dentry *debugfs_root; member
/linux-4.1.27/drivers/usb/gadget/udc/
Datmel_usba_udc.h354 struct dentry *debugfs_root; member
Datmel_usba_udc.c209 ep_root = debugfs_create_dir(ep->ep.name, udc->debugfs_root); in usba_ep_init_debugfs()
266 udc->debugfs_root = root; in usba_init_debugfs()
287 udc->debugfs_root = NULL; in usba_init_debugfs()
295 debugfs_remove(udc->debugfs_root); in usba_cleanup_debugfs()
297 udc->debugfs_root = NULL; in usba_cleanup_debugfs()
Dbcm63xx_udc.c317 struct dentry *debugfs_root; member
2280 udc->debugfs_root = root; in bcm63xx_udc_init_debugfs()
2302 debugfs_remove(udc->debugfs_root); in bcm63xx_udc_cleanup_debugfs()
2305 udc->debugfs_root = NULL; in bcm63xx_udc_cleanup_debugfs()
Dpxa27x_udc.h472 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.1.27/sound/soc/intel/common/
Dsst-dsp-priv.h279 struct dentry *debugfs_root; member
/linux-4.1.27/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.1.27/include/linux/mmc/
Dhost.h357 struct dentry *debugfs_root; member
Dcard.h309 struct dentry *debugfs_root; member
/linux-4.1.27/drivers/s390/crypto/
Dzcrypt_api.c74 static struct dentry *debugfs_root; variable
1419 debugfs_root = debugfs_create_dir("zcrypt", NULL); in zcrypt_debug_init()
1434 debugfs_remove(debugfs_root); in zcrypt_debug_exit()
/linux-4.1.27/sound/soc/
Dsoc-core.c304 component->debugfs_root = debugfs_create_dir(name, in soc_init_component_debugfs()
309 component->debugfs_root = debugfs_create_dir(component->name, in soc_init_component_debugfs()
313 if (!component->debugfs_root) { in soc_init_component_debugfs()
320 component->debugfs_root); in soc_init_component_debugfs()
328 debugfs_remove_recursive(component->debugfs_root); in soc_cleanup_component_debugfs()
336 codec->component.debugfs_root, in soc_init_codec_debugfs()
/linux-4.1.27/drivers/regulator/
Dcore.c60 static struct dentry *debugfs_root; variable
3581 rdev->debugfs = debugfs_create_dir(rname, debugfs_root); in rdev_init_debugfs()
4103 debugfs_root = debugfs_create_dir("regulator", NULL); in regulator_init()
4104 if (!debugfs_root) in regulator_init()
4107 debugfs_create_file("supply_map", 0444, debugfs_root, NULL, in regulator_init()
4110 debugfs_create_file("regulator_summary", 0444, debugfs_root, in regulator_init()
/linux-4.1.27/drivers/gpu/drm/tilcdc/
Dtilcdc_drv.c498 minor->debugfs_root, minor); in tilcdc_debugfs_init()
/linux-4.1.27/drivers/scsi/cxgbi/
Dlibcxgbi.h539 struct dentry *debugfs_root; member
/linux-4.1.27/include/drm/
DdrmP.h669 struct dentry *debugfs_root; member
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_device.c1894 rdev->ddev->control->debugfs_root, in radeon_debugfs_add_files()
1897 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.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c1957 debugfs_create_file_size(name, S_IRUSR, adap->debugfs_root, in add_debugfs_mem()
1973 adap->debugfs_root, in add_debugfs_files()
2069 de = debugfs_create_file_size("flash", S_IRUSR, adap->debugfs_root, adap, in t4_setup_debugfs()
Dcxgb4.h717 struct dentry *debugfs_root; member
Dcxgb4_main.c1424 if (IS_ERR_OR_NULL(adap->debugfs_root)) in setup_debugfs()
4680 adapter->debugfs_root = debugfs_create_dir(pci_name(pdev), in init_one()
4747 debugfs_remove_recursive(adapter->debugfs_root); in remove_one()
/linux-4.1.27/drivers/gpu/drm/tegra/
Ddrm.c903 minor->debugfs_root, minor); in tegra_debugfs_init()
Ddsi.c225 dsi->debugfs = debugfs_create_dir(name, minor->debugfs_root); in tegra_dsi_debugfs_init()
Dhdmi.c1276 hdmi->debugfs = debugfs_create_dir("hdmi", minor->debugfs_root); in tegra_hdmi_debugfs_init()
Dsor.c818 sor->debugfs = debugfs_create_dir("sor", minor->debugfs_root); in tegra_sor_debugfs_init()
Ddc.c1583 dc->debugfs = debugfs_create_dir(name, minor->debugfs_root); in tegra_dc_debugfs_init()
/linux-4.1.27/drivers/mmc/host/
Domap_hsmmc.c1827 if (mmc->debugfs_root) in omap_hsmmc_debugfs()
1828 debugfs_create_file("regs", S_IRUSR, mmc->debugfs_root, in omap_hsmmc_debugfs()
Datmel-mci.c481 root = mmc->debugfs_root; in atmci_init_debugfs()
Ddw_mmc.c197 root = mmc->debugfs_root; in dw_mci_init_debugfs()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_debugfs.c4739 ret = i915_forcewake_create(minor->debugfs_root, minor); in i915_debugfs_init()
4744 ret = i915_pipe_crc_create(minor->debugfs_root, minor, i); in i915_debugfs_init()
4750 ret = i915_debugfs_create(minor->debugfs_root, minor, in i915_debugfs_init()
4759 minor->debugfs_root, minor); in i915_debugfs_init()
/linux-4.1.27/drivers/mmc/card/
Dmmc_test.c2950 if (card->debugfs_root)
2951 file = debugfs_create_file(name, mode, card->debugfs_root,
/linux-4.1.27/include/sound/
Dsoc.h773 struct dentry *debugfs_root; member