Home
last modified time | relevance | path

Searched refs:KObject (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/base/map/
Dmod.rs1 use super::device::{mkdev, DeviceNumber, KObject};
9 struct Probe(Arc<dyn KObject>);
15 pub fn new(data: Arc<dyn KObject>) -> Self { in new()
50 data: Arc<dyn KObject>, in kobj_map() argument
86 pub fn kobj_lookup(domain: Arc<LockedKObjMap>, dev_t: DeviceNumber) -> Option<Arc<dyn KObject>> { in kobj_lookup() argument
/DragonOS-0.1.8/kernel/src/driver/base/device/
Ddriver.rs1 use super::{IdTable, KObject};
28 pub trait Driver: KObject {
Dmod.rs23 pub trait KObject: Any + Send + Sync + Debug {} trait
170 pub trait Device: KObject {
/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dmod.rs4 Device, DeviceError, DeviceState, DeviceType, IdTable, KObject,
265 impl KObject for LockedPlatformBusDriver {}
384 impl KObject for LockedPlatform {}
/DragonOS-0.1.8/kernel/src/driver/base/char/
Dmod.rs2 device::{mkdev, DeviceNumber, KObject},
27 pub trait CharDevice: KObject {
/DragonOS-0.1.8/kernel/src/driver/uart/
Duart.rs5 device::{driver::Driver, DeviceState, DeviceType, IdTable, KObject},
128 impl KObject for LockedUart {}
204 impl KObject for LockedUartDriver {}