/DragonOS-0.1.9/docs/kernel/filesystem/ |
D | sysfs.md | 38 devices: BTreeMap<IdTable, Arc<dyn Device>>, // 所有设备 56 drivers: BTreeMap<IdTable, Arc<dyn Driver>>, // 所有驱动 75 buses: BTreeMap<IdTable, Arc<dyn Bus>>, // 总线设备表 76 bus_drvs: BTreeMap<IdTable, Arc<dyn BusDriver>>, // 总线驱动表
|
/DragonOS-0.1.9/kernel/src/driver/base/device/ |
D | mod.rs | 137 fn id_table(&self) -> IdTable; in id_table() argument 208 id_table: IdTable, 214 pub fn new(id_table: IdTable, state: DeviceState) -> Self { in new() argument 218 pub fn id_table(&self) -> &IdTable { in id_table() argument 249 pub struct IdTable { struct 255 impl IdTable { argument 260 pub fn new(basename: String, id: Option<DeviceNumber>) -> IdTable { in new() argument 261 return IdTable { basename, id }; in new() 281 impl Default for IdTable { implementation 283 IdTable::new("unknown".to_string(), None) in default() [all …]
|
D | driver.rs | 3 Device, DeviceMatchName, DeviceMatcher, IdTable, 59 fn id_table(&self) -> Option<IdTable>; in id_table() argument
|
/DragonOS-0.1.9/kernel/src/driver/base/platform/ |
D | mod.rs | 6 device_unregister, sys_devices_kset, DevicePrivateData, IdTable, 80 IdTable::new("platform".to_string(), None), in platform_bus_init()
|
D | platform_device.rs | 14 Device, DevicePrivateData, DeviceType, IdTable, 289 fn id_table(&self) -> IdTable { in id_table() argument 290 IdTable::new("platform".to_string(), None) in id_table()
|
/DragonOS-0.1.9/kernel/src/driver/input/serio/i8042/ |
D | i8042_device.rs | 9 device::{bus::Bus, driver::Driver, Device, DeviceState, DeviceType, IdTable}, 69 fn id_table(&self) -> IdTable { in id_table() argument 70 IdTable::new(self.name(), None) in id_table()
|
D | i8042_ports.rs | 11 device::{bus::Bus, driver::Driver, Device, DeviceType, IdTable}, 67 fn id_table(&self) -> IdTable { in id_table() argument 68 IdTable::new(self.name(), None) in id_table()
|
D | i8042_driver.rs | 10 device::{bus::Bus, driver::Driver, Device, IdTable}, 102 fn id_table(&self) -> Option<IdTable> { in id_table() argument 103 Some(IdTable::new(I8042PlatformDevice::NAME.to_string(), None)) in id_table()
|
/DragonOS-0.1.9/kernel/src/driver/base/char/ |
D | mod.rs | 10 Device, IdTable, CHARDEVS, DEVMAP, 206 id_table: IdTable, in cdev_add() argument 228 pub fn cdev_del(id_table: IdTable, range: usize) { in cdev_del() argument
|
/DragonOS-0.1.9/kernel/src/driver/base/ |
D | cpu.rs | 21 Device, DeviceType, IdTable, 152 fn id_table(&self) -> IdTable { in id_table() argument 153 IdTable::new("cpu".to_string(), None) in id_table()
|
/DragonOS-0.1.9/kernel/src/driver/tty/ |
D | tty_device.rs | 18 Device, DeviceKObjType, DeviceType, IdTable, 79 id_table: IdTable, 87 pub fn new(name: &'static str, id_table: IdTable) -> Arc<TtyDevice> { in new() 421 fn id_table(&self) -> crate::driver::base::device::IdTable { in id_table() argument 487 IdTable::new( in tty_init() 495 IdTable::new( in tty_init()
|
D | tty_driver.rs | 332 fn id_table(&self) -> Option<crate::driver::base::device::IdTable> { in id_table() argument
|
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/ |
D | ps_mouse_driver.rs | 13 device::{bus::Bus, driver::Driver, Device, DeviceId, IdTable}, 126 fn id_table(&self) -> Option<IdTable> { in id_table() argument 127 Some(IdTable::new("psmouse".to_string(), None)) in id_table()
|
D | ps_mouse_device.rs | 18 DeviceType, IdTable, 442 fn id_table(&self) -> IdTable { in id_table() argument 443 IdTable::new(self.name().to_string(), None) in id_table()
|
/DragonOS-0.1.9/kernel/src/driver/serial/serial8250/ |
D | mod.rs | 18 DeviceKObjType, DeviceState, DeviceType, IdTable, 228 fn id_table(&self) -> IdTable { in id_table() argument 229 return IdTable::new(self.name.to_string(), None); in id_table() 443 fn id_table(&self) -> Option<IdTable> { in id_table() argument
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/fbcon/ |
D | mod.rs | 12 device::{bus::Bus, device_manager, driver::Driver, Device, DeviceType, IdTable}, 188 fn id_table(&self) -> IdTable { in id_table() argument 189 IdTable::new(Self::NAME.to_string(), None) in id_table()
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/ |
D | fbmem.rs | 20 sys_dev_char_kset, Device, DeviceType, IdTable, 335 fn id_table(&self) -> IdTable { in id_table() argument 336 IdTable::new(Self::BASENAME.to_string(), Some(self.device_number())) in id_table()
|
/DragonOS-0.1.9/kernel/src/driver/tty/virtual_terminal/ |
D | mod.rs | 10 device_register, IdTable, 269 IdTable::new( in vty_init()
|
/DragonOS-0.1.9/kernel/src/driver/net/e1000e/ |
D | e1000e_driver.rs | 6 device::{bus::Bus, driver::Driver, Device, IdTable}, 208 fn id_table(&self) -> Option<IdTable> { in id_table() argument
|
/DragonOS-0.1.9/kernel/src/driver/base/block/ |
D | block_device.rs | 6 Device, DeviceError, IdTable, BLOCKDEVS, 491 pub fn bdev_add(_bdev: Arc<dyn BlockDevice>, id_table: IdTable) -> Result<(), DeviceError> { in bdev_add()
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/ |
D | vesafb.rs | 21 bus::Bus, device_manager, driver::Driver, Device, DeviceState, DeviceType, IdTable, 180 fn id_table(&self) -> IdTable { in id_table() argument 181 IdTable::new(self.name(), None) in id_table() 675 fn id_table(&self) -> Option<IdTable> { in id_table() argument 676 Some(IdTable::new(VesaFb::NAME.to_string(), None)) in id_table()
|
/DragonOS-0.1.9/kernel/src/driver/net/ |
D | virtio_net.rs | 18 device::{bus::Bus, driver::Driver, Device, DeviceId, IdTable}, 277 fn id_table(&self) -> Option<IdTable> { in id_table() argument
|
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/ |
D | ahcidisk.rs | 9 use crate::driver::base::device::{Device, DeviceType, IdTable}; 498 fn id_table(&self) -> IdTable { in id_table() argument
|