Lines Matching refs:dyn
37 .set_bus(Some(Arc::downgrade(&(bus.clone() as Arc<dyn Bus>)))); in new()
52 fn dev_groups(&self) -> &'static [&'static dyn AttributeGroup] { in dev_groups()
60 fn probe(&self, device: &Arc<dyn Device>) -> Result<(), SystemError> { in probe()
62 let pdrv = drv.cast::<dyn SerioDriver>().map_err(|_| { in probe()
70 let pdev = device.clone().cast::<dyn SerioDevice>().map_err(|_| { in probe()
81 fn remove(&self, _device: &Arc<dyn Device>) -> Result<(), SystemError> { in remove()
85 fn sync_state(&self, _device: &Arc<dyn Device>) { in sync_state()
89 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown()
93 fn resume(&self, _device: &Arc<dyn Device>) -> Result<(), SystemError> { in resume()
99 device: &Arc<dyn Device>, in match_device()
100 driver: &Arc<dyn Driver>, in match_device()
113 .cast::<dyn SerioDevice>() in match_device()
134 fn attrs(&self) -> &[&'static dyn Attribute] { in attrs()
138 fn is_visible(&self, _kobj: Arc<dyn KObject>, _attr: &dyn Attribute) -> Option<ModeType> { in is_visible()