/DragonOS/kernel/src/driver/base/ |
H A D | class.rs | 9 subsys::SubSysPrivate, 85 let subsys = self.subsystem(); in find_device() localVariable 86 let guard = subsys.devices(); in find_device() 123 let subsys = subsystem.subsys(); in class_register() localVariable 124 subsys.set_name(class.name().to_string()); in class_register() 130 subsys.set_kobj_type(Some(&ClassKObjbectType)); in class_register() 133 subsys.register(Some(sys_class_kset()))?; in class_register() 135 sysfs_instance().create_groups(&(subsys as Arc<dyn KObject>), class.class_groups())?; in class_register() 144 let subsys = subsystem.subsys(); in class_unregister() localVariable 145 sysfs_instance().remove_groups(&(subsys.clone() as Arc<dyn KObject>), class.class_groups()); in class_unregister() [all …]
|
H A D | subsys.rs | 33 subsys: Arc<KSet>, field 72 let subsys = KSet::new(name); in new() localVariable 74 subsys, in new() 87 return self.subsys.name(); in name() 90 pub fn subsys(&self) -> Arc<KSet> { in subsys() method 91 return self.subsys.clone(); in subsys()
|
H A D | mod.rs | 13 pub mod subsys; module
|
H A D | cpu.rs | 23 subsys::SubSysPrivate,
|
/DragonOS/kernel/src/driver/input/serio/ |
H A D | mod.rs | 6 use self::subsys::SerioBus; 11 pub mod subsys; module
|
H A D | subsys.rs | 15 subsys::SubSysPrivate,
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | bus.rs | 10 subsys::SubSysPrivate, 192 let subsys = self.subsystem(); in find_device() localVariable 193 let guard = subsys.devices(); in find_device() 222 let subsys = self.subsystem(); in find_driver() localVariable 223 let guard = subsys.drivers(); in find_driver() 284 &bus.subsystem().subsys().as_kobject(), in add_device() 364 let subsys_kset = bus.subsystem().subsys(); in register() 410 let bus_kobj = bus.subsystem().subsys() as Arc<dyn KObject>; in create_file() 415 let bus_kobj = bus.subsystem().subsys() as Arc<dyn KObject>; in remove_file() 425 let bus_kobj = bus.subsystem().subsys() as Arc<dyn KObject>; in add_groups() [all …]
|
H A D | mod.rs | 700 let subsys_kobj = class.subsystem().subsys() as Arc<dyn KObject>; in add_class_symlinks()
|
/DragonOS/kernel/src/driver/pci/ |
H A D | mod.rs | 11 pub mod subsys; module
|
H A D | driver.rs | 9 use super::{dev_id::PciDeviceID, device::PciDevice, subsys::pci_bus};
|
H A D | subsys.rs | 18 subsys::SubSysPrivate,
|
H A D | device.rs | 25 subsys::{pci_bus, pci_bus_device},
|
H A D | pci.rs | 10 use crate::driver::pci::subsys::pci_bus_subsys_init;
|
/DragonOS/kernel/src/driver/acpi/ |
H A D | bus.rs | 7 subsys::SubSysPrivate, 64 return self.private.subsys().as_kobject().name(); in name()
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | mod.rs | 1 use self::{platform_device::PlatformBusDevice, subsys::PlatformBus}; 18 pub mod subsys; module
|
H A D | subsys.rs | 17 subsys::SubSysPrivate,
|
/DragonOS/kernel/src/cgroup/ |
H A D | mod.rs | 47 subsys: Vec<Arc<CgroupSubsysState>>, field
|
/DragonOS/kernel/src/driver/tty/ |
H A D | sysfs.rs | 13 subsys::SubSysPrivate,
|
/DragonOS/kernel/src/driver/net/ |
H A D | class.rs | 6 subsys::SubSysPrivate,
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | class.rs | 14 subsys::SubSysPrivate,
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | virtio.rs | 12 use crate::driver::pci::subsys::pci_bus;
|
H A D | sysfs.rs | 21 subsys::SubSysPrivate,
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | fbmem.rs | 25 subsys::SubSysPrivate,
|