Home
last modified time | relevance | path

Searched refs:serio_bus (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/driver/input/serio/
H A Dmod.rs17 pub fn serio_bus() -> Arc<SerioBus> { in serio_bus() function
26 let serio_bus = SerioBus::new(); in serio_bus_init() localVariable
27 let r = bus_register(serio_bus.clone() as Arc<dyn Bus>); in serio_bus_init()
28 unsafe { SERIO_BUS = Some(serio_bus) }; in serio_bus_init()
H A Dserio_device.rs6 use super::serio_bus;
66 device.set_bus(Some(Arc::downgrade(&(serio_bus() as Arc<dyn Bus>)))); in init_port()
H A Dserio_driver.rs9 use super::{serio_bus, serio_device::SerioDevice};
69 driver.set_bus(Some(Arc::downgrade(&(serio_bus() as Arc<dyn Bus>)))); in register()