Home
last modified time | relevance | path

Searched refs:debug_dir (Results 1 – 18 of 18) sorted by relevance

/drivers/net/bonding/
Dbond_debugfs.c66 bond->debug_dir = in bond_debug_register()
69 if (!bond->debug_dir) { in bond_debug_register()
74 debugfs_create_file("rlb_hash_table", 0400, bond->debug_dir, in bond_debug_register()
83 debugfs_remove_recursive(bond->debug_dir); in bond_debug_unregister()
93 d = debugfs_rename(bonding_debug_root, bond->debug_dir, in bond_debug_reregister()
96 bond->debug_dir = d; in bond_debug_reregister()
Dbonding.h235 struct dentry *debug_dir; member
/drivers/md/
Ddm-android-verity.c51 struct dentry *debug_dir; variable
920 debug_dir = debugfs_create_dir("android_verity", NULL); in dm_android_verity_init()
922 if (IS_ERR_OR_NULL(debug_dir)) { in dm_android_verity_init()
924 PTR_ERR(debug_dir)); in dm_android_verity_init()
928 file = debugfs_create_bool("target_added", S_IRUGO, debug_dir, in dm_android_verity_init()
933 PTR_ERR(debug_dir)); in dm_android_verity_init()
934 debugfs_remove_recursive(debug_dir); in dm_android_verity_init()
938 file = debugfs_create_bool("verity_enabled", S_IRUGO, debug_dir, in dm_android_verity_init()
943 PTR_ERR(debug_dir)); in dm_android_verity_init()
944 debugfs_remove_recursive(debug_dir); in dm_android_verity_init()
[all …]
/drivers/thermal/
Dintel_powerclamp.c75 static struct dentry *debug_dir; variable
746 debug_dir = debugfs_create_dir("intel_powerclamp", NULL); in powerclamp_create_debug_files()
747 if (!debug_dir) in powerclamp_create_debug_files()
750 if (!debugfs_create_file("powerclamp_calib", S_IRUGO, debug_dir, in powerclamp_create_debug_files()
757 debugfs_remove_recursive(debug_dir); in powerclamp_create_debug_files()
818 debugfs_remove_recursive(debug_dir); in powerclamp_exit()
/drivers/usb/host/
Dohci-dbg.c763 ohci->debug_dir = debugfs_create_dir(bus->bus_name, ohci_debug_root); in create_debug_files()
764 if (!ohci->debug_dir) in create_debug_files()
768 ohci->debug_dir, ohci, in create_debug_files()
774 ohci->debug_dir, ohci, in create_debug_files()
780 ohci->debug_dir, ohci, in create_debug_files()
793 debugfs_remove(ohci->debug_dir); in create_debug_files()
797 ohci->debug_dir = NULL; in create_debug_files()
805 debugfs_remove(ohci->debug_dir); in remove_debug_files()
Dehci-dbg.c1053 ehci->debug_dir = debugfs_create_dir(bus->bus_name, ehci_debug_root); in create_debug_files()
1054 if (!ehci->debug_dir) in create_debug_files()
1057 if (!debugfs_create_file("async", S_IRUGO, ehci->debug_dir, bus, in create_debug_files()
1061 if (!debugfs_create_file("bandwidth", S_IRUGO, ehci->debug_dir, bus, in create_debug_files()
1065 if (!debugfs_create_file("periodic", S_IRUGO, ehci->debug_dir, bus, in create_debug_files()
1069 if (!debugfs_create_file("registers", S_IRUGO, ehci->debug_dir, bus, in create_debug_files()
1076 debugfs_remove_recursive(ehci->debug_dir); in create_debug_files()
1081 debugfs_remove_recursive(ehci->debug_dir); in remove_debug_files()
Dfotg210.h177 struct dentry *debug_dir; member
Dfusbh200.h172 struct dentry *debug_dir; member
Dehci.h253 struct dentry *debug_dir; member
Dohci.h431 struct dentry *debug_dir; member
Dfusbh200-hcd.c845 fusbh200->debug_dir = debugfs_create_dir(bus->bus_name, fusbh200_debug_root); in create_debug_files()
846 if (!fusbh200->debug_dir) in create_debug_files()
849 if (!debugfs_create_file("async", S_IRUGO, fusbh200->debug_dir, bus, in create_debug_files()
853 if (!debugfs_create_file("periodic", S_IRUGO, fusbh200->debug_dir, bus, in create_debug_files()
857 if (!debugfs_create_file("registers", S_IRUGO, fusbh200->debug_dir, bus, in create_debug_files()
864 debugfs_remove_recursive(fusbh200->debug_dir); in create_debug_files()
869 debugfs_remove_recursive(fusbh200->debug_dir); in remove_debug_files()
Dfotg210-hcd.c874 fotg210->debug_dir = debugfs_create_dir(bus->bus_name, in create_debug_files()
876 if (!fotg210->debug_dir) in create_debug_files()
879 if (!debugfs_create_file("async", S_IRUGO, fotg210->debug_dir, bus, in create_debug_files()
883 if (!debugfs_create_file("periodic", S_IRUGO, fotg210->debug_dir, bus, in create_debug_files()
887 if (!debugfs_create_file("registers", S_IRUGO, fotg210->debug_dir, bus, in create_debug_files()
894 debugfs_remove_recursive(fotg210->debug_dir); in create_debug_files()
899 debugfs_remove_recursive(fotg210->debug_dir); in remove_debug_files()
/drivers/input/touchscreen/
Dedt-ft5x06.c98 struct dentry *debug_dir; member
719 tsdata->debug_dir = debugfs_create_dir(debugfs_name, NULL); in edt_ft5x06_ts_prepare_debugfs()
720 if (!tsdata->debug_dir) in edt_ft5x06_ts_prepare_debugfs()
723 debugfs_create_u16("num_x", S_IRUSR, tsdata->debug_dir, &tsdata->num_x); in edt_ft5x06_ts_prepare_debugfs()
724 debugfs_create_u16("num_y", S_IRUSR, tsdata->debug_dir, &tsdata->num_y); in edt_ft5x06_ts_prepare_debugfs()
727 tsdata->debug_dir, tsdata, &debugfs_mode_fops); in edt_ft5x06_ts_prepare_debugfs()
729 tsdata->debug_dir, tsdata, &debugfs_raw_data_fops); in edt_ft5x06_ts_prepare_debugfs()
735 debugfs_remove_recursive(tsdata->debug_dir); in edt_ft5x06_ts_teardown_debugfs()
/drivers/hid/
Dhid-wiimote-debug.c188 dbg->wdata->hdev->debug_dir, dbg, &wiidebug_eeprom_fops); in wiidebug_init()
193 dbg->wdata->hdev->debug_dir, dbg, &wiidebug_drm_fops); in wiidebug_init()
Dhid-debug.c1223 hdev->debug_dir = debugfs_create_dir(name, hid_debug_root); in hid_debug_register()
1225 hdev->debug_dir, hdev, &hid_debug_rdesc_fops); in hid_debug_register()
1227 hdev->debug_dir, hdev, &hid_debug_events_fops); in hid_debug_register()
1237 debugfs_remove(hdev->debug_dir); in hid_debug_unregister()
Dhid-picolcd_debugfs.c859 hdev->debug_dir, data, &picolcd_debug_reset_fops); in picolcd_init_devfs()
865 hdev->debug_dir, data, &picolcd_debug_eeprom_fops); in picolcd_init_devfs()
875 hdev->debug_dir, data, &picolcd_debug_flash_fops); in picolcd_init_devfs()
/drivers/net/wireless/ath/carl9170/
Ddebug.c825 ar->debug_dir = debugfs_create_dir(KBUILD_MODNAME, in carl9170_debugfs_register()
830 ar->debug_dir, ar, \ in carl9170_debugfs_register()
895 debugfs_remove_recursive(ar->debug_dir); in carl9170_debugfs_unregister()
Dcarl9170.h439 struct dentry *debug_dir; member