Lines Matching refs:Bus
104 pub trait Bus: Debug + Send + Sync { trait
180 impl dyn Bus { implementation
242 kset_bus_map: RwLock<HashMap<Arc<KSet>, Arc<dyn Bus>>>,
361 pub fn register(&self, bus: Arc<dyn Bus>) -> Result<(), SystemError> { in register()
385 pub fn unregister(&self, _bus: Arc<dyn Bus>) -> Result<(), SystemError> { in unregister()
389 fn add_probe_files(&self, bus: &Arc<dyn Bus>) -> Result<(), SystemError> { in add_probe_files()
400 fn remove_probe_files(&self, bus: &Arc<dyn Bus>) { in remove_probe_files() argument
407 bus: &Arc<dyn Bus>, in create_file() argument
414 fn remove_file(&self, bus: &Arc<dyn Bus>, attr: &'static dyn Attribute) { in remove_file() argument
422 bus: &Arc<dyn Bus>, in add_groups() argument
430 fn get_bus_by_kset(&self, kset: &Arc<KSet>) -> Option<Arc<dyn Bus>> { in get_bus_by_kset() argument
442 pub fn rescan_devices(&self, bus: &Arc<dyn Bus>) -> Result<(), SystemError> { in rescan_devices()
520 pub fn bus_register(bus: Arc<dyn Bus>) -> Result<(), SystemError> { in bus_register()
528 pub fn bus_unregister(bus: Arc<dyn Bus>) -> Result<(), SystemError> { in bus_unregister()
850 subsys: &Arc<dyn Bus>, in subsys_register() argument
875 subsys: &Arc<dyn Bus>, in subsys_system_register() argument