Home
last modified time | relevance | path

Searched refs:dev_root (Results 1 – 18 of 18) 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.c116 sysfs_add_file_to_group(&cpu_subsys.dev_root->kobj, in lpit_update_residency()
124 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()
Dintel-uncore-frequency.c400 &cpu_subsys.dev_root->kobj); in intel_uncore_init()
/drivers/sh/intc/
Duserimask.c67 return device_create_file(intc_subsys.dev_root, &dev_attr_userimask); in userimask_sysdev_init()
/drivers/base/
Dbus.c892 if (bus->dev_root) in bus_unregister()
893 device_unregister(bus->dev_root); in bus_unregister()
1128 subsys->dev_root = dev; in subsys_register()
Dcpu.c632 if (sysfs_create_group(&cpu_subsys.dev_root->kobj, in cpu_register_vulnerabilities()
Dcore.c2862 if (!parent && dev->bus && dev->bus->dev_root) in get_device_parent()
2863 return &dev->bus->dev_root->kobj; in get_device_parent()
/drivers/md/
Ddm-thin-metadata.c1063 dm_block_t dev_root; in __create_thin() local
1076 r = dm_btree_empty(&pmd->bl_info, &dev_root); in __create_thin()
1083 value = cpu_to_le64(dev_root); in __create_thin()
1087 dm_btree_del(&pmd->bl_info, dev_root); in __create_thin()
1094 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/char/
Dhpet.c759 static struct ctl_table dev_root[] = { variable
1064 sysctl_header = register_sysctl_table(dev_root); in hpet_init()
/drivers/edac/
Dedac_pci_sysfs.c372 &edac_subsys->dev_root->kobj, "pci"); in edac_pci_main_kobj_setup()
Dedac_device_sysfs.c259 &edac_subsys->dev_root->kobj, in edac_device_register_sysfs_main_kobj()
/drivers/cpuidle/
Dcpuidle.c766 return cpuidle_add_interface(cpu_subsys.dev_root); in cpuidle_init()
/drivers/iommu/
Dmtk_iommu_v1.c599 platform_bus_type.dev_root); in mtk_iommu_probe()
/drivers/gpu/drm/i915/
Di915_perf.c4242 static struct ctl_table dev_root[] = { variable
4412 sysctl_header = register_sysctl_table(dev_root); in i915_perf_sysctl_register()
/drivers/cpufreq/
Dcpufreq.c2878 cpufreq_global_kobject = kobject_create_and_add("cpufreq", &cpu_subsys.dev_root->kobj); in cpufreq_core_init()
Dintel_pstate.c1384 &cpu_subsys.dev_root->kobj); in intel_pstate_sysfs_expose_params()