Home
last modified time | relevance | path

Searched refs:dbgfs_dir (Results 1 – 25 of 52) sorted by relevance

123

/linux/drivers/dma/idxd/
H A Ddebugfs.c101 idxd->dbgfs_dir = debugfs_create_dir(dev_name(idxd_confdev(idxd)), idxd_debugfs_dir); in idxd_device_init_debugfs()
102 if (IS_ERR(idxd->dbgfs_dir)) in idxd_device_init_debugfs()
103 return PTR_ERR(idxd->dbgfs_dir); in idxd_device_init_debugfs()
107 idxd->dbgfs_dir, idxd, in idxd_device_init_debugfs()
110 debugfs_remove_recursive(idxd->dbgfs_dir); in idxd_device_init_debugfs()
111 idxd->dbgfs_dir = NULL; in idxd_device_init_debugfs()
121 debugfs_remove_recursive(idxd->dbgfs_dir); in idxd_device_remove_debugfs()
/linux/drivers/ntb/test/
H A Dntb_tool.c253 struct dentry *dbgfs_dir; member
269 struct dentry *dbgfs_dir; member
604 tc->peers[pidx].dbgfs_dir, inmw, in tool_setup_mw()
836 tc->peers[pidx].dbgfs_dir, outmw, in tool_setup_peer_mw()
1485 tc->dbgfs_dir = NULL; in tool_setup_dbgfs()
1489 tc->dbgfs_dir = debugfs_create_dir(dev_name(&tc->ntb->dev), in tool_setup_dbgfs()
1492 debugfs_create_file("port", 0600, tc->dbgfs_dir, in tool_setup_dbgfs()
1495 debugfs_create_file("link", 0600, tc->dbgfs_dir, in tool_setup_dbgfs()
1498 debugfs_create_file("db", 0600, tc->dbgfs_dir, in tool_setup_dbgfs()
1501 debugfs_create_file("db_valid_mask", 0600, tc->dbgfs_dir, in tool_setup_dbgfs()
[all …]
H A Dntb_msi_test.c21 struct dentry *dbgfs_dir; member
277 nm->dbgfs_dir = debugfs_create_dir(pci_name(pdev), in ntb_msit_create_dbgfs()
279 debugfs_create_file("port", 0400, nm->dbgfs_dir, nm, in ntb_msit_create_dbgfs()
288 peer_dir = debugfs_create_dir(buf, nm->dbgfs_dir); in ntb_msit_create_dbgfs()
308 debugfs_create_file_unsafe(buf, 0400, nm->dbgfs_dir, in ntb_msit_create_dbgfs()
316 debugfs_remove_recursive(nm->dbgfs_dir); in ntb_msit_remove_dbgfs()
H A Dntb_pingpong.c109 struct dentry *dbgfs_dir; member
357 pp->dbgfs_dir = debugfs_create_dir(pci_name(pdev), pp_dbgfs_topdir); in pp_setup_dbgfs()
359 debugfs_create_atomic_t("count", 0600, pp->dbgfs_dir, &pp->count); in pp_setup_dbgfs()
364 debugfs_remove_recursive(pp->dbgfs_dir); in pp_clear_dbgfs()
H A Dntb_perf.c208 struct dentry *dbgfs_dir; member
1357 perf->dbgfs_dir = debugfs_create_dir(pci_name(pdev), perf_dbgfs_topdir); in perf_setup_dbgfs()
1358 if (IS_ERR(perf->dbgfs_dir)) { in perf_setup_dbgfs()
1363 debugfs_create_file("info", 0600, perf->dbgfs_dir, perf, in perf_setup_dbgfs()
1366 debugfs_create_file("run", 0600, perf->dbgfs_dir, perf, in perf_setup_dbgfs()
1369 debugfs_create_file("threads_count", 0600, perf->dbgfs_dir, perf, in perf_setup_dbgfs()
1373 debugfs_create_u8("chunk_order", 0500, perf->dbgfs_dir, &chunk_order); in perf_setup_dbgfs()
1375 debugfs_create_u8("total_order", 0500, perf->dbgfs_dir, &total_order); in perf_setup_dbgfs()
1377 debugfs_create_bool("use_dma", 0500, perf->dbgfs_dir, &use_dma); in perf_setup_dbgfs()
1382 debugfs_remove_recursive(perf->dbgfs_dir); in perf_clear_dbgfs()
/linux/drivers/misc/mei/
H A Ddebugfs.c167 if (!dev->dbgfs_dir) in mei_dbgfs_deregister()
169 debugfs_remove_recursive(dev->dbgfs_dir); in mei_dbgfs_deregister()
170 dev->dbgfs_dir = NULL; in mei_dbgfs_deregister()
184 dev->dbgfs_dir = dir; in mei_dbgfs_register()
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddebugfs.h11 struct dentry *dbgfs_dir);
15 struct dentry *dbgfs_dir) { } in iwl_fwrt_dbgfs_register() argument
H A Ddebugfs.c399 struct dentry *dbgfs_dir) in iwl_fwrt_dbgfs_register() argument
402 FWRT_DEBUGFS_ADD_FILE(timestamp_marker, dbgfs_dir, 0200); in iwl_fwrt_dbgfs_register()
403 FWRT_DEBUGFS_ADD_FILE(fw_info, dbgfs_dir, 0200); in iwl_fwrt_dbgfs_register()
404 FWRT_DEBUGFS_ADD_FILE(send_hcmd, dbgfs_dir, 0200); in iwl_fwrt_dbgfs_register()
405 FWRT_DEBUGFS_ADD_FILE(enabled_severities, dbgfs_dir, 0200); in iwl_fwrt_dbgfs_register()
406 FWRT_DEBUGFS_ADD_FILE(fw_dbg_domain, dbgfs_dir, 0400); in iwl_fwrt_dbgfs_register()
H A Dinit.c21 struct dentry *dbgfs_dir) in iwl_fw_runtime_init() argument
38 iwl_fwrt_dbgfs_register(fwrt, dbgfs_dir); in iwl_fw_runtime_init()
H A Druntime.h192 struct dentry *dbgfs_dir);
/linux/drivers/platform/x86/intel/
H A Dplr_tpmi.c58 struct dentry *dbgfs_dir; member
290 plr->dbgfs_dir = debugfs_create_dir("plr", dentry); in intel_plr_probe()
317 dentry = debugfs_create_dir(name, plr->dbgfs_dir); in intel_plr_probe()
327 debugfs_remove_recursive(plr->dbgfs_dir); in intel_plr_probe()
335 debugfs_remove_recursive(plr->dbgfs_dir); in intel_plr_remove()
H A Dvsec_tpmi.c121 struct dentry *dbgfs_dir; member
364 return tpmi_info->dbgfs_dir; in tpmi_get_debugfs_dir()
541 tpmi_info->dbgfs_dir = debugfs_create_dir(name, NULL); in tpmi_dbgfs_register()
543 debugfs_create_file("pfs_dump", 0444, tpmi_info->dbgfs_dir, tpmi_info, &tpmi_pfs_dbg_fops); in tpmi_dbgfs_register()
551 dir = debugfs_create_dir(name, tpmi_info->dbgfs_dir); in tpmi_dbgfs_register()
838 debugfs_remove_recursive(tpmi_info->dbgfs_dir); in tpmi_remove()
/linux/drivers/platform/olpc/
H A Dolpc-ec.c46 struct dentry *dbgfs_dir; member
332 struct dentry *dbgfs_dir; in olpc_ec_setup_debugfs() local
334 dbgfs_dir = debugfs_create_dir("olpc-ec", NULL); in olpc_ec_setup_debugfs()
335 debugfs_create_file("cmd", 0600, dbgfs_dir, NULL, &ec_dbgfs_ops); in olpc_ec_setup_debugfs()
337 return dbgfs_dir; in olpc_ec_setup_debugfs()
440 ec->dbgfs_dir = olpc_ec_setup_debugfs(); in olpc_ec_probe()
/linux/drivers/hwmon/
H A Dmr75203.c175 struct dentry *dbgfs_dir; member
223 debugfs_remove_recursive(pvt->dbgfs_dir); in devm_pvt_ts_dbgfs_remove()
224 pvt->dbgfs_dir = NULL; in devm_pvt_ts_dbgfs_remove()
229 pvt->dbgfs_dir = debugfs_create_dir(dev_name(dev), NULL); in pvt_ts_dbgfs_create()
231 debugfs_create_u32("ts_coeff_h", 0644, pvt->dbgfs_dir, in pvt_ts_dbgfs_create()
233 debugfs_create_u32("ts_coeff_g", 0644, pvt->dbgfs_dir, in pvt_ts_dbgfs_create()
235 debugfs_create_u32("ts_coeff_cal5", 0644, pvt->dbgfs_dir, in pvt_ts_dbgfs_create()
237 debugfs_create_file("ts_coeff_j", 0644, pvt->dbgfs_dir, pvt, in pvt_ts_dbgfs_create()
/linux/drivers/watchdog/
H A Dmei_wdt.c104 struct dentry *dbgfs_dir; member
537 debugfs_remove_recursive(wdt->dbgfs_dir); in dbgfs_unregister()
538 wdt->dbgfs_dir = NULL; in dbgfs_unregister()
546 wdt->dbgfs_dir = dir; in dbgfs_register()
H A Ddw_wdt.c96 struct dentry *dbgfs_dir; member
531 dw_wdt->dbgfs_dir = debugfs_create_dir(dev_name(dev), NULL); in dw_wdt_dbgfs_init()
533 debugfs_create_regset32("registers", 0444, dw_wdt->dbgfs_dir, regset); in dw_wdt_dbgfs_init()
538 debugfs_remove_recursive(dw_wdt->dbgfs_dir); in dw_wdt_dbgfs_clear()
/linux/drivers/platform/x86/amd/pmc/
H A Dpmc.c625 debugfs_remove_recursive(dev->dbgfs_dir); in amd_pmc_dbgfs_unregister()
644 dev->dbgfs_dir = debugfs_create_dir("amd_pmc", NULL); in amd_pmc_dbgfs_register()
645 debugfs_create_file("smu_fw_info", 0644, dev->dbgfs_dir, dev, in amd_pmc_dbgfs_register()
647 debugfs_create_file("s0ix_stats", 0644, dev->dbgfs_dir, dev, in amd_pmc_dbgfs_register()
649 debugfs_create_file("amd_pmc_idlemask", 0644, dev->dbgfs_dir, dev, in amd_pmc_dbgfs_register()
654 debugfs_create_file("stb_read", 0644, dev->dbgfs_dir, dev, in amd_pmc_dbgfs_register()
657 debugfs_create_file("stb_read", 0644, dev->dbgfs_dir, dev, in amd_pmc_dbgfs_register()
H A Dmp2_stb.c198 if (!dev->dbgfs_dir) in amd_mp2_dbgfs_register()
201 debugfs_create_file("stb_read_previous_boot", 0644, dev->dbgfs_dir, dev, in amd_mp2_dbgfs_register()
H A Dpmc.h49 struct dentry *dbgfs_dir; member
/linux/drivers/gpio/
H A Dgpio-virtuser.c50 struct dentry *dbgfs_dir; member
783 data->ad.dbgfs_dir = debugfs_create_dir(name, dbgfs_entry); in gpio_virtuser_dbgfs_init_line_array_attrs()
784 if (IS_ERR(data->ad.dbgfs_dir)) in gpio_virtuser_dbgfs_init_line_array_attrs()
785 return PTR_ERR(data->ad.dbgfs_dir); in gpio_virtuser_dbgfs_init_line_array_attrs()
790 data->ad.dbgfs_dir, data); in gpio_virtuser_dbgfs_init_line_array_attrs()
820 data->ad.dbgfs_dir = debugfs_create_dir(name, dbgfs_entry); in gpio_virtuser_dbgfs_init_line_attrs()
821 if (IS_ERR(data->ad.dbgfs_dir)) in gpio_virtuser_dbgfs_init_line_attrs()
822 return PTR_ERR(data->ad.dbgfs_dir); in gpio_virtuser_dbgfs_init_line_attrs()
827 data->ad.dbgfs_dir, data); in gpio_virtuser_dbgfs_init_line_attrs()
/linux/drivers/platform/x86/intel/pmc/
H A Dcore.c1262 debugfs_remove_recursive(pmcdev->dbgfs_dir); in pmc_core_dbgfs_unregister()
1271 pmcdev->dbgfs_dir = dir; in pmc_core_dbgfs_register()
1313 pmcdev->dbgfs_dir, pmcdev, in pmc_core_dbgfs_register()
1319 pmcdev->dbgfs_dir, pmcdev, in pmc_core_dbgfs_register()
1322 pmcdev->dbgfs_dir, pmcdev, in pmc_core_dbgfs_register()
1325 pmcdev->dbgfs_dir, pmcdev, in pmc_core_dbgfs_register()
1331 pmcdev->dbgfs_dir, pmcdev, in pmc_core_dbgfs_register()
1337 pmcdev->dbgfs_dir, primary_pmc, &pmc_core_pson_residency); in pmc_core_dbgfs_register()
1342 pmcdev->dbgfs_dir, pmcdev, in pmc_core_dbgfs_register()
/linux/drivers/platform/x86/amd/pmf/
H A Dcore.c105 debugfs_remove_recursive(dev->dbgfs_dir); in amd_pmf_dbgfs_unregister()
110 dev->dbgfs_dir = debugfs_create_dir("amd_pmf", NULL); in amd_pmf_dbgfs_register()
112 debugfs_create_file("current_power_limits", 0644, dev->dbgfs_dir, dev, in amd_pmf_dbgfs_register()
/linux/drivers/crypto/amlogic/
H A Damlogic-gxl.h100 struct dentry *dbgfs_dir; member
/linux/drivers/edac/
H A Dxgene_edac.c864 struct dentry *dbgfs_dir; in xgene_edac_pmd_create_debugfs_nodes() local
871 dbgfs_dir = edac_debugfs_create_dir_at(name, ctx->edac->dfs); in xgene_edac_pmd_create_debugfs_nodes()
872 if (!dbgfs_dir) in xgene_edac_pmd_create_debugfs_nodes()
875 edac_debugfs_create_file("l1_inject_ctrl", S_IWUSR, dbgfs_dir, edac_dev, in xgene_edac_pmd_create_debugfs_nodes()
877 edac_debugfs_create_file("l2_inject_ctrl", S_IWUSR, dbgfs_dir, edac_dev, in xgene_edac_pmd_create_debugfs_nodes()
1168 struct dentry *dbgfs_dir; in xgene_edac_l3_create_debugfs_nodes() local
1175 dbgfs_dir = edac_debugfs_create_dir_at(name, ctx->edac->dfs); in xgene_edac_l3_create_debugfs_nodes()
1176 if (!dbgfs_dir) in xgene_edac_l3_create_debugfs_nodes()
1179 debugfs_create_file("l3_inject_ctrl", S_IWUSR, dbgfs_dir, edac_dev, in xgene_edac_l3_create_debugfs_nodes()
/linux/drivers/net/wireless/intel/iwlwifi/mei/
H A Dmain.c196 struct dentry *dbgfs_dir; member
1923 mei->dbgfs_dir = debugfs_create_dir(KBUILD_MODNAME, NULL); in iwl_mei_dbgfs_register()
1925 if (!mei->dbgfs_dir) in iwl_mei_dbgfs_register()
1929 mei->dbgfs_dir, &iwl_mei_status); in iwl_mei_dbgfs_register()
1930 debugfs_create_file("send_start_message", S_IWUSR, mei->dbgfs_dir, in iwl_mei_dbgfs_register()
1932 debugfs_create_file("req_ownership", S_IWUSR, mei->dbgfs_dir, in iwl_mei_dbgfs_register()
1938 debugfs_remove_recursive(mei->dbgfs_dir); in iwl_mei_dbgfs_unregister()
1939 mei->dbgfs_dir = NULL; in iwl_mei_dbgfs_unregister()

123