Home
last modified time | relevance | path

Searched defs:bus (Results 1 – 25 of 36) sorted by relevance

12

/DragonOS/kernel/src/driver/base/device/
H A Dbus.rs266 let bus = dev.bus().and_then(|bus| bus.upgrade()); in add_device() localVariable
296 let bus = driver in add_driver() localVariable
453 let bus = dev.bus().and_then(|bus| bus.upgrade()); in probe_device() localVariable
457 let bus = bus.unwrap(); in probe_device() localVariable
612 let bus = bus_manager() in store() localVariable
654 let bus = bus_manager() in store() localVariable
670 let bus = bus_manager() in show() localVariable
762 let bus = driver in store() localVariable
811 let bus = driver in store() localVariable
H A Ddriver.rs97 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
120 pub bus: Option<Weak<dyn Bus>>, field
196 let bus = driver.bus().and_then(|bus| bus.upgrade()).ok_or_else(|| { in register() localVariable
H A Ddd.rs91 let bus = dev in do_device_attach() localVariable
289 let bus = driver in driver_attach() localVariable
512 let bus = device in call_driver_probe() localVariable
H A Dmod.rs48 pub mod bus; module
158 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
220 pub bus: Option<Weak<dyn Bus>>, field
/DragonOS/kernel/src/driver/base/
H A Dsubsys.rs36 bus: SpinLock<Option<Weak<dyn Bus>>>, field
96 pub fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
206 fn bus(&self) -> Option<Weak<dyn Bus>>; in bus() method
H A Dcpu.rs69 let bus = Arc::new(Self { in new() localVariable
159 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
/DragonOS/kernel/src/driver/virtio/
H A Dvirtio.rs43 let bus = pci_bus() as Arc<dyn Bus>; in virtio_probe_pci() localVariable
H A Dsysfs.rs54 let bus = Arc::new(Self { private }); in new() localVariable
154 let bus = VirtIOBus::new(); in virtio_init() localVariable
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_driver.rs60 bus: Option<Weak<dyn Bus>>, field
129 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
H A Di8042_ports.rs65 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
H A Di8042_device.rs69 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
/DragonOS/kernel/src/driver/acpi/
H A Dbus.rs53 let bus = Arc::new(Self { in new() localVariable
H A Dmod.rs23 pub mod bus; module
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_driver.rs122 bus: Option<Weak<dyn Bus>>, field
154 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
/DragonOS/kernel/src/driver/input/serio/
H A Dsubsys.rs35 let bus = Arc::new(Self { private }); in new() localVariable
/DragonOS/kernel/src/driver/base/platform/
H A Dsubsys.rs36 let bus = Arc::new(Self { private }); in new() localVariable
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dmod.rs254 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
387 bus: Option<Weak<dyn Bus>>, field
493 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
/DragonOS/kernel/src/driver/pci/
H A Dsubsys.rs68 let bus = Arc::new(Self { private }); in new() localVariable
H A Draw_device.rs114 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
H A Ddevice.rs200 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs110 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs59 bus: Option<Weak<dyn Bus>>, field
512 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
/DragonOS/kernel/src/driver/rtc/
H A Drtc_cmos.rs144 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs162 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
727 bus: Option<Weak<dyn Bus>>, field
796 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs163 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method

12