/linux/drivers/dma/idxd/ |
H A D | debugfs.c | 101 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/net/wireless/intel/iwlwifi/mvm/ |
H A D | debugfs-vif.c | 847 struct dentry *dbgfs_dir = vif->debugfs_dir; in iwl_mvm_vif_add_debugfs() local 850 mvmvif->dbgfs_dir = debugfs_create_dir("iwlmvm", dbgfs_dir); in iwl_mvm_vif_add_debugfs() 851 if (IS_ERR_OR_NULL(mvmvif->dbgfs_dir)) { in iwl_mvm_vif_add_debugfs() 853 dbgfs_dir); in iwl_mvm_vif_add_debugfs() 860 MVM_DEBUGFS_ADD_FILE_VIF(pm_params, mvmvif->dbgfs_dir, 0600); in iwl_mvm_vif_add_debugfs() 862 MVM_DEBUGFS_ADD_FILE_VIF(tx_pwr_lmt, mvmvif->dbgfs_dir, 0400); in iwl_mvm_vif_add_debugfs() 863 MVM_DEBUGFS_ADD_FILE_VIF(mac_params, mvmvif->dbgfs_dir, 0400); in iwl_mvm_vif_add_debugfs() 864 MVM_DEBUGFS_ADD_FILE_VIF(low_latency, mvmvif->dbgfs_dir, 0600); in iwl_mvm_vif_add_debugfs() 865 MVM_DEBUGFS_ADD_FILE_VIF(low_latency_force, mvmvif->dbgfs_dir, 0600); in iwl_mvm_vif_add_debugfs() 866 MVM_DEBUGFS_ADD_FILE_VIF(uapsd_misbehaving, mvmvif->dbgfs_dir, 0600); in iwl_mvm_vif_add_debugfs() [all …]
|
/linux/drivers/ntb/test/ |
H A D | ntb_tool.c | 253 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 D | ntb_msi_test.c | 21 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 D | ntb_pingpong.c | 109 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 D | ntb_perf.c | 208 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/net/wireless/intel/iwlwifi/fw/ |
H A D | debugfs.h | 11 struct dentry *dbgfs_dir); 15 struct dentry *dbgfs_dir) { } in iwl_fwrt_dbgfs_register() argument
|
H A D | debugfs.c | 399 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 D | init.c | 21 struct dentry *dbgfs_dir) in iwl_fw_runtime_init() argument 38 iwl_fwrt_dbgfs_register(fwrt, dbgfs_dir); in iwl_fw_runtime_init()
|
/linux/drivers/crypto/amlogic/ |
H A D | amlogic-gxl-core.c | 283 struct dentry *dbgfs_dir; in meson_crypto_probe() local 285 dbgfs_dir = debugfs_create_dir("gxl-crypto", NULL); in meson_crypto_probe() 286 debugfs_create_file("stats", 0444, dbgfs_dir, mc, &meson_debugfs_fops); in meson_crypto_probe() 289 mc->dbgfs_dir = dbgfs_dir; in meson_crypto_probe() 307 debugfs_remove_recursive(mc->dbgfs_dir); in meson_crypto_remove()
|
/linux/drivers/misc/mei/ |
H A D | debugfs.c | 167 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/platform/x86/intel/ |
H A D | intel_plr_tpmi.c | 58 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 D | tpmi.c | 121 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 D | olpc-ec.c | 46 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/crypto/rockchip/ |
H A D | rk3288_crypto.c | 238 struct dentry *dbgfs_dir __maybe_unused; in register_debugfs() 242 dbgfs_dir = debugfs_create_dir("rk3288_crypto", NULL); in register_debugfs() 243 dbgfs_stats = debugfs_create_file("stats", 0444, dbgfs_dir, &rocklist, in register_debugfs() 247 rocklist.dbgfs_dir = dbgfs_dir; in register_debugfs() 426 debugfs_remove_recursive(rocklist.dbgfs_dir); in rk_crypto_remove()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | debug.c | 50 drvr->dbgfs_dir = debugfs_create_dir( in brcms_debugfs_attach() 56 debugfs_remove_recursive(drvr->dbgfs_dir); in brcms_debugfs_detach() 61 return drvr->dbgfs_dir; in brcms_debugfs_get_devdir() 194 struct dentry *dentry = drvr->dbgfs_dir; in brcms_debugfs_add_entry()
|
/linux/drivers/hwmon/ |
H A D | mr75203.c | 175 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/crypto/gemini/ |
H A D | sl3516-ce-core.c | 480 struct dentry *dbgfs_dir __maybe_unused; in sl3516_ce_probe() 484 dbgfs_dir = debugfs_create_dir("sl3516", NULL); in sl3516_ce_probe() 486 dbgfs_dir, ce, in sl3516_ce_probe() 489 ce->dbgfs_dir = dbgfs_dir; in sl3516_ce_probe() 519 debugfs_remove_recursive(ce->dbgfs_dir); in sl3516_ce_remove()
|
/linux/drivers/watchdog/ |
H A D | mei_wdt.c | 104 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 D | dw_wdt.c | 96 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 D | pmc.c | 625 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 D | pmc.h | 49 struct dentry *dbgfs_dir; member
|
/linux/drivers/gpio/ |
H A D | gpio-virtuser.c | 50 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 D | core.c | 1262 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/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-core.c | 881 struct dentry *dbgfs_dir __maybe_unused; in sun8i_ss_probe() 885 dbgfs_dir = debugfs_create_dir("sun8i-ss", NULL); in sun8i_ss_probe() 887 dbgfs_dir, ss, in sun8i_ss_probe() 891 ss->dbgfs_dir = dbgfs_dir; in sun8i_ss_probe() 913 debugfs_remove_recursive(ss->dbgfs_dir); in sun8i_ss_remove()
|