Home
last modified time | relevance | path

Searched refs:set_bus (Results 1 – 25 of 37) sorted by relevance

12

/DragonOS/kernel/src/driver/input/serio/
H A Dserio_device.rs66 device.set_bus(Some(Arc::downgrade(&(serio_bus() as Arc<dyn Bus>)))); in init_port()
H A Dserio_driver.rs69 driver.set_bus(Some(Arc::downgrade(&(serio_bus() as Arc<dyn Bus>)))); in register()
H A Dsubsys.rs37 .set_bus(Some(Arc::downgrade(&(bus.clone() as Arc<dyn Bus>)))); in new()
/DragonOS/kernel/src/driver/base/platform/
H A Dplatform_driver.rs45 driver.set_bus(Some(Arc::downgrade(&(platform_bus() as Arc<dyn Bus>)))); in register()
H A Dplatform_device.rs89 pdev.set_bus(Some(Arc::downgrade(&(platform_bus() as Arc<dyn Bus>)))); in device_add()
292 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method
H A Dsubsys.rs38 .set_bus(Some(Arc::downgrade(&(bus.clone() as Arc<dyn Bus>)))); in new()
/DragonOS/kernel/src/driver/virtio/
H A Dsysfs.rs56 .set_bus(Some(Arc::downgrade(&(bus.clone() as Arc<dyn Bus>)))); in new()
173 driver.set_bus(Some(Arc::downgrade(&(virtio_bus() as Arc<dyn Bus>)))); in register()
192 dev.set_bus(Some(Arc::downgrade(&(virtio_bus() as Arc<dyn Bus>)))); in device_add()
/DragonOS/kernel/src/driver/pci/
H A Ddevice.rs51 pci_dev.set_bus(Some(Arc::downgrade(&(pci_bus() as Arc<dyn Bus>)))); in device_add()
197 fn set_bus(&self, bus: Option<alloc::sync::Weak<dyn Bus>>) { in set_bus() method
H A Ddriver.rs76 driver.set_bus(Some(Arc::downgrade(&(pci_bus() as Arc<dyn Bus>)))); in register()
H A Draw_device.rs124 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method
/DragonOS/kernel/src/driver/acpi/
H A Dbus.rs57 .set_bus(Some(Arc::downgrade(&(bus.clone() as Arc<dyn Bus>)))); in new()
/DragonOS/kernel/src/driver/base/
H A Dsubsys.rs100 pub fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method
207 fn set_bus(&self, bus: Option<Weak<dyn Bus>>); in set_bus() method
H A Dcpu.rs73 .set_bus(Some(Arc::downgrade(&(bus.clone() as Arc<dyn Bus>)))); in new()
155 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs106 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method
H A Dpt_device.rs114 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_ports.rs69 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method
H A Di8042_device.rs73 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method
H A Di8042_driver.rs125 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dmod.rs258 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method
497 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method
/DragonOS/kernel/src/driver/rtc/
H A Drtc_cmos.rs140 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method
/DragonOS/kernel/src/driver/net/
H A Dvirtio_net.rs205 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method
457 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method
914 fn set_bus(&self, _bus: Option<Weak<dyn Bus>>) { in set_bus() method
/DragonOS/kernel/src/driver/base/device/
H A Ddriver.rs101 fn set_bus(&self, bus: Option<Weak<dyn Bus>>); in set_bus() method
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs362 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method
600 fn set_bus(&self, _bus: Option<Weak<dyn Bus>>) { in set_bus() method
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_driver.rs150 fn set_bus(&self, bus: Option<alloc::sync::Weak<dyn Bus>>) { in set_bus() method
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs121 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() method

12