Home
last modified time | relevance | path

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

/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Ddebug.c90 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()
Dcore.h140 struct dentry *dbgfs_dir; member
/drivers/platform/olpc/
Dolpc-ec.c43 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/
Ddebugfs-vif.c1560 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 …]
Ddebugfs.c1649 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()
Dmvm.h439 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
Dops.c524 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/
Ddebug.c58 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()
Dpub.h177 struct dentry *dbgfs_dir; member
/drivers/misc/mei/
Ddebugfs.c229 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()
Dmei_dev.h496 struct dentry *dbgfs_dir; member
/drivers/platform/x86/
Dintel_pmc_core.c95 debugfs_remove_recursive(pmcdev->dbgfs_dir); in pmc_core_dbgfs_unregister()
106 pmcdev->dbgfs_dir = dir; in pmc_core_dbgfs_register()
Dintel_pmc_core.h46 struct dentry *dbgfs_dir; member
/drivers/watchdog/
Dmei_wdt.c112 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/
Dcaif_spi.c126 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/
Dxgene_edac.c878 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/
Dstmmac.h138 struct dentry *dbgfs_dir; member
Dstmmac_main.c3070 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/
Diwl-op-mode.h154 struct dentry *dbgfs_dir);
Diwl-drv.c1149 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()
Diwl-trans.h833 struct dentry *dbgfs_dir; member
/drivers/net/wireless/intel/iwlwifi/dvm/
Dagn.h447 int iwl_dbgfs_register(struct iwl_priv *priv, struct dentry *dbgfs_dir);
450 struct dentry *dbgfs_dir) in iwl_dbgfs_register() argument
Ddebugfs.c2358 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()
Dmain.c1235 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/
Dtrans.c2482 struct dentry *dir = trans->dbgfs_dir; in iwl_trans_pcie_dbgfs_register()