Searched refs:serio_bus (Results 1 – 3 of 3) sorted by relevance
17 pub fn serio_bus() -> Arc<SerioBus> { in serio_bus() function26 let serio_bus = SerioBus::new(); in serio_bus_init() localVariable27 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()
6 use super::serio_bus;66 device.set_bus(Some(Arc::downgrade(&(serio_bus() as Arc<dyn Bus>)))); in init_port()
9 use super::{serio_bus, serio_device::SerioDevice};69 driver.set_bus(Some(Arc::downgrade(&(serio_bus() as Arc<dyn Bus>)))); in register()