Home
last modified time | relevance | path

Searched refs:dev_root (Results 1 – 15 of 15) sorted by relevance

/drivers/hv/
Dhv_debugfs.c113 struct dentry *delay, *dev_root; in hv_debug_add_dev_dir() local
117 dev_root = debugfs_create_dir(device, hv_debug_root); in hv_debug_add_dev_dir()
118 if (IS_ERR(dev_root)) { in hv_debug_add_dev_dir()
121 return PTR_ERR(dev_root); in hv_debug_add_dev_dir()
123 hv_debug_set_test_state(dev, dev_root); in hv_debug_add_dev_dir()
124 hv_debug_set_dir_dentry(dev, dev_root); in hv_debug_add_dev_dir()
125 delay = debugfs_create_dir(delay_name, dev_root); in hv_debug_add_dev_dir()
/drivers/acpi/
Dacpi_lpit.c113 sysfs_add_file_to_group(&cpu_subsys.dev_root->kobj, in lpit_update_residency()
118 sysfs_add_file_to_group(&cpu_subsys.dev_root->kobj, in lpit_update_residency()
/drivers/platform/x86/
Dibm_rtl.c203 device_create_file(rtl_subsys.dev_root, rtl_attributes[i]); in rtl_setup_sysfs()
211 device_remove_file(rtl_subsys.dev_root, rtl_attributes[i]); in rtl_teardown_sysfs()
/drivers/sh/intc/
Duserimask.c67 return device_create_file(intc_subsys.dev_root, &dev_attr_userimask); in userimask_sysdev_init()
/drivers/base/
Dbus.c871 if (bus->dev_root) in bus_unregister()
872 device_unregister(bus->dev_root); in bus_unregister()
1107 subsys->dev_root = dev; in subsys_register()
Dcpu.c630 if (sysfs_create_group(&cpu_subsys.dev_root->kobj, in cpu_register_vulnerabilities()
Dcore.c3270 if (!parent && dev->bus && dev->bus->dev_root) in get_device_parent()
3271 return &dev->bus->dev_root->kobj; in get_device_parent()
/drivers/md/
Ddm-thin-metadata.c1102 dm_block_t dev_root; in __create_thin() local
1115 r = dm_btree_empty(&pmd->bl_info, &dev_root); in __create_thin()
1122 value = cpu_to_le64(dev_root); in __create_thin()
1126 dm_btree_del(&pmd->bl_info, dev_root); in __create_thin()
1133 dm_btree_del(&pmd->bl_info, dev_root); in __create_thin()
/drivers/irqchip/
Dirq-mbigen.c248 parent = platform_bus_type.dev_root; in mbigen_of_create_domain()
/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency-common.c237 &cpu_subsys.dev_root->kobj); in uncore_freq_common_init()
/drivers/edac/
Dedac_pci_sysfs.c374 &edac_subsys->dev_root->kobj, "pci"); in edac_pci_main_kobj_setup()
Dedac_device_sysfs.c257 &edac_subsys->dev_root->kobj, in edac_device_register_sysfs_main_kobj()
/drivers/cpuidle/
Dcpuidle.c792 return cpuidle_add_interface(cpu_subsys.dev_root); in cpuidle_init()
/drivers/cpufreq/
Dcpufreq.c2973 cpufreq_global_kobject = kobject_create_and_add("cpufreq", &cpu_subsys.dev_root->kobj); in cpufreq_core_init()
Dintel_pstate.c1505 &cpu_subsys.dev_root->kobj); in intel_pstate_sysfs_expose_params()