/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | debug.c | 90 drvr->dbgfs_dir = debugfs_create_dir(dev_name(dev), root_folder); in brcmf_debug_attach() 91 if (IS_ERR(drvr->dbgfs_dir)) in brcmf_debug_attach() 92 return PTR_ERR(drvr->dbgfs_dir); in brcmf_debug_attach() 103 if (!IS_ERR_OR_NULL(drvr->dbgfs_dir)) in brcmf_debug_detach() 104 debugfs_remove_recursive(drvr->dbgfs_dir); in brcmf_debug_detach() 109 return drvr->dbgfs_dir; in brcmf_debugfs_get_devdir() 118 drvr->dbgfs_dir, read_fn); in brcmf_debugfs_add_entry()
|
D | core.h | 140 struct dentry *dbgfs_dir; member
|
/drivers/platform/olpc/ |
D | olpc-ec.c | 43 struct dentry *dbgfs_dir; member 238 struct dentry *dbgfs_dir; in olpc_ec_setup_debugfs() local 240 dbgfs_dir = debugfs_create_dir("olpc-ec", NULL); in olpc_ec_setup_debugfs() 241 if (IS_ERR_OR_NULL(dbgfs_dir)) in olpc_ec_setup_debugfs() 244 debugfs_create_file("cmd", 0600, dbgfs_dir, NULL, &ec_dbgfs_ops); in olpc_ec_setup_debugfs() 246 return dbgfs_dir; in olpc_ec_setup_debugfs() 285 ec->dbgfs_dir = olpc_ec_setup_debugfs(); in olpc_ec_probe()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | debugfs-vif.c | 1560 struct dentry *dbgfs_dir = vif->debugfs_dir; in iwl_mvm_vif_dbgfs_register() local 1568 if (!dbgfs_dir || mvmvif->dbgfs_dir) in iwl_mvm_vif_dbgfs_register() 1571 mvmvif->dbgfs_dir = debugfs_create_dir("iwlmvm", dbgfs_dir); in iwl_mvm_vif_dbgfs_register() 1573 if (!mvmvif->dbgfs_dir) { in iwl_mvm_vif_dbgfs_register() 1575 dbgfs_dir); in iwl_mvm_vif_dbgfs_register() 1582 MVM_DEBUGFS_ADD_FILE_VIF(pm_params, mvmvif->dbgfs_dir, S_IWUSR | in iwl_mvm_vif_dbgfs_register() 1585 MVM_DEBUGFS_ADD_FILE_VIF(tx_pwr_lmt, mvmvif->dbgfs_dir, S_IRUSR); in iwl_mvm_vif_dbgfs_register() 1586 MVM_DEBUGFS_ADD_FILE_VIF(mac_params, mvmvif->dbgfs_dir, S_IRUSR); in iwl_mvm_vif_dbgfs_register() 1587 MVM_DEBUGFS_ADD_FILE_VIF(low_latency, mvmvif->dbgfs_dir, in iwl_mvm_vif_dbgfs_register() 1589 MVM_DEBUGFS_ADD_FILE_VIF(uapsd_misbehaving, mvmvif->dbgfs_dir, in iwl_mvm_vif_dbgfs_register() [all …]
|
D | debugfs.c | 1649 int iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, struct dentry *dbgfs_dir) in iwl_mvm_dbgfs_register() argument 1656 mvm->debugfs_dir = dbgfs_dir; in iwl_mvm_dbgfs_register() 1663 MVM_DEBUGFS_ADD_FILE(nic_temp, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register() 1664 MVM_DEBUGFS_ADD_FILE(ctdp_budget, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register() 1665 MVM_DEBUGFS_ADD_FILE(stop_ctdp, dbgfs_dir, S_IWUSR); in iwl_mvm_dbgfs_register() 1666 MVM_DEBUGFS_ADD_FILE(stations, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register() 1667 MVM_DEBUGFS_ADD_FILE(bt_notif, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register() 1668 MVM_DEBUGFS_ADD_FILE(bt_cmd, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register() 1746 debugfs_create_file("mem", S_IRUSR | S_IWUSR, dbgfs_dir, mvm, in iwl_mvm_dbgfs_register() 1753 snprintf(buf, 100, "../../%pd2", dbgfs_dir->d_parent); in iwl_mvm_dbgfs_register()
|
D | mvm.h | 439 struct dentry *dbgfs_dir; member 1473 int iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, struct dentry *dbgfs_dir); 1478 struct dentry *dbgfs_dir) in iwl_mvm_dbgfs_register() argument
|
D | ops.c | 524 const struct iwl_fw *fw, struct dentry *dbgfs_dir) in iwl_op_mode_mvm_start() argument 747 err = iwl_mvm_dbgfs_register(mvm, dbgfs_dir); in iwl_op_mode_mvm_start()
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | debug.c | 58 drvr->dbgfs_dir = debugfs_create_dir( in brcms_debugfs_attach() 60 return PTR_ERR_OR_ZERO(drvr->dbgfs_dir); in brcms_debugfs_attach() 65 if (!IS_ERR_OR_NULL(drvr->dbgfs_dir)) in brcms_debugfs_detach() 66 debugfs_remove_recursive(drvr->dbgfs_dir); in brcms_debugfs_detach() 71 return drvr->dbgfs_dir; in brcms_debugfs_get_devdir() 204 struct dentry *dentry = drvr->dbgfs_dir; in brcms_debugfs_add_entry() 225 if (IS_ERR_OR_NULL(drvr->dbgfs_dir)) in brcms_debugfs_create_files()
|
D | pub.h | 177 struct dentry *dbgfs_dir; member
|
/drivers/misc/mei/ |
D | debugfs.c | 229 if (!dev->dbgfs_dir) in mei_dbgfs_deregister() 231 debugfs_remove_recursive(dev->dbgfs_dir); in mei_dbgfs_deregister() 232 dev->dbgfs_dir = NULL; in mei_dbgfs_deregister() 251 dev->dbgfs_dir = dir; in mei_dbgfs_register()
|
D | mei_dev.h | 496 struct dentry *dbgfs_dir; member
|
/drivers/platform/x86/ |
D | intel_pmc_core.c | 95 debugfs_remove_recursive(pmcdev->dbgfs_dir); in pmc_core_dbgfs_unregister() 106 pmcdev->dbgfs_dir = dir; in pmc_core_dbgfs_register()
|
D | intel_pmc_core.h | 46 struct dentry *dbgfs_dir; member
|
/drivers/watchdog/ |
D | mei_wdt.c | 112 struct dentry *dbgfs_dir; member 564 debugfs_remove_recursive(wdt->dbgfs_dir); in dbgfs_unregister() 565 wdt->dbgfs_dir = NULL; in dbgfs_unregister() 576 wdt->dbgfs_dir = dir; in dbgfs_register()
|
/drivers/net/caif/ |
D | caif_spi.c | 126 debugfs_remove(cfspi->dbgfs_dir); in dev_debugfs_rem() 252 cfspi->dbgfs_dir = debugfs_create_dir(cfspi->pdev->name, dbgfs_root); in dev_debugfs_add() 254 cfspi->dbgfs_dir, cfspi, in dev_debugfs_add() 257 cfspi->dbgfs_dir, cfspi, in dev_debugfs_add()
|
/drivers/edac/ |
D | xgene_edac.c | 878 struct dentry *dbgfs_dir; in xgene_edac_pmd_create_debugfs_nodes() local 885 dbgfs_dir = edac_debugfs_create_dir_at(name, ctx->edac->dfs); in xgene_edac_pmd_create_debugfs_nodes() 886 if (!dbgfs_dir) in xgene_edac_pmd_create_debugfs_nodes() 889 edac_debugfs_create_file("l1_inject_ctrl", S_IWUSR, dbgfs_dir, edac_dev, in xgene_edac_pmd_create_debugfs_nodes() 891 edac_debugfs_create_file("l2_inject_ctrl", S_IWUSR, dbgfs_dir, edac_dev, in xgene_edac_pmd_create_debugfs_nodes() 1182 struct dentry *dbgfs_dir; in xgene_edac_l3_create_debugfs_nodes() local 1189 dbgfs_dir = edac_debugfs_create_dir_at(name, ctx->edac->dfs); in xgene_edac_l3_create_debugfs_nodes() 1190 if (!dbgfs_dir) in xgene_edac_l3_create_debugfs_nodes() 1193 debugfs_create_file("l3_inject_ctrl", S_IWUSR, dbgfs_dir, edac_dev, in xgene_edac_l3_create_debugfs_nodes()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac.h | 138 struct dentry *dbgfs_dir; member
|
D | stmmac_main.c | 3070 priv->dbgfs_dir = debugfs_create_dir(dev->name, stmmac_fs_dir); in stmmac_init_fs() 3072 if (!priv->dbgfs_dir || IS_ERR(priv->dbgfs_dir)) { in stmmac_init_fs() 3082 priv->dbgfs_dir, dev, in stmmac_init_fs() 3087 debugfs_remove_recursive(priv->dbgfs_dir); in stmmac_init_fs() 3094 priv->dbgfs_dir, in stmmac_init_fs() 3099 debugfs_remove_recursive(priv->dbgfs_dir); in stmmac_init_fs() 3111 debugfs_remove_recursive(priv->dbgfs_dir); in stmmac_exit_fs()
|
/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-op-mode.h | 154 struct dentry *dbgfs_dir);
|
D | iwl-drv.c | 1149 struct dentry *dbgfs_dir = NULL; in _iwl_op_mode_start() local 1160 dbgfs_dir = drv->dbgfs_op_mode; in _iwl_op_mode_start() 1163 op_mode = ops->start(drv->trans, drv->cfg, &drv->fw, dbgfs_dir); in _iwl_op_mode_start() 1496 drv->trans->dbgfs_dir = debugfs_create_dir("trans", drv->dbgfs_drv); in iwl_drv_start() 1498 if (!drv->trans->dbgfs_dir) { in iwl_drv_start()
|
D | iwl-trans.h | 833 struct dentry *dbgfs_dir; member
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | agn.h | 447 int iwl_dbgfs_register(struct iwl_priv *priv, struct dentry *dbgfs_dir); 450 struct dentry *dbgfs_dir) in iwl_dbgfs_register() argument
|
D | debugfs.c | 2358 int iwl_dbgfs_register(struct iwl_priv *priv, struct dentry *dbgfs_dir) in iwl_dbgfs_register() argument 2362 priv->debugfs_dir = dbgfs_dir; in iwl_dbgfs_register() 2364 dir_data = debugfs_create_dir("data", dbgfs_dir); in iwl_dbgfs_register() 2367 dir_rf = debugfs_create_dir("rf", dbgfs_dir); in iwl_dbgfs_register() 2370 dir_debug = debugfs_create_dir("debug", dbgfs_dir); in iwl_dbgfs_register() 2427 dev_dir = dbgfs_dir->d_parent; in iwl_dbgfs_register()
|
D | main.c | 1235 struct dentry *dbgfs_dir) in iwl_op_mode_dvm_start() argument 1500 if (iwl_dbgfs_register(priv, dbgfs_dir)) in iwl_op_mode_dvm_start()
|
/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 2482 struct dentry *dir = trans->dbgfs_dir; in iwl_trans_pcie_dbgfs_register()
|