/DragonOS/kernel/src/driver/base/ |
H A D | subsys.rs | 68 bus: Option<Weak<dyn Bus>>, in new() 96 pub fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 100 pub fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() 206 fn bus(&self) -> Option<Weak<dyn Bus>>; in bus() 207 fn set_bus(&self, bus: Option<Weak<dyn Bus>>); in set_bus()
|
H A D | cpu.rs | 155 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() 159 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | bus.rs | 104 pub trait Bus: Debug + Send + Sync { interface 180 impl dyn Bus { implementation 400 fn remove_probe_files(&self, bus: &Arc<dyn Bus>) { in remove_probe_files() 407 bus: &Arc<dyn Bus>, in create_file() 414 fn remove_file(&self, bus: &Arc<dyn Bus>, attr: &'static dyn Attribute) { in remove_file() 422 bus: &Arc<dyn Bus>, in add_groups() 430 fn get_bus_by_kset(&self, kset: &Arc<KSet>) -> Option<Arc<dyn Bus>> { in get_bus_by_kset() 850 subsys: &Arc<dyn Bus>, in subsys_register() 875 subsys: &Arc<dyn Bus>, in subsys_system_register()
|
H A D | driver.rs | 97 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 101 fn set_bus(&self, bus: Option<Weak<dyn Bus>>); in set_bus()
|
H A D | mod.rs | 158 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 167 fn set_bus(&self, bus: Option<Weak<dyn Bus>>); in set_bus() 245 pub fn get_bus_weak_or_clear(&mut self) -> Option<Weak<dyn Bus>> { in get_bus_weak_or_clear() 302 Bus, enumerator
|
/DragonOS/kernel/src/driver/pci/test/ |
H A D | pt_driver.rs | 106 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() 110 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
|
H A D | pt_device.rs | 106 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 140 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | i8042_driver.rs | 125 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() 129 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
|
H A D | i8042_ports.rs | 65 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 69 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
|
H A D | i8042_device.rs | 69 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 73 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | rtc_cmos.rs | 140 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() 144 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
|
H A D | sysfs.rs | 129 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() 133 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | mod.rs | 254 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 258 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() 493 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 497 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
|
/DragonOS/kernel/src/driver/pci/ |
H A D | raw_device.rs | 114 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 148 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
|
H A D | device.rs | 200 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 204 fn set_bus(&self, bus: Option<alloc::sync::Weak<dyn Bus>>) { in set_bus()
|
/DragonOS/kernel/src/driver/input/ps2_mouse/ |
H A D | ps_mouse_driver.rs | 150 fn set_bus(&self, bus: Option<alloc::sync::Weak<dyn Bus>>) { in set_bus() 154 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | rtc.rs | 121 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() 163 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
|
/DragonOS/kernel/src/driver/net/ |
H A D | virtio_net.rs | 201 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 205 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() 453 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 457 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() 916 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 920 fn set_bus(&self, _bus: Option<Weak<dyn Bus>>) { in set_bus()
|
H A D | loopback.rs | 390 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 394 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
|
/DragonOS/kernel/src/driver/block/ |
H A D | virtio_blk.rs | 359 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 363 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() 597 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 601 fn set_bus(&self, _bus: Option<Weak<dyn Bus>>) { in set_bus()
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | platform_device.rs | 288 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 292 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | ahcidisk.rs | 477 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 481 fn set_bus(&self, _bus: Option<Weak<dyn Bus>>) { in set_bus()
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 162 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 166 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() 792 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus() 796 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
|
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e_driver.rs | 245 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 249 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_device.rs | 512 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus() 516 fn set_bus(&self, bus: Option<alloc::sync::Weak<dyn crate::driver::base::device::bus::Bus>>) { in set_bus()
|