Searched refs:dbg_dir (Results 1 - 18 of 18) sorted by relevance

/linux-4.4.14/drivers/misc/mic/card/
H A Dmic_debugfs.c87 mdrv->dbg_dir = debugfs_create_dir(mdrv->name, mic_dbg); mic_create_card_debug_dir()
88 if (!mdrv->dbg_dir) { mic_create_card_debug_dir()
89 dev_err(mdrv->dev, "Cant create dbg_dir %s\n", mdrv->name); mic_create_card_debug_dir()
93 d = debugfs_create_file("intr_test", 0444, mdrv->dbg_dir, mic_create_card_debug_dir()
108 if (!mdrv->dbg_dir) mic_delete_card_debug_dir()
111 debugfs_remove_recursive(mdrv->dbg_dir); mic_delete_card_debug_dir()
H A Dmic_device.h68 * @dbg_dir: debugfs directory of this MIC device.
82 struct dentry *dbg_dir; member in struct:mic_driver
/linux-4.4.14/drivers/misc/mic/cosm/
H A Dcosm_debugfs.c129 cdev->dbg_dir = debugfs_create_dir(name, cosm_dbg); cosm_create_debug_dir()
130 if (!cdev->dbg_dir) cosm_create_debug_dir()
133 debugfs_create_file("log_buf", 0444, cdev->dbg_dir, cdev, &log_buf_ops); cosm_create_debug_dir()
134 debugfs_create_file("force_reset", 0444, cdev->dbg_dir, cdev, cosm_create_debug_dir()
140 if (!cdev->dbg_dir) cosm_delete_debug_dir()
143 debugfs_remove_recursive(cdev->dbg_dir); cosm_delete_debug_dir()
/linux-4.4.14/sound/soc/fsl/
H A Dfsl_ssi_dbg.c145 ssi_dbg->dbg_dir = debugfs_create_dir(dev_name(dev), NULL); fsl_ssi_debugfs_create()
146 if (!ssi_dbg->dbg_dir) fsl_ssi_debugfs_create()
150 ssi_dbg->dbg_dir, ssi_dbg, &fsl_ssi_stats_ops); fsl_ssi_debugfs_create()
152 debugfs_remove(ssi_dbg->dbg_dir); fsl_ssi_debugfs_create()
162 debugfs_remove(ssi_dbg->dbg_dir); fsl_ssi_debugfs_remove()
H A Dfsl_ssi.h214 struct dentry *dbg_dir; member in struct:fsl_ssi_dbg
/linux-4.4.14/drivers/misc/mic/host/
H A Dmic_debugfs.c361 mdev->dbg_dir = debugfs_create_dir(name, mic_dbg); mic_create_debug_dir()
362 if (!mdev->dbg_dir) mic_create_debug_dir()
365 debugfs_create_file("smpt", 0444, mdev->dbg_dir, mdev, &smpt_file_ops); mic_create_debug_dir()
367 debugfs_create_file("post_code", 0444, mdev->dbg_dir, mdev, mic_create_debug_dir()
370 debugfs_create_file("dp", 0444, mdev->dbg_dir, mdev, &dp_ops); mic_create_debug_dir()
372 debugfs_create_file("vdev_info", 0444, mdev->dbg_dir, mdev, mic_create_debug_dir()
375 debugfs_create_file("msi_irq_info", 0444, mdev->dbg_dir, mdev, mic_create_debug_dir()
384 if (!mdev->dbg_dir) mic_delete_debug_dir()
387 debugfs_remove_recursive(mdev->dbg_dir); mic_delete_debug_dir()
H A Dmic_device.h63 * @dbg_dir: debugfs directory of this MIC device.
90 struct dentry *dbg_dir; member in struct:mic_device
/linux-4.4.14/drivers/remoteproc/
H A Dremoteproc_debugfs.c203 tfile = debugfs_create_file(name, 0400, rproc->dbg_dir, rproc_create_trace_file()
215 if (!rproc->dbg_dir) rproc_delete_debug_dir()
218 debugfs_remove_recursive(rproc->dbg_dir); rproc_delete_debug_dir()
228 rproc->dbg_dir = debugfs_create_dir(dev_name(dev), rproc_dbg); rproc_create_debug_dir()
229 if (!rproc->dbg_dir) rproc_create_debug_dir()
232 debugfs_create_file("name", 0400, rproc->dbg_dir, rproc_create_debug_dir()
234 debugfs_create_file("state", 0400, rproc->dbg_dir, rproc_create_debug_dir()
236 debugfs_create_file("recovery", 0400, rproc->dbg_dir, rproc_create_debug_dir()
/linux-4.4.14/scripts/package/
H A Dbuilddeb96 dbg_dir="$objtree/debian/dbgtmp"
127 rm -rf "$tmpdir" "$fwdir" "$kernel_headers_dir" "$libc_headers_dir" "$dbg_dir" $objtree/debian/files
169 mkdir -p $(dirname $dbg_dir/usr/lib/debug/$module)
171 $OBJCOPY --only-keep-debug $tmpdir/$module $dbg_dir/usr/lib/debug/$module
175 $OBJCOPY --add-gnu-debuglink=$dbg_dir/usr/lib/debug/$module $tmpdir/$module
386 mkdir -p $dbg_dir/usr/lib/debug/lib/modules/$version/
387 cp vmlinux $dbg_dir/usr/lib/debug/lib/modules/$version/
389 mkdir -p $dbg_dir/usr/lib/debug/boot/
390 ln -s ../lib/modules/$version/vmlinux $dbg_dir/usr/lib/debug/boot/vmlinux-$version
392 ln -s lib/modules/$version/vmlinux $dbg_dir/usr/lib/debug/vmlinux-$version
405 create_package "$dbg_packagename" "$dbg_dir"
/linux-4.4.14/drivers/misc/mic/bus/
H A Dcosm_bus.h48 * @dbg_dir: debug fs directory
73 struct dentry *dbg_dir; member in struct:cosm_device
/linux-4.4.14/drivers/power/avs/
H A Dsmartreflex.c931 sr_info->dbg_dir = debugfs_create_dir(sr_info->name, sr_dbg_dir); omap_sr_probe()
932 if (IS_ERR_OR_NULL(sr_info->dbg_dir)) { omap_sr_probe()
935 ret = PTR_ERR(sr_info->dbg_dir); omap_sr_probe()
940 sr_info->dbg_dir, (void *)sr_info, &pm_sr_fops); omap_sr_probe()
941 (void) debugfs_create_x32("errweight", S_IRUGO, sr_info->dbg_dir, omap_sr_probe()
943 (void) debugfs_create_x32("errmaxlimit", S_IRUGO, sr_info->dbg_dir, omap_sr_probe()
946 nvalue_dir = debugfs_create_dir("nvalue", sr_info->dbg_dir); omap_sr_probe()
979 debugfs_remove_recursive(sr_info->dbg_dir); omap_sr_probe()
1004 if (sr_info->dbg_dir) omap_sr_remove()
1005 debugfs_remove_recursive(sr_info->dbg_dir); omap_sr_remove()
/linux-4.4.14/drivers/dma/
H A Dmic_x100_dma.h137 * @dbg_dir: debugfs directory
146 struct dentry *dbg_dir; member in struct:mic_dma_device
H A Dmic_x100_dma.c758 mic_dma_dev->dbg_dir = debugfs_create_dir(dev_name(&mbdev->dev), mic_dma_driver_probe()
760 if (mic_dma_dev->dbg_dir) mic_dma_driver_probe()
762 mic_dma_dev->dbg_dir, mic_dma_dev, mic_dma_driver_probe()
773 debugfs_remove_recursive(mic_dma_dev->dbg_dir); mic_dma_driver_remove()
/linux-4.4.14/drivers/block/
H A Dnbd.c68 struct dentry *dbg_dir; member in struct:nbd_device
902 nbd->dbg_dir = dir; nbd_dev_dbg_init()
944 debugfs_remove_recursive(nbd->dbg_dir); nbd_dev_dbg_close()
949 struct dentry *dbg_dir; nbd_dbg_init() local
951 dbg_dir = debugfs_create_dir("nbd", NULL); nbd_dbg_init()
952 if (IS_ERR(dbg_dir)) nbd_dbg_init()
953 return PTR_ERR(dbg_dir); nbd_dbg_init()
955 nbd_dbg_dir = dbg_dir; nbd_dbg_init()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.c103 struct dentry *dbg_dir; member in struct:mlxsw_core
761 mlxsw_core->dbg_dir = debugfs_create_dir(bus_info->device_name, mlxsw_core_debugfs_init()
763 if (!mlxsw_core->dbg_dir) mlxsw_core_debugfs_init()
765 debugfs_create_file("rx_stats", S_IRUGO, mlxsw_core->dbg_dir, mlxsw_core_debugfs_init()
769 debugfs_create_blob("vsd", S_IRUGO, mlxsw_core->dbg_dir, mlxsw_core_debugfs_init()
773 debugfs_create_blob("psid", S_IRUGO, mlxsw_core->dbg_dir, mlxsw_core_debugfs_init()
780 debugfs_remove_recursive(mlxsw_core->dbg_dir); mlxsw_core_debugfs_fini()
H A Dpci.c193 struct dentry *dbg_dir; member in struct:mlxsw_pci
1023 debugfs_create_devm_seqfile(&pdev->dev, tmp, mlxsw_pci->dbg_dir, mlxsw_pci_queue_group_init()
1763 mlxsw_pci->dbg_dir = debugfs_create_dir(mlxsw_pci->bus_info.device_name, mlxsw_pci_probe()
1765 if (!mlxsw_pci->dbg_dir) { mlxsw_pci_probe()
1781 debugfs_remove_recursive(mlxsw_pci->dbg_dir); mlxsw_pci_probe()
1803 debugfs_remove_recursive(mlxsw_pci->dbg_dir); mlxsw_pci_remove()
/linux-4.4.14/include/linux/power/
H A Dsmartreflex.h152 struct dentry *dbg_dir; member in struct:omap_sr
/linux-4.4.14/include/linux/
H A Dremoteproc.h391 * @dbg_dir: debugfs directory of this rproc device
423 struct dentry *dbg_dir; member in struct:rproc

Completed in 612 milliseconds