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

/linux-4.1.27/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.
79 struct dentry *dbg_dir; member in struct:mic_driver
/linux-4.1.27/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.1.27/drivers/misc/mic/host/
H A Dmic_debugfs.c447 mdev->dbg_dir = debugfs_create_dir(dev_name(mdev->sdev), mic_dbg); mic_create_debug_dir()
448 if (!mdev->dbg_dir) mic_create_debug_dir()
451 debugfs_create_file("log_buf", 0444, mdev->dbg_dir, mdev, &log_buf_ops); mic_create_debug_dir()
453 debugfs_create_file("smpt", 0444, mdev->dbg_dir, mdev, &smpt_file_ops); mic_create_debug_dir()
455 debugfs_create_file("soft_reset", 0444, mdev->dbg_dir, mdev, mic_create_debug_dir()
458 debugfs_create_file("post_code", 0444, mdev->dbg_dir, mdev, mic_create_debug_dir()
461 debugfs_create_file("dp", 0444, mdev->dbg_dir, mdev, &dp_ops); mic_create_debug_dir()
463 debugfs_create_file("vdev_info", 0444, mdev->dbg_dir, mdev, mic_create_debug_dir()
466 debugfs_create_file("msi_irq_info", 0444, mdev->dbg_dir, mdev, mic_create_debug_dir()
475 if (!mdev->dbg_dir) mic_delete_debug_dir()
478 debugfs_remove_recursive(mdev->dbg_dir); mic_delete_debug_dir()
H A Dmic_device.h71 * @dbg_dir: debugfs directory of this MIC device.
110 struct dentry *dbg_dir; member in struct:mic_device
/linux-4.1.27/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.1.27/scripts/package/
H A Dbuilddeb83 dbg_dir="$objtree/debian/dbgtmp"
111 rm -rf "$tmpdir" "$fwdir" "$kernel_headers_dir" "$libc_headers_dir" "$dbg_dir"
125 mkdir -p "$dbg_dir/usr/share/doc/$dbg_packagename"
126 mkdir -m 755 -p "$dbg_dir/DEBIAN"
157 mkdir -p $(dirname $dbg_dir/usr/lib/debug/$module)
159 $OBJCOPY --only-keep-debug $tmpdir/$module $dbg_dir/usr/lib/debug/$module
163 $OBJCOPY --add-gnu-debuglink=$dbg_dir/usr/lib/debug/$module $tmpdir/$module
364 mkdir -p $dbg_dir/usr/lib/debug/lib/modules/$version/
365 cp vmlinux $dbg_dir/usr/lib/debug/lib/modules/$version/
367 mkdir -p $dbg_dir/usr/lib/debug/boot/
368 ln -s ../lib/modules/$version/vmlinux $dbg_dir/usr/lib/debug/boot/vmlinux-$version
370 ln -s lib/modules/$version/vmlinux $dbg_dir/usr/lib/debug/vmlinux-$version
383 create_package "$dbg_packagename" "$dbg_dir"
/linux-4.1.27/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.1.27/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.c720 mic_dma_dev->dbg_dir = debugfs_create_dir(dev_name(&mbdev->dev), mic_dma_driver_probe()
722 if (mic_dma_dev->dbg_dir) mic_dma_driver_probe()
724 mic_dma_dev->dbg_dir, mic_dma_dev, mic_dma_driver_probe()
735 debugfs_remove_recursive(mic_dma_dev->dbg_dir); mic_dma_driver_remove()
/linux-4.1.27/include/linux/power/
H A Dsmartreflex.h152 struct dentry *dbg_dir; member in struct:omap_sr
/linux-4.1.27/include/linux/
H A Dremoteproc.h389 * @dbg_dir: debugfs directory of this rproc device
421 struct dentry *dbg_dir; member in struct:rproc

Completed in 925 milliseconds