Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/input/serio/
H A Dserio_device.rs67 device_manager().add_device(device.clone() as Arc<dyn Device>)?; in init_port()
/DragonOS/kernel/src/driver/base/platform/
H A Dmod.rs65 pub fn add_device(&mut self, devices: Vec<&'static str>) { in add_device() method
H A Dplatform_device.rs111 let r = device_manager().add_device(pdev.clone() as Arc<dyn Device>); in device_add()
/DragonOS/kernel/src/driver/rtc/
H A Dclass.rs85 device_manager().add_device(dev.clone())?; in rtc_register_device()
H A Drtc_cmos.rs132 fn add_device(&self, device: Arc<dyn Device>) { in add_device() method
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs91 fn add_device(&self, device: Arc<dyn Device>) { in add_device() method
/DragonOS/kernel/src/driver/base/char/
H A Dmod.rs212 device_manager().add_device(cdev.clone())?; in cdev_add()
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_driver.rs110 fn add_device(&self, device: Arc<dyn Device>) { in add_device() method
/DragonOS/kernel/src/driver/base/device/
H A Dbus.rs265 pub fn add_device(&self, dev: &Arc<dyn Device>) -> Result<(), SystemError> { in add_device() method
463 interface.add_device(dev).ok(); in probe_device()
576 return bus_manager().add_device(dev); in bus_add_device()
H A Dmod.rs484 return self.add_device(device); in register()
497 pub fn add_device(&self, device: Arc<dyn Device>) -> Result<(), SystemError> { in add_device() method
558 class_interface.add_device(&device).ok(); in add_device()
H A Ddriver.rs69 fn add_device(&self, device: Arc<dyn Device>); in add_device() method
H A Ddd.rs563 driver.add_device(device.clone()); in driver_bound()
/DragonOS/kernel/src/driver/pci/
H A Ddevice.rs56 let r = device_manager().add_device(pci_dev.clone() as Arc<dyn Device>); in device_add()
/DragonOS/kernel/src/driver/base/
H A Dsubsys.rs208 fn add_device(&self, _device: &Arc<dyn Device>) -> Result<(), SystemError> { in add_device() method
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_driver.rs135 fn add_device(&self, device: Arc<dyn Device>) { in add_device() method
/DragonOS/kernel/src/driver/virtio/
H A Dsysfs.rs199 device_manager().add_device(dev.clone() as Arc<dyn Device>)?; in device_add()
/DragonOS/kernel/src/driver/net/
H A Dsysfs.rs36 device_manager().add_device(dev.clone() as Arc<dyn Device>)?; in netdev_register_kobject()
H A Dvirtio_net.rs882 fn add_device(&self, device: Arc<dyn Device>) { in add_device() method
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dfbmem.rs153 device_manager().add_device(fb_device.clone() as Arc<dyn Device>)?; in register_fb()
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dmod.rs483 fn add_device(&self, device: Arc<dyn Device>) { in add_device() method
/DragonOS/kernel/src/driver/tty/
H A Dtty_driver.rs446 fn add_device(&self, _device: alloc::sync::Arc<dyn crate::driver::base::device::Device>) { in add_device() method
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs563 fn add_device(&self, device: Arc<dyn Device>) { in add_device() method
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs777 fn add_device(&self, device: Arc<dyn Device>) { in add_device() method