Lines Matching defs:Device
135 pub trait Device: KObject { interface
205 fn dev_parent(&self) -> Option<Weak<dyn Device>>; in dev_parent()
207 fn set_dev_parent(&self, parent: Option<Weak<dyn Device>>); in set_dev_parent()
210 impl dyn Device { implementation
266 pub fn get_parent_weak_or_clear(&mut self) -> Option<Weak<dyn Device>> { in get_parent_weak_or_clear()
610 device: &Arc<dyn Device>, in get_device_parent()
611 device_parent: Option<Arc<dyn Device>>, in get_device_parent()
663 pub fn remove(&self, _dev: &Arc<dyn Device>) { in remove()
672 pub fn find_device_by_idtable(&self, _id_table: &IdTable) -> Option<Arc<dyn Device>> { in find_device_by_idtable()
676 fn device_platform_notify(&self, dev: &Arc<dyn Device>) { in device_platform_notify()
777 dev: &Arc<dyn Device>, in add_groups()
792 dev: &Arc<dyn Device>, in remove_groups()
807 dev: &Arc<dyn Device>, in create_file()
844 fn remove_sys_dev_entry(&self, dev: &Arc<dyn Device>) { in remove_sys_dev_entry()
864 pub fn device_links_force_bind(&self, _dev: &Arc<dyn Device>) { in device_links_force_bind()
871 pub fn device_default_initialize(&self, dev: &Arc<dyn Device>) { in device_default_initialize()
881 _dev: &Arc<dyn Device>, in device_driver_attach()
887 pub fn device_driver_detach(&self, _dev: &Arc<dyn Device>) { in device_driver_detach()
961 fn match_device(&self, device: &Arc<dyn Device>, data: T) -> bool; in match_device()
970 fn match_device(&self, device: &Arc<dyn Device>, data: &str) -> bool { in match_device()