Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/
Drkisp1-dev.c430 debug->debugfs_dir = debugfs_create_dir(RKISP1_DRIVER_NAME, NULL); in rkisp1_debug_init()
431 if (!debug->debugfs_dir) { in rkisp1_debug_init()
435 debugfs_create_ulong("data_loss", 0444, debug->debugfs_dir, in rkisp1_debug_init()
437 debugfs_create_ulong("outform_size_err", 0444, debug->debugfs_dir, in rkisp1_debug_init()
440 debug->debugfs_dir, in rkisp1_debug_init()
442 debugfs_create_ulong("inform_size_error", 0444, debug->debugfs_dir, in rkisp1_debug_init()
444 debugfs_create_ulong("irq_delay", 0444, debug->debugfs_dir, in rkisp1_debug_init()
446 debugfs_create_ulong("mipi_error", 0444, debug->debugfs_dir, in rkisp1_debug_init()
448 debugfs_create_ulong("stats_error", 0444, debug->debugfs_dir, in rkisp1_debug_init()
450 debugfs_create_ulong("mp_stop_timeout", 0444, debug->debugfs_dir, in rkisp1_debug_init()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/block/
Dblk-mq-debugfs.c832 debugfs_create_files(q->debugfs_dir, q, blk_mq_debugfs_queue_attrs); in blk_mq_debugfs_register()
844 if (!hctx->debugfs_dir) in blk_mq_debugfs_register()
872 ctx_dir = debugfs_create_dir(name, hctx->debugfs_dir); in blk_mq_debugfs_register_ctx()
885 hctx->debugfs_dir = debugfs_create_dir(name, q->debugfs_dir); in blk_mq_debugfs_register_hctx()
887 debugfs_create_files(hctx->debugfs_dir, hctx, blk_mq_debugfs_hctx_attrs); in blk_mq_debugfs_register_hctx()
895 debugfs_remove_recursive(hctx->debugfs_dir); in blk_mq_debugfs_unregister_hctx()
897 hctx->debugfs_dir = NULL; in blk_mq_debugfs_unregister_hctx()
926 if (!q->debugfs_dir) in blk_mq_debugfs_register_sched()
932 q->sched_debugfs_dir = debugfs_create_dir("sched", q->debugfs_dir); in blk_mq_debugfs_register_sched()
945 debugfs_remove_recursive(rqos->debugfs_dir); in blk_mq_debugfs_unregister_rqos()
[all …]
/kernel/linux/linux-5.10/drivers/thunderbolt/
Ddebugfs.c654 struct dentry *debugfs_dir; in tb_switch_debugfs_init() local
657 debugfs_dir = debugfs_create_dir(dev_name(&sw->dev), tb_debugfs_root); in tb_switch_debugfs_init()
658 sw->debugfs_dir = debugfs_dir; in tb_switch_debugfs_init()
659 debugfs_create_file("regs", DEBUGFS_MODE, debugfs_dir, sw, in tb_switch_debugfs_init()
663 struct dentry *debugfs_dir; in tb_switch_debugfs_init() local
672 debugfs_dir = debugfs_create_dir(dir_name, sw->debugfs_dir); in tb_switch_debugfs_init()
673 debugfs_create_file("regs", DEBUGFS_MODE, debugfs_dir, in tb_switch_debugfs_init()
675 debugfs_create_file("path", 0400, debugfs_dir, port, in tb_switch_debugfs_init()
678 debugfs_create_file("counters", 0600, debugfs_dir, port, in tb_switch_debugfs_init()
691 debugfs_remove_recursive(sw->debugfs_dir); in tb_switch_debugfs_remove()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Ddebugfs.c2006 mvm->debugfs_dir = dbgfs_dir; in iwl_mvm_dbgfs_register()
2008 MVM_DEBUGFS_ADD_FILE(tx_flush, mvm->debugfs_dir, 0200); in iwl_mvm_dbgfs_register()
2009 MVM_DEBUGFS_ADD_FILE(sta_drain, mvm->debugfs_dir, 0200); in iwl_mvm_dbgfs_register()
2010 MVM_DEBUGFS_ADD_FILE(sram, mvm->debugfs_dir, 0600); in iwl_mvm_dbgfs_register()
2011 MVM_DEBUGFS_ADD_FILE(set_nic_temperature, mvm->debugfs_dir, 0600); in iwl_mvm_dbgfs_register()
2019 MVM_DEBUGFS_ADD_FILE(disable_power_off, mvm->debugfs_dir, 0600); in iwl_mvm_dbgfs_register()
2020 MVM_DEBUGFS_ADD_FILE(fw_ver, mvm->debugfs_dir, 0400); in iwl_mvm_dbgfs_register()
2021 MVM_DEBUGFS_ADD_FILE(fw_rx_stats, mvm->debugfs_dir, 0400); in iwl_mvm_dbgfs_register()
2022 MVM_DEBUGFS_ADD_FILE(drv_rx_stats, mvm->debugfs_dir, 0400); in iwl_mvm_dbgfs_register()
2023 MVM_DEBUGFS_ADD_FILE(fw_restart, mvm->debugfs_dir, 0200); in iwl_mvm_dbgfs_register()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/
Dnitrox_debugfs.c55 debugfs_remove_recursive(ndev->debugfs_dir); in nitrox_debugfs_exit()
56 ndev->debugfs_dir = NULL; in nitrox_debugfs_exit()
65 ndev->debugfs_dir = dir; in nitrox_debugfs_init()
/kernel/linux/linux-5.10/fs/ceph/
Ddebugfs.c357 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
365 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
370 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
376 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
382 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
388 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
394 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
/kernel/linux/linux-5.10/tools/testing/selftests/gpio/
Dgpio-mockup-chardev.c201 int debugfs_dir = IN; in gpio_pin_test() local
213 ret = gpio_debugfs_get(CONSUMER, &debugfs_dir, &debugfs_value); in gpio_pin_test()
219 if (debugfs_dir != IN) { in gpio_pin_test()
227 if (!(debugfs_dir == OUT && value == debugfs_value)) { in gpio_pin_test()
/kernel/linux/linux-5.10/net/mac80211/
Ddebugfs_netdev.c647 debugfs_create_file(#name, mode, sdata->vif.debugfs_dir, \
695 debugfs_create_file("num_mcast_sta", 0400, sdata->vif.debugfs_dir, in add_vlan_files()
720 sdata->vif.debugfs_dir); in add_mesh_stats()
736 sdata->vif.debugfs_dir); in add_mesh_config()
776 if (!sdata->vif.debugfs_dir) in add_files()
821 sdata->vif.debugfs_dir = debugfs_create_dir(buf, in ieee80211_debugfs_add_netdev()
824 sdata->vif.debugfs_dir); in ieee80211_debugfs_add_netdev()
830 if (!sdata->vif.debugfs_dir) in ieee80211_debugfs_remove_netdev()
833 debugfs_remove_recursive(sdata->vif.debugfs_dir); in ieee80211_debugfs_remove_netdev()
834 sdata->vif.debugfs_dir = NULL; in ieee80211_debugfs_remove_netdev()
[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.h57 if (ref && sta->debugfs_dir && ref->ops->add_sta_debugfs) in rate_control_add_sta_debugfs()
59 sta->debugfs_dir); in rate_control_add_sta_debugfs()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/crypto/bcm/
Dutil.c488 if (!iproc_priv.debugfs_dir) in spu_setup_debugfs()
489 iproc_priv.debugfs_dir = debugfs_create_dir(KBUILD_MODNAME, in spu_setup_debugfs()
494 debugfs_create_file("stats", 0400, iproc_priv.debugfs_dir, in spu_setup_debugfs()
500 debugfs_remove_recursive(iproc_priv.debugfs_dir); in spu_free_debugfs()
501 iproc_priv.debugfs_dir = NULL; in spu_free_debugfs()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dbtt.h193 struct dentry *debugfs_dir; member
223 struct dentry *debugfs_dir; member
/kernel/linux/linux-5.10/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()
944 if (!ndev->debugfs_dir) in ndev_init_debugfs()
949 ndev->debugfs_dir, ndev, in ndev_init_debugfs()
956 debugfs_remove_recursive(ndev->debugfs_dir); in ndev_deinit_debugfs()
1350 debugfs_dir = debugfs_create_dir(KBUILD_MODNAME, NULL); in amd_ntb_pci_driver_init()
1359 debugfs_remove_recursive(debugfs_dir); in amd_ntb_pci_driver_exit()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-bcm2835aux.c104 struct dentry *debugfs_dir; member
119 bs->debugfs_dir = dir; in bcm2835aux_debugfs_create()
132 debugfs_remove_recursive(bs->debugfs_dir); in bcm2835aux_debugfs_remove()
133 bs->debugfs_dir = NULL; in bcm2835aux_debugfs_remove()
/kernel/linux/linux-5.10/drivers/block/rsxx/
Dcore.c233 card->debugfs_dir = debugfs_create_dir(card->gendisk->disk_name, NULL); in rsxx_debugfs_dev_new()
234 if (IS_ERR_OR_NULL(card->debugfs_dir)) in rsxx_debugfs_dev_new()
238 card->debugfs_dir, card, in rsxx_debugfs_dev_new()
244 card->debugfs_dir, card, in rsxx_debugfs_dev_new()
250 card->debugfs_dir, card, in rsxx_debugfs_dev_new()
261 debugfs_remove(card->debugfs_dir); in rsxx_debugfs_dev_new()
263 card->debugfs_dir = NULL; in rsxx_debugfs_dev_new()
1020 debugfs_remove_recursive(card->debugfs_dir); in rsxx_pci_remove()
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/
Dadm1266.c57 struct dentry *debugfs_dir; member
341 data->debugfs_dir = debugfs_create_dir(data->client->name, root); in adm1266_init_debugfs()
342 if (!data->debugfs_dir) in adm1266_init_debugfs()
345 debugfs_create_devm_seqfile(&data->client->dev, "sequencer_state", data->debugfs_dir, in adm1266_init_debugfs()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Ddebugfs.c710 priv->debugfs_dir = debugfs_create_dir(dev->name, lbs_dir); in lbs_debugfs_init_one()
716 priv->debugfs_dir, in lbs_debugfs_init_one()
721 priv->events_dir = debugfs_create_dir("subscribed_events", priv->debugfs_dir); in lbs_debugfs_init_one()
732 priv->regs_dir = debugfs_create_dir("registers", priv->debugfs_dir); in lbs_debugfs_init_one()
768 debugfs_remove(priv->debugfs_dir); in lbs_debugfs_remove_one()
921 if (!priv->debugfs_dir) in lbs_debug_init()
928 priv->debugfs_dir, &items[0], in lbs_debug_init()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
Ddebug.c443 rtlpriv->dbg.debugfs_dir = in rtl_debug_add_one()
446 parent = rtlpriv->dbg.debugfs_dir; in rtl_debug_add_one()
499 debugfs_remove_recursive(rtlpriv->dbg.debugfs_dir); in rtl_debug_remove_one()
500 rtlpriv->dbg.debugfs_dir = NULL; in rtl_debug_remove_one()
/kernel/linux/linux-5.10/drivers/staging/unisys/visorhba/
Dvisorhba_main.c91 struct dentry *debugfs_dir; member
1083 devdata->debugfs_dir = debugfs_create_dir(dev_name(&dev->device), in visorhba_probe()
1085 if (!devdata->debugfs_dir) { in visorhba_probe()
1091 devdata->debugfs_dir, devdata, in visorhba_probe()
1128 debugfs_remove_recursive(devdata->debugfs_dir); in visorhba_probe()
1161 debugfs_remove_recursive(devdata->debugfs_dir); in visorhba_remove()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/resctrl/
Dpseudo_lock.c254 plr->debugfs_dir = NULL; in pseudo_lock_region_clear()
1336 plr->debugfs_dir = debugfs_create_dir(rdtgrp->kn->name, in rdtgroup_pseudo_lock_create()
1338 if (!IS_ERR_OR_NULL(plr->debugfs_dir)) in rdtgroup_pseudo_lock_create()
1340 plr->debugfs_dir, rdtgrp, in rdtgroup_pseudo_lock_create()
1376 debugfs_remove_recursive(plr->debugfs_dir); in rdtgroup_pseudo_lock_create()
1414 debugfs_remove_recursive(rdtgrp->plr->debugfs_dir); in rdtgroup_pseudo_lock_remove()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c3xxxvf/
Dadf_drv.c68 debugfs_remove(accel_dev->debugfs_dir); in adf_cleanup_accel()
130 accel_dev->debugfs_dir = debugfs_create_dir(name, NULL); in adf_probe()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_dh895xccvf/
Dadf_drv.c68 debugfs_remove(accel_dev->debugfs_dir); in adf_cleanup_accel()
130 accel_dev->debugfs_dir = debugfs_create_dir(name, NULL); in adf_probe()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c62xvf/
Dadf_drv.c68 debugfs_remove(accel_dev->debugfs_dir); in adf_cleanup_accel()
130 accel_dev->debugfs_dir = debugfs_create_dir(name, NULL); in adf_probe()

1234