Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Ddebug.c81 drvr->dbgfs_dir = debugfs_create_dir(dev_name(dev), root_folder); in brcmf_debug_attach()
82 if (IS_ERR(drvr->dbgfs_dir)) in brcmf_debug_attach()
83 return PTR_ERR(drvr->dbgfs_dir); in brcmf_debug_attach()
94 if (!IS_ERR_OR_NULL(drvr->dbgfs_dir)) in brcmf_debug_detach()
95 debugfs_remove_recursive(drvr->dbgfs_dir); in brcmf_debug_detach()
100 return drvr->dbgfs_dir; in brcmf_debugfs_get_devdir()
109 drvr->dbgfs_dir, read_fn); in brcmf_debugfs_add_entry()
Dcore.h142 struct dentry *dbgfs_dir; member
/linux-4.4.14/drivers/platform/olpc/
Dolpc-ec.c41 struct dentry *dbgfs_dir; member
236 struct dentry *dbgfs_dir; in olpc_ec_setup_debugfs() local
238 dbgfs_dir = debugfs_create_dir("olpc-ec", NULL); in olpc_ec_setup_debugfs()
239 if (IS_ERR_OR_NULL(dbgfs_dir)) in olpc_ec_setup_debugfs()
242 debugfs_create_file("cmd", 0600, dbgfs_dir, NULL, &ec_dbgfs_ops); in olpc_ec_setup_debugfs()
244 return dbgfs_dir; in olpc_ec_setup_debugfs()
283 ec->dbgfs_dir = olpc_ec_setup_debugfs(); in olpc_ec_probe()
/linux-4.4.14/drivers/net/wireless/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
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs-vif.c1392 struct dentry *dbgfs_dir = vif->debugfs_dir; in iwl_mvm_vif_dbgfs_register() local
1400 if (!dbgfs_dir || mvmvif->dbgfs_dir) in iwl_mvm_vif_dbgfs_register()
1403 mvmvif->dbgfs_dir = debugfs_create_dir("iwlmvm", dbgfs_dir); in iwl_mvm_vif_dbgfs_register()
1405 if (!mvmvif->dbgfs_dir) { in iwl_mvm_vif_dbgfs_register()
1407 dbgfs_dir->d_name.name); in iwl_mvm_vif_dbgfs_register()
1415 MVM_DEBUGFS_ADD_FILE_VIF(pm_params, mvmvif->dbgfs_dir, S_IWUSR | in iwl_mvm_vif_dbgfs_register()
1418 MVM_DEBUGFS_ADD_FILE_VIF(tx_pwr_lmt, mvmvif->dbgfs_dir, S_IRUSR); in iwl_mvm_vif_dbgfs_register()
1419 MVM_DEBUGFS_ADD_FILE_VIF(mac_params, mvmvif->dbgfs_dir, S_IRUSR); in iwl_mvm_vif_dbgfs_register()
1420 MVM_DEBUGFS_ADD_FILE_VIF(low_latency, mvmvif->dbgfs_dir, in iwl_mvm_vif_dbgfs_register()
1422 MVM_DEBUGFS_ADD_FILE_VIF(uapsd_misbehaving, mvmvif->dbgfs_dir, in iwl_mvm_vif_dbgfs_register()
[all …]
Ddebugfs.c1410 int iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, struct dentry *dbgfs_dir) in iwl_mvm_dbgfs_register() argument
1417 mvm->debugfs_dir = dbgfs_dir; in iwl_mvm_dbgfs_register()
1424 MVM_DEBUGFS_ADD_FILE(nic_temp, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1425 MVM_DEBUGFS_ADD_FILE(stations, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1426 MVM_DEBUGFS_ADD_FILE(bt_notif, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1427 MVM_DEBUGFS_ADD_FILE(bt_cmd, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1507 dbgfs_dir->d_parent->d_parent->d_name.name, in iwl_mvm_dbgfs_register()
1508 dbgfs_dir->d_parent->d_name.name); in iwl_mvm_dbgfs_register()
Dmvm.h428 struct dentry *dbgfs_dir; member
1198 int iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, struct dentry *dbgfs_dir);
1203 struct dentry *dbgfs_dir) in iwl_mvm_dbgfs_register() argument
Dops.c393 const struct iwl_fw *fw, struct dentry *dbgfs_dir) in iwl_op_mode_mvm_start() argument
588 err = iwl_mvm_dbgfs_register(mvm, dbgfs_dir); in iwl_op_mode_mvm_start()
/linux-4.4.14/drivers/misc/mei/
Ddebugfs.c185 if (!dev->dbgfs_dir) in mei_dbgfs_deregister()
187 debugfs_remove_recursive(dev->dbgfs_dir); in mei_dbgfs_deregister()
188 dev->dbgfs_dir = NULL; in mei_dbgfs_deregister()
207 dev->dbgfs_dir = dir; in mei_dbgfs_register()
Dmei_dev.h562 struct dentry *dbgfs_dir; member
/linux-4.4.14/arch/x86/platform/atom/
Dpmc_atom.c45 struct dentry *dbgfs_dir; member
345 debugfs_remove_recursive(pmc->dbgfs_dir); in pmc_dbgfs_unregister()
356 pmc->dbgfs_dir = dir; in pmc_dbgfs_register()
/linux-4.4.14/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()
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h130 struct dentry *dbgfs_dir; member
Dstmmac_main.c2669 priv->dbgfs_dir = debugfs_create_dir(dev->name, stmmac_fs_dir); in stmmac_init_fs()
2671 if (!priv->dbgfs_dir || IS_ERR(priv->dbgfs_dir)) { in stmmac_init_fs()
2681 priv->dbgfs_dir, dev, in stmmac_init_fs()
2686 debugfs_remove_recursive(priv->dbgfs_dir); in stmmac_init_fs()
2693 priv->dbgfs_dir, in stmmac_init_fs()
2698 debugfs_remove_recursive(priv->dbgfs_dir); in stmmac_init_fs()
2710 debugfs_remove_recursive(priv->dbgfs_dir); in stmmac_exit_fs()
/linux-4.4.14/include/net/caif/
Dcaif_spi.h131 struct dentry *dbgfs_dir; member
/linux-4.4.14/drivers/edac/
Dxgene_edac.c877 struct dentry *dbgfs_dir; in xgene_edac_pmd_create_debugfs_nodes() local
884 dbgfs_dir = edac_debugfs_create_dir_at(name, ctx->edac->dfs); in xgene_edac_pmd_create_debugfs_nodes()
885 if (!dbgfs_dir) in xgene_edac_pmd_create_debugfs_nodes()
888 edac_debugfs_create_file("l1_inject_ctrl", S_IWUSR, dbgfs_dir, edac_dev, in xgene_edac_pmd_create_debugfs_nodes()
890 edac_debugfs_create_file("l2_inject_ctrl", S_IWUSR, dbgfs_dir, edac_dev, in xgene_edac_pmd_create_debugfs_nodes()
1181 struct dentry *dbgfs_dir; in xgene_edac_l3_create_debugfs_nodes() local
1188 dbgfs_dir = edac_debugfs_create_dir_at(name, ctx->edac->dfs); in xgene_edac_l3_create_debugfs_nodes()
1189 if (!dbgfs_dir) in xgene_edac_l3_create_debugfs_nodes()
1192 debugfs_create_file("l3_inject_ctrl", S_IWUSR, dbgfs_dir, edac_dev, in xgene_edac_l3_create_debugfs_nodes()
/linux-4.4.14/drivers/net/wireless/iwlwifi/
Diwl-op-mode.h152 struct dentry *dbgfs_dir);
Diwl-drv.c1130 struct dentry *dbgfs_dir = NULL; in _iwl_op_mode_start() local
1141 dbgfs_dir = drv->dbgfs_op_mode; in _iwl_op_mode_start()
1144 op_mode = ops->start(drv->trans, drv->cfg, &drv->fw, dbgfs_dir); in _iwl_op_mode_start()
1482 drv->trans->dbgfs_dir = debugfs_create_dir("trans", drv->dbgfs_drv); in iwl_drv_start()
1484 if (!drv->trans->dbgfs_dir) { in iwl_drv_start()
Diwl-trans.h708 struct dentry *dbgfs_dir; member
/linux-4.4.14/drivers/net/wireless/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.c2356 int iwl_dbgfs_register(struct iwl_priv *priv, struct dentry *dbgfs_dir) in iwl_dbgfs_register() argument
2360 priv->debugfs_dir = dbgfs_dir; in iwl_dbgfs_register()
2362 dir_data = debugfs_create_dir("data", dbgfs_dir); in iwl_dbgfs_register()
2365 dir_rf = debugfs_create_dir("rf", dbgfs_dir); in iwl_dbgfs_register()
2368 dir_debug = debugfs_create_dir("debug", dbgfs_dir); in iwl_dbgfs_register()
2425 dev_dir = dbgfs_dir->d_parent; in iwl_dbgfs_register()
Dmain.c1147 struct dentry *dbgfs_dir) in iwl_op_mode_dvm_start() argument
1391 if (iwl_dbgfs_register(priv, dbgfs_dir)) in iwl_op_mode_dvm_start()
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/
Ddrv.c602 ret = iwl_trans_dbgfs_register(iwl_trans, iwl_trans->dbgfs_dir); in iwl_pci_probe()