Lines Matching refs:Device
18 Device,
80 fn probe(&self, device: &Arc<dyn Device>) -> Result<(), SystemError> { in probe()
101 fn remove(&self, _device: &Arc<dyn Device>) -> Result<(), SystemError> { in remove()
105 fn sync_state(&self, _device: &Arc<dyn Device>) { in sync_state() argument
109 fn shutdown(&self, _device: &Arc<dyn Device>) { in shutdown() argument
113 fn resume(&self, _device: &Arc<dyn Device>) -> Result<(), SystemError> { in resume()
120 _device: &Arc<dyn Device>, in match_device() argument
193 device_manager().device_default_initialize(&(dev.clone() as Arc<dyn Device>)); in device_add()
199 device_manager().add_device(dev.clone() as Arc<dyn Device>)?; in device_add()
201 .add_groups(&(dev.clone() as Arc<dyn Device>), &[&VirtIODeviceAttrGroup]); in device_add()
245 device_manager().remove(&(dev.clone() as Arc<dyn Device>)); in device_remove()