Home
last modified time | relevance | path

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

12345

/linux-6.6.21/drivers/net/wwan/t7xx/
Dt7xx_port_trace.c54 struct dentry *debugfs_dir = port->t7xx_dev->debugfs_dir; in t7xx_trace_port_uninit() local
61 debugfs_remove_recursive(debugfs_dir); in t7xx_trace_port_uninit()
80 struct dentry *debugfs_dir; in t7xx_port_trace_md_state_notify() local
89 debugfs_dir = debugfs_create_dir(KBUILD_MODNAME, debugfs_wwan_dir); in t7xx_port_trace_md_state_notify()
90 if (IS_ERR_OR_NULL(debugfs_dir)) { in t7xx_port_trace_md_state_notify()
96 relaych = relay_open("relay_ch", debugfs_dir, T7XX_TRC_SUB_BUFF_SIZE, in t7xx_port_trace_md_state_notify()
103 port->t7xx_dev->debugfs_dir = debugfs_dir; in t7xx_port_trace_md_state_notify()
107 debugfs_remove_recursive(debugfs_dir); in t7xx_port_trace_md_state_notify()
/linux-6.6.21/drivers/media/platform/rockchip/rkisp1/
Drkisp1-debug.c195 debug->debugfs_dir = debugfs_create_dir(dev_name(rkisp1->dev), NULL); in rkisp1_debug_init()
197 debugfs_create_ulong("data_loss", 0444, debug->debugfs_dir, in rkisp1_debug_init()
199 debugfs_create_ulong("outform_size_err", 0444, debug->debugfs_dir, in rkisp1_debug_init()
202 debug->debugfs_dir, in rkisp1_debug_init()
204 debugfs_create_ulong("inform_size_error", 0444, debug->debugfs_dir, in rkisp1_debug_init()
206 debugfs_create_ulong("irq_delay", 0444, debug->debugfs_dir, in rkisp1_debug_init()
208 debugfs_create_ulong("mipi_error", 0444, debug->debugfs_dir, in rkisp1_debug_init()
210 debugfs_create_ulong("stats_error", 0444, debug->debugfs_dir, in rkisp1_debug_init()
212 debugfs_create_ulong("mp_stop_timeout", 0444, debug->debugfs_dir, in rkisp1_debug_init()
214 debugfs_create_ulong("sp_stop_timeout", 0444, debug->debugfs_dir, in rkisp1_debug_init()
[all …]
/linux-6.6.21/net/mac80211/
Ddebugfs_netdev.c693 debugfs_create_file(#name, mode, sdata->vif.debugfs_dir, \
697 debugfs_create_x##_bits(#_name, _mode, sdata->vif.debugfs_dir, \
754 debugfs_create_file("num_mcast_sta", 0400, sdata->vif.debugfs_dir, in add_vlan_files()
774 sdata->vif.debugfs_dir); in add_mesh_stats()
789 sdata->vif.debugfs_dir); in add_mesh_config()
829 if (!sdata->vif.debugfs_dir) in add_files()
893 sdata->vif.debugfs_dir = debugfs_create_dir(buf, in ieee80211_debugfs_add_netdev()
896 sdata->vif.debugfs_dir); in ieee80211_debugfs_add_netdev()
900 add_link_files(&sdata->deflink, sdata->vif.debugfs_dir); in ieee80211_debugfs_add_netdev()
905 if (!sdata->vif.debugfs_dir) in ieee80211_debugfs_remove_netdev()
[all …]
Ddebugfs_sta.c1224 sta->debugfs_dir, sta, &sta_ ##name## _ops)
1227 debugfs_create_ulong(#name, 0400, sta->debugfs_dir, &sta->field);
1250 sta->debugfs_dir = debugfs_create_dir(mac, stations_dir); in ieee80211_sta_debugfs_add()
1267 debugfs_create_xul("driver_buffered_tids", 0400, sta->debugfs_dir, in ieee80211_sta_debugfs_add()
1270 drv_sta_add_debugfs(local, sdata, &sta->sta, sta->debugfs_dir); in ieee80211_sta_debugfs_add()
1275 debugfs_remove_recursive(sta->debugfs_dir); in ieee80211_sta_debugfs_remove()
1276 sta->debugfs_dir = NULL; in ieee80211_sta_debugfs_remove()
1284 link_sta->debugfs_dir, link_sta, &link_sta_ ##name## _ops)
1286 debugfs_create_ulong(#name, 0400, link_sta->debugfs_dir, &link_sta->field)
1290 if (WARN_ON(!link_sta->sta->debugfs_dir)) in ieee80211_link_sta_debugfs_add()
[all …]
Ddebugfs_key.c378 if (!sdata->vif.debugfs_dir) in ieee80211_debugfs_key_update_default()
392 sdata->vif.debugfs_dir, buf); in ieee80211_debugfs_key_update_default()
404 sdata->vif.debugfs_dir, buf); in ieee80211_debugfs_key_update_default()
413 if (!sdata->vif.debugfs_dir) in ieee80211_debugfs_key_add_mgmt_default()
422 sdata->vif.debugfs_dir, buf); in ieee80211_debugfs_key_add_mgmt_default()
442 if (!sdata->vif.debugfs_dir) in ieee80211_debugfs_key_add_beacon_default()
451 sdata->vif.debugfs_dir, buf); in ieee80211_debugfs_key_add_beacon_default()
Drate.h59 if (ref && sta->debugfs_dir && ref->ops->add_sta_debugfs) in rate_control_add_sta_debugfs()
61 sta->debugfs_dir); in rate_control_add_sta_debugfs()
/linux-6.6.21/block/
Dblk-mq-debugfs.c660 debugfs_create_files(q->debugfs_dir, q, blk_mq_debugfs_queue_attrs); in blk_mq_debugfs_register()
672 if (!hctx->debugfs_dir) in blk_mq_debugfs_register()
695 ctx_dir = debugfs_create_dir(name, hctx->debugfs_dir); in blk_mq_debugfs_register_ctx()
707 if (!q->debugfs_dir) in blk_mq_debugfs_register_hctx()
711 hctx->debugfs_dir = debugfs_create_dir(name, q->debugfs_dir); in blk_mq_debugfs_register_hctx()
713 debugfs_create_files(hctx->debugfs_dir, hctx, blk_mq_debugfs_hctx_attrs); in blk_mq_debugfs_register_hctx()
721 if (!hctx->queue->debugfs_dir) in blk_mq_debugfs_unregister_hctx()
723 debugfs_remove_recursive(hctx->debugfs_dir); in blk_mq_debugfs_unregister_hctx()
725 hctx->debugfs_dir = NULL; in blk_mq_debugfs_unregister_hctx()
756 if (!q->debugfs_dir) in blk_mq_debugfs_register_sched()
[all …]
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dadf_dbgfs.c33 accel_dev->debugfs_dir = ret; in adf_dbgfs_init()
46 debugfs_remove(accel_dev->debugfs_dir); in adf_dbgfs_exit()
59 if (!accel_dev->debugfs_dir) in adf_dbgfs_add()
74 if (!accel_dev->debugfs_dir) in adf_dbgfs_rm()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Ddebugfs.c2206 MVM_DEBUGFS_ADD_FILE(tx_flush, mvm->debugfs_dir, 0200); in iwl_mvm_dbgfs_register()
2207 MVM_DEBUGFS_ADD_FILE(sta_drain, mvm->debugfs_dir, 0200); in iwl_mvm_dbgfs_register()
2208 MVM_DEBUGFS_ADD_FILE(sram, mvm->debugfs_dir, 0600); in iwl_mvm_dbgfs_register()
2209 MVM_DEBUGFS_ADD_FILE(set_nic_temperature, mvm->debugfs_dir, 0600); in iwl_mvm_dbgfs_register()
2210 MVM_DEBUGFS_ADD_FILE(nic_temp, mvm->debugfs_dir, 0400); in iwl_mvm_dbgfs_register()
2211 MVM_DEBUGFS_ADD_FILE(ctdp_budget, mvm->debugfs_dir, 0400); in iwl_mvm_dbgfs_register()
2212 MVM_DEBUGFS_ADD_FILE(stop_ctdp, mvm->debugfs_dir, 0200); in iwl_mvm_dbgfs_register()
2213 MVM_DEBUGFS_ADD_FILE(force_ctkill, mvm->debugfs_dir, 0200); in iwl_mvm_dbgfs_register()
2214 MVM_DEBUGFS_ADD_FILE(stations, mvm->debugfs_dir, 0400); in iwl_mvm_dbgfs_register()
2215 MVM_DEBUGFS_ADD_FILE(bt_notif, mvm->debugfs_dir, 0400); in iwl_mvm_dbgfs_register()
[all …]
/linux-6.6.21/drivers/media/usb/uvc/
Duvc_debugfs.c84 stream->debugfs_dir = debugfs_create_dir(dir_name, in uvc_debugfs_init_stream()
87 debugfs_create_file("stats", 0444, stream->debugfs_dir, stream, in uvc_debugfs_init_stream()
93 debugfs_remove_recursive(stream->debugfs_dir); in uvc_debugfs_cleanup_stream()
94 stream->debugfs_dir = NULL; in uvc_debugfs_cleanup_stream()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge_debugfs.c65 bridge->debugfs_dir = debugfs_create_dir(br_netdev->name, in mlx5_esw_bridge_debugfs_init()
67 debugfs_create_file("fdb", 0400, bridge->debugfs_dir, bridge, in mlx5_esw_bridge_debugfs_init()
73 debugfs_remove_recursive(bridge->debugfs_dir); in mlx5_esw_bridge_debugfs_cleanup()
74 bridge->debugfs_dir = NULL; in mlx5_esw_bridge_debugfs_cleanup()
/linux-6.6.21/drivers/crypto/cavium/nitrox/
Dnitrox_debugfs.c56 debugfs_remove_recursive(ndev->debugfs_dir); in nitrox_debugfs_exit()
57 ndev->debugfs_dir = NULL; in nitrox_debugfs_exit()
66 ndev->debugfs_dir = dir; in nitrox_debugfs_init()
/linux-6.6.21/drivers/edac/
Dzynqmp_edac.c117 struct dentry *debugfs_dir; member
353 priv->debugfs_dir = edac_debugfs_create_dir("ocm"); in setup_debugfs()
354 if (!priv->debugfs_dir) in setup_debugfs()
357 edac_debugfs_create_x32("inject_fault_count", 0644, priv->debugfs_dir, in setup_debugfs()
359 edac_debugfs_create_file("inject_ue_bitpos", 0644, priv->debugfs_dir, in setup_debugfs()
361 edac_debugfs_create_file("inject_ce_bitpos", 0644, priv->debugfs_dir, in setup_debugfs()
438 debugfs_remove_recursive(priv->debugfs_dir); in edac_remove()
/linux-6.6.21/drivers/hwmon/pmbus/
Ddps920ab.c114 struct dentry *debugfs_dir; in dps920ab_init_debugfs() local
121 debugfs_dir = debugfs_create_dir(client->name, root); in dps920ab_init_debugfs()
125 debugfs_dir, in dps920ab_init_debugfs()
131 debugfs_dir, in dps920ab_init_debugfs()
/linux-6.6.21/drivers/net/wwan/iosm/
Diosm_ipc_debugfs.c17 ipc_imem->debugfs_dir = debugfs_create_dir(KBUILD_MODNAME, in ipc_debugfs_init()
28 debugfs_remove_recursive(ipc_imem->debugfs_dir); in ipc_debugfs_deinit()
Diosm_ipc_trace.c157 ipc_imem->debugfs_dir, in ipc_trace_init()
161 ipc_imem->debugfs_dir, in ipc_trace_init()
/linux-6.6.21/drivers/thunderbolt/
Ddma_test.c111 struct dentry *debugfs_dir; member
628 dt->debugfs_dir = debugfs_create_dir("dma_test", svc->debugfs_dir); in dma_test_debugfs_init()
630 debugfs_create_file("lanes", 0600, dt->debugfs_dir, svc, &lanes_fops); in dma_test_debugfs_init()
631 debugfs_create_file("speed", 0600, dt->debugfs_dir, svc, &speed_fops); in dma_test_debugfs_init()
632 debugfs_create_file("packets_to_receive", 0600, dt->debugfs_dir, svc, in dma_test_debugfs_init()
634 debugfs_create_file("packets_to_send", 0600, dt->debugfs_dir, svc, in dma_test_debugfs_init()
636 debugfs_create_file("status", 0400, dt->debugfs_dir, svc, &status_fops); in dma_test_debugfs_init()
637 debugfs_create_file("test", 0200, dt->debugfs_dir, svc, &test_fops); in dma_test_debugfs_init()
665 debugfs_remove_recursive(dt->debugfs_dir); in dma_test_remove()
Ddebugfs.c887 parent = debugfs_lookup(dir_name, port->sw->debugfs_dir); in margining_port_init()
960 parent = debugfs_lookup(dir_name, port->sw->debugfs_dir); in margining_port_remove()
1515 struct dentry *debugfs_dir; in tb_switch_debugfs_init() local
1518 debugfs_dir = debugfs_create_dir(dev_name(&sw->dev), tb_debugfs_root); in tb_switch_debugfs_init()
1519 sw->debugfs_dir = debugfs_dir; in tb_switch_debugfs_init()
1520 debugfs_create_file("regs", DEBUGFS_MODE, debugfs_dir, sw, in tb_switch_debugfs_init()
1524 struct dentry *debugfs_dir; in tb_switch_debugfs_init() local
1533 debugfs_dir = debugfs_create_dir(dir_name, sw->debugfs_dir); in tb_switch_debugfs_init()
1534 debugfs_create_file("regs", DEBUGFS_MODE, debugfs_dir, in tb_switch_debugfs_init()
1536 debugfs_create_file("path", 0400, debugfs_dir, port, in tb_switch_debugfs_init()
[all …]
/linux-6.6.21/fs/ceph/
Ddebugfs.c420 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
428 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
433 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
439 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
445 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
451 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
457 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
462 fsc->client->debugfs_dir); in ceph_fs_debugfs_init()
/linux-6.6.21/drivers/staging/rtl8192u/
Dr8192U_debugfs.c162 priv->debugfs_dir = dir; in rtl8192_debugfs_init_one()
169 debugfs_remove_recursive(priv->debugfs_dir); in rtl8192_debugfs_exit_one()
177 debugfs_rename(parent_dir, priv->debugfs_dir, parent_dir, dev->name); in rtl8192_debugfs_rename_one()
/linux-6.6.21/net/ceph/
Ddebugfs.c416 client->debugfs_dir = debugfs_create_dir(name, ceph_debugfs_dir); in ceph_debugfs_client_init()
420 client->debugfs_dir, in ceph_debugfs_client_init()
426 client->debugfs_dir, in ceph_debugfs_client_init()
432 client->debugfs_dir, in ceph_debugfs_client_init()
438 client->debugfs_dir, in ceph_debugfs_client_init()
444 client->debugfs_dir, in ceph_debugfs_client_init()
457 debugfs_remove(client->debugfs_dir); in ceph_debugfs_client_cleanup()
/linux-6.6.21/drivers/crypto/bcm/
Dutil.c490 if (!iproc_priv.debugfs_dir) in spu_setup_debugfs()
491 iproc_priv.debugfs_dir = debugfs_create_dir(KBUILD_MODNAME, in spu_setup_debugfs()
496 debugfs_create_file("stats", 0400, iproc_priv.debugfs_dir, in spu_setup_debugfs()
502 debugfs_remove_recursive(iproc_priv.debugfs_dir); in spu_free_debugfs()
503 iproc_priv.debugfs_dir = NULL; in spu_free_debugfs()
/linux-6.6.21/drivers/nvdimm/
Dbtt.h192 struct dentry *debugfs_dir; member
222 struct dentry *debugfs_dir; member
/linux-6.6.21/drivers/hwmon/
Dtps23861.c117 struct dentry *debugfs_dir; member
516 data->debugfs_dir = debugfs_create_dir(debugfs_name, NULL); in tps23861_init_debugfs()
520 data->debugfs_dir, in tps23861_init_debugfs()
574 debugfs_remove_recursive(data->debugfs_dir); in tps23861_remove()
/linux-6.6.21/drivers/ntb/hw/amd/
Dntb_hw_amd.c74 static struct dentry *debugfs_dir; variable
937 if (!debugfs_dir) { in ndev_init_debugfs()
938 ndev->debugfs_dir = NULL; in ndev_init_debugfs()
941 ndev->debugfs_dir = in ndev_init_debugfs()
943 debugfs_dir); in ndev_init_debugfs()
946 ndev->debugfs_dir, ndev, in ndev_init_debugfs()
953 debugfs_remove_recursive(ndev->debugfs_dir); in ndev_deinit_debugfs()
1340 debugfs_dir = debugfs_create_dir(KBUILD_MODNAME, NULL); in amd_ntb_pci_driver_init()
1344 debugfs_remove_recursive(debugfs_dir); in amd_ntb_pci_driver_init()
1353 debugfs_remove_recursive(debugfs_dir); in amd_ntb_pci_driver_exit()

12345