Home
last modified time | relevance | path

Searched refs:subsys (Results 1 – 23 of 23) sorted by relevance

/DragonOS/kernel/src/driver/base/
H A Dclass.rs9 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 Dsubsys.rs33 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 Dmod.rs13 pub mod subsys; module
H A Dcpu.rs23 subsys::SubSysPrivate,
/DragonOS/kernel/src/driver/input/serio/
H A Dmod.rs6 use self::subsys::SerioBus;
11 pub mod subsys; module
H A Dsubsys.rs15 subsys::SubSysPrivate,
/DragonOS/kernel/src/driver/base/device/
H A Dbus.rs10 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 Dmod.rs700 let subsys_kobj = class.subsystem().subsys() as Arc<dyn KObject>; in add_class_symlinks()
/DragonOS/kernel/src/driver/pci/
H A Dmod.rs11 pub mod subsys; module
H A Ddriver.rs9 use super::{dev_id::PciDeviceID, device::PciDevice, subsys::pci_bus};
H A Dsubsys.rs18 subsys::SubSysPrivate,
H A Ddevice.rs25 subsys::{pci_bus, pci_bus_device},
H A Dpci.rs10 use crate::driver::pci::subsys::pci_bus_subsys_init;
/DragonOS/kernel/src/driver/acpi/
H A Dbus.rs7 subsys::SubSysPrivate,
64 return self.private.subsys().as_kobject().name(); in name()
/DragonOS/kernel/src/driver/base/platform/
H A Dmod.rs1 use self::{platform_device::PlatformBusDevice, subsys::PlatformBus};
18 pub mod subsys; module
H A Dsubsys.rs17 subsys::SubSysPrivate,
/DragonOS/kernel/src/cgroup/
H A Dmod.rs47 subsys: Vec<Arc<CgroupSubsysState>>, field
/DragonOS/kernel/src/driver/tty/
H A Dsysfs.rs13 subsys::SubSysPrivate,
/DragonOS/kernel/src/driver/net/
H A Dclass.rs6 subsys::SubSysPrivate,
/DragonOS/kernel/src/driver/rtc/
H A Dclass.rs14 subsys::SubSysPrivate,
/DragonOS/kernel/src/driver/virtio/
H A Dvirtio.rs12 use crate::driver::pci::subsys::pci_bus;
H A Dsysfs.rs21 subsys::SubSysPrivate,
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dfbmem.rs25 subsys::SubSysPrivate,