Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Ddebug.c60 drvr->dbgfs_dir = debugfs_create_dir(dev_name(dev), root_folder); in brcmf_debugfs_attach()
63 return PTR_ERR_OR_ZERO(drvr->dbgfs_dir); in brcmf_debugfs_attach()
68 if (!IS_ERR_OR_NULL(drvr->dbgfs_dir)) in brcmf_debugfs_detach()
69 debugfs_remove_recursive(drvr->dbgfs_dir); in brcmf_debugfs_detach()
74 return drvr->dbgfs_dir; in brcmf_debugfs_get_devdir()
100 struct dentry *dentry = drvr->dbgfs_dir; in brcmf_debugfs_add_entry()
Dcore.h138 struct dentry *dbgfs_dir; member
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs-vif.c618 struct dentry *dbgfs_dir = vif->debugfs_dir; in iwl_mvm_vif_dbgfs_register() local
626 if (!dbgfs_dir || mvmvif->dbgfs_dir) in iwl_mvm_vif_dbgfs_register()
629 mvmvif->dbgfs_dir = debugfs_create_dir("iwlmvm", dbgfs_dir); in iwl_mvm_vif_dbgfs_register()
631 if (!mvmvif->dbgfs_dir) { in iwl_mvm_vif_dbgfs_register()
633 dbgfs_dir->d_name.name); in iwl_mvm_vif_dbgfs_register()
641 MVM_DEBUGFS_ADD_FILE_VIF(pm_params, mvmvif->dbgfs_dir, S_IWUSR | in iwl_mvm_vif_dbgfs_register()
644 MVM_DEBUGFS_ADD_FILE_VIF(mac_params, mvmvif->dbgfs_dir, S_IRUSR); in iwl_mvm_vif_dbgfs_register()
645 MVM_DEBUGFS_ADD_FILE_VIF(low_latency, mvmvif->dbgfs_dir, in iwl_mvm_vif_dbgfs_register()
647 MVM_DEBUGFS_ADD_FILE_VIF(uapsd_misbehaving, mvmvif->dbgfs_dir, in iwl_mvm_vif_dbgfs_register()
649 MVM_DEBUGFS_ADD_FILE_VIF(rx_phyinfo, mvmvif->dbgfs_dir, in iwl_mvm_vif_dbgfs_register()
[all …]
Ddebugfs.c1510 int iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, struct dentry *dbgfs_dir) in iwl_mvm_dbgfs_register() argument
1517 mvm->debugfs_dir = dbgfs_dir; in iwl_mvm_dbgfs_register()
1524 MVM_DEBUGFS_ADD_FILE(nic_temp, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1525 MVM_DEBUGFS_ADD_FILE(stations, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1526 MVM_DEBUGFS_ADD_FILE(bt_notif, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1527 MVM_DEBUGFS_ADD_FILE(bt_cmd, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1604 dbgfs_dir->d_parent->d_parent->d_name.name, in iwl_mvm_dbgfs_register()
1605 dbgfs_dir->d_parent->d_name.name); in iwl_mvm_dbgfs_register()
Dmvm.h424 struct dentry *dbgfs_dir; member
1200 int iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, struct dentry *dbgfs_dir);
1205 struct dentry *dbgfs_dir) in iwl_mvm_dbgfs_register() argument
Dops.c390 const struct iwl_fw *fw, struct dentry *dbgfs_dir) in iwl_op_mode_mvm_start() argument
577 err = iwl_mvm_dbgfs_register(mvm, dbgfs_dir); in iwl_op_mode_mvm_start()
/linux-4.1.27/drivers/platform/olpc/
Dolpc-ec.c41 struct dentry *dbgfs_dir; member
239 struct dentry *dbgfs_dir; in olpc_ec_setup_debugfs() local
241 dbgfs_dir = debugfs_create_dir("olpc-ec", NULL); in olpc_ec_setup_debugfs()
242 if (IS_ERR_OR_NULL(dbgfs_dir)) in olpc_ec_setup_debugfs()
245 debugfs_create_file("cmd", 0600, dbgfs_dir, NULL, &ec_dbgfs_ops); in olpc_ec_setup_debugfs()
247 return dbgfs_dir; in olpc_ec_setup_debugfs()
286 ec->dbgfs_dir = olpc_ec_setup_debugfs(); in olpc_ec_probe()
/linux-4.1.27/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.1.27/drivers/misc/mei/
Ddebugfs.c172 if (!dev->dbgfs_dir) in mei_dbgfs_deregister()
174 debugfs_remove_recursive(dev->dbgfs_dir); in mei_dbgfs_deregister()
175 dev->dbgfs_dir = NULL; in mei_dbgfs_deregister()
212 dev->dbgfs_dir = dir; in mei_dbgfs_register()
Dmei_dev.h595 struct dentry *dbgfs_dir; member
/linux-4.1.27/arch/x86/kernel/
Dpmc_atom.c32 struct dentry *dbgfs_dir; member
250 debugfs_remove_recursive(pmc->dbgfs_dir); in pmc_dbgfs_unregister()
261 pmc->dbgfs_dir = dir; in pmc_dbgfs_register()
/linux-4.1.27/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.1.27/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h122 struct dentry *dbgfs_dir; member
Dstmmac_main.c2655 priv->dbgfs_dir = debugfs_create_dir(dev->name, stmmac_fs_dir); in stmmac_init_fs()
2657 if (!priv->dbgfs_dir || IS_ERR(priv->dbgfs_dir)) { in stmmac_init_fs()
2667 priv->dbgfs_dir, dev, in stmmac_init_fs()
2672 debugfs_remove_recursive(priv->dbgfs_dir); in stmmac_init_fs()
2679 priv->dbgfs_dir, in stmmac_init_fs()
2684 debugfs_remove_recursive(priv->dbgfs_dir); in stmmac_init_fs()
2696 debugfs_remove_recursive(priv->dbgfs_dir); in stmmac_exit_fs()
/linux-4.1.27/include/net/caif/
Dcaif_spi.h131 struct dentry *dbgfs_dir; member
/linux-4.1.27/drivers/net/wireless/iwlwifi/
Diwl-op-mode.h149 struct dentry *dbgfs_dir);
Diwl-drv.c1048 struct dentry *dbgfs_dir = NULL; in _iwl_op_mode_start() local
1059 dbgfs_dir = drv->dbgfs_op_mode; in _iwl_op_mode_start()
1062 op_mode = ops->start(drv->trans, drv->cfg, &drv->fw, dbgfs_dir); in _iwl_op_mode_start()
1398 drv->trans->dbgfs_dir = debugfs_create_dir("trans", drv->dbgfs_drv); in iwl_drv_start()
1400 if (!drv->trans->dbgfs_dir) { in iwl_drv_start()
Diwl-trans.h629 struct dentry *dbgfs_dir; member
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Dagn.h454 int iwl_dbgfs_register(struct iwl_priv *priv, struct dentry *dbgfs_dir);
457 struct dentry *dbgfs_dir) in iwl_dbgfs_register() argument
Ddebugfs.c2360 int iwl_dbgfs_register(struct iwl_priv *priv, struct dentry *dbgfs_dir) in iwl_dbgfs_register() argument
2364 priv->debugfs_dir = dbgfs_dir; in iwl_dbgfs_register()
2366 dir_data = debugfs_create_dir("data", dbgfs_dir); in iwl_dbgfs_register()
2369 dir_rf = debugfs_create_dir("rf", dbgfs_dir); in iwl_dbgfs_register()
2372 dir_debug = debugfs_create_dir("debug", dbgfs_dir); in iwl_dbgfs_register()
2429 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.1.27/drivers/net/wireless/iwlwifi/pcie/
Ddrv.c601 ret = iwl_trans_dbgfs_register(iwl_trans, iwl_trans->dbgfs_dir); in iwl_pci_probe()