/DragonOS/kernel/src/driver/base/device/ |
H A D | bus.rs | 266 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 D | driver.rs | 97 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 D | dd.rs | 91 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 D | mod.rs | 48 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 D | subsys.rs | 36 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 D | cpu.rs | 69 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 D | virtio.rs | 43 let bus = pci_bus() as Arc<dyn Bus>; in virtio_probe_pci() localVariable
|
H A D | sysfs.rs | 54 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 D | i8042_driver.rs | 60 bus: Option<Weak<dyn Bus>>, field 129 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
|
H A D | i8042_ports.rs | 65 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
|
H A D | i8042_device.rs | 69 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
|
/DragonOS/kernel/src/driver/acpi/ |
H A D | bus.rs | 53 let bus = Arc::new(Self { in new() localVariable
|
H A D | mod.rs | 23 pub mod bus; module
|
/DragonOS/kernel/src/driver/input/ps2_mouse/ |
H A D | ps_mouse_driver.rs | 122 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 D | subsys.rs | 35 let bus = Arc::new(Self { private }); in new() localVariable
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | subsys.rs | 36 let bus = Arc::new(Self { private }); in new() localVariable
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | mod.rs | 254 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 D | subsys.rs | 68 let bus = Arc::new(Self { private }); in new() localVariable
|
H A D | raw_device.rs | 114 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
|
H A D | device.rs | 200 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
|
/DragonOS/kernel/src/driver/pci/test/ |
H A D | pt_driver.rs | 110 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_device.rs | 59 bus: Option<Weak<dyn Bus>>, field 512 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | rtc_cmos.rs | 144 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 162 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 D | rtc.rs | 163 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() method
|