/drivers/gpu/drm/nouveau/ |
D | nouveau_debugfs.c | 53 struct nouveau_debugfs *debugfs = nouveau_debugfs(drm); in nouveau_debugfs_pstate_get() local 54 struct nvif_object *ctrl = &debugfs->ctrl; in nouveau_debugfs_pstate_get() 58 if (!debugfs) in nouveau_debugfs_pstate_get() 124 struct nouveau_debugfs *debugfs = nouveau_debugfs(drm); in nouveau_debugfs_pstate_set() local 125 struct nvif_object *ctrl = &debugfs->ctrl; in nouveau_debugfs_pstate_set() 130 if (!debugfs) in nouveau_debugfs_pstate_set() 224 drm->debugfs = kzalloc(sizeof(*drm->debugfs), GFP_KERNEL); in nouveau_debugfs_init() 225 if (!drm->debugfs) in nouveau_debugfs_init() 230 &drm->debugfs->ctrl); in nouveau_debugfs_init() 240 if (drm->debugfs && drm->debugfs->ctrl.priv) in nouveau_debugfs_fini() [all …]
|
/drivers/net/wireless/ti/wl1251/ |
D | debugfs.c | 55 wl->debugfs.name = debugfs_create_file(#name, 0400, parent, \ 57 if (IS_ERR(wl->debugfs.name)) { \ 58 ret = PTR_ERR(wl->debugfs.name); \ 59 wl->debugfs.name = NULL; \ 65 debugfs_remove(wl->debugfs.name); \ 66 wl->debugfs.name = NULL; \ 92 DEBUGFS_ADD(sub## _ ##name, wl->debugfs.fw_statistics) 452 DEBUGFS_ADD(tx_queue_len, wl->debugfs.rootdir); in wl1251_debugfs_add_files() 453 DEBUGFS_ADD(tx_queue_status, wl->debugfs.rootdir); in wl1251_debugfs_add_files() 454 DEBUGFS_ADD(retry_count, wl->debugfs.rootdir); in wl1251_debugfs_add_files() [all …]
|
/drivers/dma/qcom/ |
D | hidma_dbg.c | 167 debugfs_remove_recursive(dmadev->debugfs); in hidma_debug_uninit() 176 dmadev->debugfs = debugfs_create_dir(dev_name(dmadev->ddev.dev), NULL); in hidma_debug_init() 177 if (!dmadev->debugfs) { in hidma_debug_init() 189 chan->debugfs = debugfs_create_dir(chan->dbg_name, in hidma_debug_init() 190 dmadev->debugfs); in hidma_debug_init() 191 if (!chan->debugfs) { in hidma_debug_init() 196 chan->debugfs, chan, in hidma_debug_init() 206 dmadev->debugfs, dmadev, in hidma_debug_init()
|
/drivers/usb/chipidea/ |
D | debug.c | 402 ci->debugfs = debugfs_create_dir(dev_name(ci->dev), NULL); in dbg_create_files() 403 if (!ci->debugfs) in dbg_create_files() 406 dent = debugfs_create_file("device", S_IRUGO, ci->debugfs, ci, in dbg_create_files() 411 dent = debugfs_create_file("port_test", S_IRUGO | S_IWUSR, ci->debugfs, in dbg_create_files() 416 dent = debugfs_create_file("qheads", S_IRUGO, ci->debugfs, ci, in dbg_create_files() 421 dent = debugfs_create_file("requests", S_IRUGO, ci->debugfs, ci, in dbg_create_files() 427 dent = debugfs_create_file("otg", S_IRUGO, ci->debugfs, ci, in dbg_create_files() 433 dent = debugfs_create_file("role", S_IRUGO | S_IWUSR, ci->debugfs, ci, in dbg_create_files() 438 dent = debugfs_create_file("registers", S_IRUGO, ci->debugfs, ci, in dbg_create_files() 444 debugfs_remove_recursive(ci->debugfs); in dbg_create_files() [all …]
|
/drivers/misc/cxl/ |
D | debugfs.c | 95 adapter->debugfs = dir; in cxl_debugfs_adapter_add() 106 debugfs_remove_recursive(adapter->debugfs); in cxl_debugfs_adapter_remove() 130 if (!afu->adapter->debugfs) in cxl_debugfs_afu_add() 134 dir = debugfs_create_dir(buf, afu->adapter->debugfs); in cxl_debugfs_afu_add() 137 afu->debugfs = dir; in cxl_debugfs_afu_add() 153 debugfs_remove_recursive(afu->debugfs); in cxl_debugfs_afu_remove()
|
/drivers/base/regmap/ |
D | regmap-debugfs.c | 560 map->debugfs = debugfs_create_dir(name, regmap_debugfs_root); in regmap_debugfs_init() 561 if (!map->debugfs) { in regmap_debugfs_init() 566 debugfs_create_file("name", 0400, map->debugfs, in regmap_debugfs_init() 569 debugfs_create_file("range", 0400, map->debugfs, in regmap_debugfs_init() 581 debugfs_create_file("registers", registers_mode, map->debugfs, in regmap_debugfs_init() 583 debugfs_create_file("access", 0400, map->debugfs, in regmap_debugfs_init() 588 debugfs_create_file("cache_only", 0600, map->debugfs, in regmap_debugfs_init() 590 debugfs_create_bool("cache_dirty", 0400, map->debugfs, in regmap_debugfs_init() 592 debugfs_create_file("cache_bypass", 0600, map->debugfs, in regmap_debugfs_init() 603 map->debugfs, range_node, in regmap_debugfs_init() [all …]
|
/drivers/gpu/drm/omapdrm/dss/ |
D | Kconfig | 24 appropriate flags in <debugfs>/dynamic_debug/control. 31 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables 40 Collect DSS IRQ statistics, printable via debugfs. 43 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and 44 <debugfs>/omapdss/dsi_irq for DSI interrupts.
|
/drivers/net/caif/ |
D | caif_virtio.c | 126 struct dentry *debugfs; member 626 cfv->debugfs = in debugfs_init() 629 if (IS_ERR(cfv->debugfs)) in debugfs_init() 632 debugfs_create_u32("rx-napi-complete", S_IRUSR, cfv->debugfs, in debugfs_init() 634 debugfs_create_u32("rx-napi-resched", S_IRUSR, cfv->debugfs, in debugfs_init() 636 debugfs_create_u32("rx-nomem", S_IRUSR, cfv->debugfs, in debugfs_init() 638 debugfs_create_u32("rx-kicks", S_IRUSR, cfv->debugfs, in debugfs_init() 640 debugfs_create_u32("tx-full-ring", S_IRUSR, cfv->debugfs, in debugfs_init() 642 debugfs_create_u32("tx-no-mem", S_IRUSR, cfv->debugfs, in debugfs_init() 644 debugfs_create_u32("tx-kicks", S_IRUSR, cfv->debugfs, in debugfs_init() [all …]
|
/drivers/watchdog/ |
D | bcm_kona_wdt.c | 61 struct dentry *debugfs; member 160 wdt->debugfs = NULL; in bcm_kona_wdt_debug_init() 168 wdt->debugfs = dir; in bcm_kona_wdt_debug_init() 177 if (wdt && wdt->debugfs) { in bcm_kona_wdt_debug_exit() 178 debugfs_remove_recursive(wdt->debugfs); in bcm_kona_wdt_debug_exit() 179 wdt->debugfs = NULL; in bcm_kona_wdt_debug_exit()
|
D | ie6xx_wdt.c | 86 struct dentry *debugfs; member 230 ie6xx_wdt_data.debugfs = debugfs_create_file("ie6xx_wdt", in ie6xx_wdt_debugfs_init() 236 debugfs_remove(ie6xx_wdt_data.debugfs); in ie6xx_wdt_debugfs_exit()
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | Kconfig | 17 appropriate flags in <debugfs>/dynamic_debug/control. 24 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables 33 Collect DSS IRQ statistics, printable via debugfs. 36 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and 37 <debugfs>/omapdss/dsi_irq for DSI interrupts.
|
/drivers/thermal/ |
D | x86_pkg_temp_thermal.c | 86 static struct dentry *debugfs; variable 94 debugfs = debugfs_create_dir("pkg_temp_thermal", NULL); in pkg_temp_debugfs_init() 95 if (!debugfs) in pkg_temp_debugfs_init() 98 d = debugfs_create_u32("pkg_thres_interrupt", S_IRUGO, debugfs, in pkg_temp_debugfs_init() 103 d = debugfs_create_u32("pkg_thres_work", S_IRUGO, debugfs, in pkg_temp_debugfs_init() 111 debugfs_remove_recursive(debugfs); in pkg_temp_debugfs_init() 550 debugfs_remove_recursive(debugfs); in module_init()
|
/drivers/net/wireless/ath/wil6210/ |
D | Kconfig | 27 registers with debugfs. If COR were used, ISR would 45 bool "wil6210 debugfs support" 50 Say Y here to enable wil6210 debugfs support, using the 51 kernel debugfs infrastructure. Select this
|
/drivers/staging/greybus/ |
D | camera.c | 63 } debugfs; member 876 &gcam->debugfs.buffers[GB_CAMERA_DEBUGFS_BUFFER_CAPABILITIES]; in gb_camera_debugfs_capabilities() 912 &gcam->debugfs.buffers[GB_CAMERA_DEBUGFS_BUFFER_STREAMS]; in gb_camera_debugfs_configure_streams() 1047 &gcam->debugfs.buffers[GB_CAMERA_DEBUGFS_BUFFER_FLUSH]; in gb_camera_debugfs_flush() 1106 buffer = &gcam->debugfs.buffers[op->buffer]; in gb_camera_debugfs_read() 1177 gcam->debugfs.root = debugfs_create_dir(dirname, gb_debugfs_get()); in gb_camera_debugfs_init() 1178 if (IS_ERR(gcam->debugfs.root)) { in gb_camera_debugfs_init() 1180 PTR_ERR(gcam->debugfs.root)); in gb_camera_debugfs_init() 1181 return PTR_ERR(gcam->debugfs.root); in gb_camera_debugfs_init() 1184 gcam->debugfs.buffers = vmalloc(sizeof(*gcam->debugfs.buffers) * in gb_camera_debugfs_init() [all …]
|
/drivers/net/ieee802154/ |
D | Kconfig | 37 bool "AT86RF230 debugfs interface" 40 This option compiles debugfs code for the at86rf230 driver. 99 bool "CA8210 debugfs interface" 103 This option compiles debugfs code for the ca8210 driver. This 104 exposes a debugfs node for each CA8210 instance which allows
|
/drivers/gpu/drm/qxl/ |
D | qxl_debugfs.c | 110 if (qdev->debugfs[i].files == files) { in qxl_debugfs_add_files() 122 qdev->debugfs[qdev->debugfs_count].files = files; in qxl_debugfs_add_files() 123 qdev->debugfs[qdev->debugfs_count].num_files = nfiles; in qxl_debugfs_add_files()
|
/drivers/mfd/ |
D | ab3100-otp.c | 59 struct dentry *debugfs; member 128 otp->debugfs = debugfs_create_file("ab3100_otp", S_IFREG | S_IRUGO, in ab3100_otp_init_debugfs() 131 if (!otp->debugfs) { in ab3100_otp_init_debugfs() 140 debugfs_remove(otp->debugfs); in ab3100_otp_exit_debugfs()
|
/drivers/net/wireless/marvell/mwifiex/ |
D | README | 33 utility or debugfs. 70 The debugfs interface can be used for configurations and for getting 75 Mount debugfs to /debugfs mount point: 77 mkdir /debugfs 78 mount -t debugfs debugfs /debugfs 80 The information is provided in /debugfs/mwifiex/mlanX/: 117 The following debug info are provided in /debugfs/mwifiex/mlanX/debug:
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | Makefile | 8 iwlmvm-$(CONFIG_IWLWIFI_DEBUGFS) += debugfs.o debugfs-vif.o
|
/drivers/net/wireless/ath/wcn36xx/ |
D | Kconfig | 13 bool "WCN36XX debugfs support" 16 Enabled debugfs support
|
/drivers/edac/ |
D | i5100_edac.c | 360 struct dentry *debugfs; member 967 priv->debugfs = edac_debugfs_create_dir_at(mci->bus->name, i5100_debugfs); in i5100_setup_debugfs() 969 if (!priv->debugfs) in i5100_setup_debugfs() 972 edac_debugfs_create_x8("inject_channel", S_IRUGO | S_IWUSR, priv->debugfs, in i5100_setup_debugfs() 974 edac_debugfs_create_x8("inject_hlinesel", S_IRUGO | S_IWUSR, priv->debugfs, in i5100_setup_debugfs() 976 edac_debugfs_create_x8("inject_deviceptr1", S_IRUGO | S_IWUSR, priv->debugfs, in i5100_setup_debugfs() 978 edac_debugfs_create_x8("inject_deviceptr2", S_IRUGO | S_IWUSR, priv->debugfs, in i5100_setup_debugfs() 980 edac_debugfs_create_x16("inject_eccmask1", S_IRUGO | S_IWUSR, priv->debugfs, in i5100_setup_debugfs() 982 edac_debugfs_create_x16("inject_eccmask2", S_IRUGO | S_IWUSR, priv->debugfs, in i5100_setup_debugfs() 984 edac_debugfs_create_file("inject_enable", S_IWUSR, priv->debugfs, in i5100_setup_debugfs() [all …]
|
/drivers/media/common/siano/ |
D | Kconfig | 22 bool "Enable debugfs for smsdvb" 29 statistics response packets via debugfs. Currently, works
|
D | smsdvb-debugfs.c | 474 client->debugfs = debugfs_create_dir(coredev->devpath, in smsdvb_debugfs_create() 476 if (IS_ERR_OR_NULL(client->debugfs)) { in smsdvb_debugfs_create() 482 d = debugfs_create_file("stats", S_IRUGO | S_IWUSR, client->debugfs, in smsdvb_debugfs_create() 485 debugfs_remove(client->debugfs); in smsdvb_debugfs_create() 507 if (!client->debugfs) in smsdvb_debugfs_release() 514 debugfs_remove_recursive(client->debugfs); in smsdvb_debugfs_release() 518 client->debugfs = NULL; in smsdvb_debugfs_release()
|
/drivers/sh/intc/ |
D | Kconfig | 35 bool "Expose IRQ to per-controller id mapping via debugfs" 38 This will create a debugfs entry for showing the relationship
|
/drivers/hwmon/pmbus/ |
D | pmbus_core.c | 106 struct dentry *debugfs; /* debugfs device directory */ member 1987 data->debugfs = debugfs_create_dir(dev_name(data->hwmon_dev), in pmbus_init_debugfs() 1989 if (IS_ERR_OR_NULL(data->debugfs)) { in pmbus_init_debugfs() 1990 data->debugfs = NULL; in pmbus_init_debugfs() 2008 debugfs_create_file(name, 0444, data->debugfs, in pmbus_init_debugfs() 2018 debugfs_create_file(name, 0444, data->debugfs, in pmbus_init_debugfs() 2028 debugfs_create_file(name, 0444, data->debugfs, in pmbus_init_debugfs() 2038 debugfs_create_file(name, 0444, data->debugfs, in pmbus_init_debugfs() 2048 debugfs_create_file(name, 0444, data->debugfs, in pmbus_init_debugfs() 2058 debugfs_create_file(name, 0444, data->debugfs, in pmbus_init_debugfs() [all …]
|