Searched refs:KObject (Results 1 – 6 of 6) sorted by relevance
/DragonOS-0.1.8/kernel/src/driver/base/map/ |
D | mod.rs | 1 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/ |
D | driver.rs | 1 use super::{IdTable, KObject}; 28 pub trait Driver: KObject {
|
D | mod.rs | 23 pub trait KObject: Any + Send + Sync + Debug {} trait 170 pub trait Device: KObject {
|
/DragonOS-0.1.8/kernel/src/driver/base/platform/ |
D | mod.rs | 4 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/ |
D | mod.rs | 2 device::{mkdev, DeviceNumber, KObject}, 27 pub trait CharDevice: KObject {
|
/DragonOS-0.1.8/kernel/src/driver/uart/ |
D | uart.rs | 5 device::{driver::Driver, DeviceState, DeviceType, IdTable, KObject}, 128 impl KObject for LockedUart {} 204 impl KObject for LockedUartDriver {}
|