Home
last modified time | relevance | path

Searched defs:Bus (Results 1 – 25 of 29) sorted by relevance

12

/DragonOS/kernel/src/driver/base/
H A Dsubsys.rs68 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 Dcpu.rs155 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 Dbus.rs104 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 Ddriver.rs97 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
101 fn set_bus(&self, bus: Option<Weak<dyn Bus>>); in set_bus()
H A Dmod.rs158 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 Dpt_driver.rs106 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
110 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
H A Dpt_device.rs106 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 Di8042_driver.rs125 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
129 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
H A Di8042_ports.rs65 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
69 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
H A Di8042_device.rs69 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 Drtc_cmos.rs140 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
144 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
H A Dsysfs.rs129 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 Dmod.rs254 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 Draw_device.rs114 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
148 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
H A Ddevice.rs200 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 Dps_mouse_driver.rs150 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 Drtc.rs121 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 Dvirtio_net.rs201 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 Dloopback.rs390 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 Dvirtio_blk.rs359 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 Dplatform_device.rs288 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 Dahcidisk.rs477 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 Dvesafb.rs162 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 De1000e_driver.rs245 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 Dtty_device.rs512 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()

12